From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756076AbdJJKNm (ORCPT ); Tue, 10 Oct 2017 06:13:42 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:40426 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755744AbdJJKK4 (ORCPT ); Tue, 10 Oct 2017 06:10:56 -0400 X-IronPort-AV: E=Sophos;i="5.42,504,1500966000"; d="scan'208";a="7796430" From: Claudiu Beznea To: , , , , CC: , , , Ludovic Desroches , Claudiu Beznea Subject: [PATCH v2 05/14] ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c Date: Tue, 10 Oct 2017 13:09:40 +0300 Message-ID: <1507630189-15504-6-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507630189-15504-1-git-send-email-claudiu.beznea@microchip.com> References: <1507630189-15504-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 From: Ludovic Desroches 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