aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2012-10-30 06:41:23 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-21 17:17:34 -0500
commit539eb5bca02ff0b93e17f110ffec18c5b5e744ee (patch)
treebe5ae529a2126058d7da3a99837a393b6f9c14a6
parent74f980beaa660614c707675ce6a11e70db3d49b6 (diff)
ARM: mvebu: Add support for I2C controllers in Armada 370/XP
The Armada 370 and Armada XP have the same I2C controllers as previous Marvell SoCs, so the existing mv64xxx-i2c driver works fine. [Thomas Petazzoni: updated on top of other Armada 370/XP changes, rephrased the commit log]. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/armada-370-xp.dtsi22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index 4ff10815127..70c35f8ccf9 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -101,6 +101,28 @@
101 clocks = <&gateclk 3>; 101 clocks = <&gateclk 3>;
102 status = "disabled"; 102 status = "disabled";
103 }; 103 };
104
105 i2c0: i2c@d0011000 {
106 compatible = "marvell,mv64xxx-i2c";
107 reg = <0xd0011000 0x20>;
108 #address-cells = <1>;
109 #size-cells = <0>;
110 interrupts = <31>;
111 timeout-ms = <1000>;
112 clocks = <&coreclk 0>;
113 status = "disabled";
114 };
115
116 i2c1: i2c@d0011100 {
117 compatible = "marvell,mv64xxx-i2c";
118 reg = <0xd0011100 0x20>;
119 #address-cells = <1>;
120 #size-cells = <0>;
121 interrupts = <32>;
122 timeout-ms = <1000>;
123 clocks = <&coreclk 0>;
124 status = "disabled";
125 };
104 }; 126 };
105}; 127};
106 128