From: Philipp Zabel
Date: Tue, 9 Apr 2013 17:18:47 +0000 (+0200)
Subject: ARM i.MX53: dts: add i2c aliases
X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c60dc1d1bf1cbed9f5e62a17db8c46631a5521e4;p=linux-beck.git
ARM i.MX53: dts: add i2c aliases
This allows to order the i2c character devices correctly,
so that /dev/i2c-0 corresponds to i2c1, /dev/i2c-1 corresponds
to i2c2, and so on. Currently they are ordered by register
address.
Signed-off-by: Philipp Zabel
Signed-off-by: Shawn Guo
---
diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
index 3aa08f0fda17..db2519eb7d33 100644
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -27,6 +27,9 @@
gpio4 = &gpio5;
gpio5 = &gpio6;
gpio6 = &gpio7;
+ i2c0 = &i2c1;
+ i2c1 = &i2c2;
+ i2c2 = &i2c3;
};
tzic: tz-interrupt-controller@0fffc000 {