[PATCH 2/2] arm/dts: Add i2c aliases for OMAP3 and OMAP4/AM33xx
Florian Vaussard
florian.vaussard at epfl.ch
Fri Aug 31 03:52:55 EDT 2012
I2C aliases need to be set, for the omap-i2c driver to get a correct adapter id.
Signed-off-by: Florian Vaussard <florian.vaussard at epfl.ch>
---
arch/arm/boot/dts/am33xx.dtsi | 3 +++
arch/arm/boot/dts/omap3.dtsi | 3 +++
arch/arm/boot/dts/omap4.dtsi | 4 ++++
3 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 59509c4..ff2d879 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -20,6 +20,9 @@
serial3 = &uart4;
serial4 = &uart5;
serial5 = &uart6;
+ i2c0 = &i2c1;
+ i2c1 = &i2c2;
+ i2c2 = &i2c3;
};
cpus {
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index 8109471..a7d2f83 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -18,6 +18,9 @@
serial1 = &uart2;
serial2 = &uart3;
serial3 = &uart4;
+ i2c0 = &i2c1;
+ i2c1 = &i2c2;
+ i2c2 = &i2c3;
};
cpus {
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index 04cbbcb..496c7ce 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -25,6 +25,10 @@
serial1 = &uart2;
serial2 = &uart3;
serial3 = &uart4;
+ i2c0 = &i2c1;
+ i2c1 = &i2c2;
+ i2c2 = &i2c3;
+ i2c3 = &i2c4;
};
cpus {
--
1.7.5.4
More information about the linux-arm-kernel
mailing list