diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2013-08-22 10:19:29 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-09-17 14:38:53 -0400 |
commit | 238493e34d3f6aea8531d3c0ee0583c4c929e12f (patch) | |
tree | f4bd0a191cfe477a717451dea9aef03274ea742a /arch/arm/boot | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) |
ARM: dts: mvebu: Update with the new compatible string for mv64xxx-i2c
The mv64xxx-i2c embedded in the Armada XP have a new feature to
offload i2c transaction. This new version of the IP come also with
some errata. This lead to the introduction to a another compatible
string.
This commit split the i2c information into armada-370.dtsi and
armada-xp.dtsi. Most of the data remains the same and stay in the
common file Armada-370-xp.dtsi. With this new feature the size of the
registers are bigger for Armada XP and the new compatible string is
used.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/armada-370-xp.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-370.dtsi | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-xp.dtsi | 10 |
3 files changed, 18 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi index 1de2dae0fdae..57dbc5dbc360 100644 --- a/arch/arm/boot/dts/armada-370-xp.dtsi +++ b/arch/arm/boot/dts/armada-370-xp.dtsi | |||
@@ -176,7 +176,6 @@ | |||
176 | 176 | ||
177 | i2c0: i2c@11000 { | 177 | i2c0: i2c@11000 { |
178 | compatible = "marvell,mv64xxx-i2c"; | 178 | compatible = "marvell,mv64xxx-i2c"; |
179 | reg = <0x11000 0x20>; | ||
180 | #address-cells = <1>; | 179 | #address-cells = <1>; |
181 | #size-cells = <0>; | 180 | #size-cells = <0>; |
182 | interrupts = <31>; | 181 | interrupts = <31>; |
@@ -187,7 +186,6 @@ | |||
187 | 186 | ||
188 | i2c1: i2c@11100 { | 187 | i2c1: i2c@11100 { |
189 | compatible = "marvell,mv64xxx-i2c"; | 188 | compatible = "marvell,mv64xxx-i2c"; |
190 | reg = <0x11100 0x20>; | ||
191 | #address-cells = <1>; | 189 | #address-cells = <1>; |
192 | #size-cells = <0>; | 190 | #size-cells = <0>; |
193 | interrupts = <32>; | 191 | interrupts = <32>; |
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi index e134d7a90c9a..b8d376170959 100644 --- a/arch/arm/boot/dts/armada-370.dtsi +++ b/arch/arm/boot/dts/armada-370.dtsi | |||
@@ -218,6 +218,14 @@ | |||
218 | }; | 218 | }; |
219 | }; | 219 | }; |
220 | 220 | ||
221 | i2c0: i2c@11000 { | ||
222 | reg = <0x11000 0x20>; | ||
223 | }; | ||
224 | |||
225 | i2c1: i2c@11100 { | ||
226 | reg = <0x11100 0x20>; | ||
227 | }; | ||
228 | |||
221 | usb@50000 { | 229 | usb@50000 { |
222 | clocks = <&coreclk 0>; | 230 | clocks = <&coreclk 0>; |
223 | }; | 231 | }; |
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi index def125c0eeaa..84fcd861b6e7 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi | |||
@@ -145,6 +145,16 @@ | |||
145 | }; | 145 | }; |
146 | }; | 146 | }; |
147 | 147 | ||
148 | i2c0: i2c@11000 { | ||
149 | compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; | ||
150 | reg = <0x11000 0x100>; | ||
151 | }; | ||
152 | |||
153 | i2c1: i2c@11100 { | ||
154 | compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; | ||
155 | reg = <0x11100 0x100>; | ||
156 | }; | ||
157 | |||
148 | usb@50000 { | 158 | usb@50000 { |
149 | clocks = <&gateclk 18>; | 159 | clocks = <&gateclk 18>; |
150 | }; | 160 | }; |