From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754974AbdJIQKC (ORCPT ); Mon, 9 Oct 2017 12:10:02 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:21180 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754672AbdJIQJ4 (ORCPT ); Mon, 9 Oct 2017 12:09:56 -0400 X-IronPort-AV: E=Sophos;i="5.42,500,1500966000"; d="scan'208";a="7771958" From: Claudiu Beznea To: , , , , CC: , , , Claudiu Beznea , Ludovic Desroches Subject: [PATCH 05/15] ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c Date: Mon, 9 Oct 2017 19:09:27 +0300 Message-ID: <1507565377-1545-6-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507565377-1545-1-git-send-email-claudiu.beznea@microchip.com> References: <1507565377-1545-1-git-send-email-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add aliases for i2c devices to not rely on probe order for i2c device numbering. Signed-off-by: Ludovic Desroches [claudiu.beznea@microchip.com: remove i2c0, change subject] Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts index ac79730213f1..6c4c976a99d1 100644 --- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts +++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts @@ -57,6 +57,8 @@ serial0 = &uart1; /* DBGU */ serial1 = &uart4; /* mikro BUS 1 */ serial2 = &uart2; /* mikro BUS 2 */ + i2c1 = &i2c1; + i2c2 = &i2c2; }; chosen { -- 2.7.4