diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2012-09-12 02:42:16 -0400 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-09-12 08:49:16 -0400 |
commit | 05dcd361a2785c3fcb9c43a621da4434cf1519b4 (patch) | |
tree | 834effd6c5b8c6274f3065b057a48d6055622a83 /arch/arm/boot/dts/at91sam9n12.dtsi | |
parent | f7d19b9065569268dd13307213c40d168fb0be82 (diff) |
ARM: dts: add twi nodes for atmel SoCs
Add TWI nodes for atmel SoCs but keep i2c-gpio ones in order to let the
choice to the user in dts files.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9n12.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91sam9n12.dtsi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index bfac0dfc332c..42e9fba44237 100644 --- a/arch/arm/boot/dts/at91sam9n12.dtsi +++ b/arch/arm/boot/dts/at91sam9n12.dtsi | |||
@@ -26,6 +26,8 @@ | |||
26 | gpio3 = &pioD; | 26 | gpio3 = &pioD; |
27 | tcb0 = &tcb0; | 27 | tcb0 = &tcb0; |
28 | tcb1 = &tcb1; | 28 | tcb1 = &tcb1; |
29 | i2c0 = &i2c0; | ||
30 | i2c1 = &i2c1; | ||
29 | }; | 31 | }; |
30 | cpus { | 32 | cpus { |
31 | cpu@0 { | 33 | cpu@0 { |
@@ -178,6 +180,24 @@ | |||
178 | atmel,use-dma-tx; | 180 | atmel,use-dma-tx; |
179 | status = "disabled"; | 181 | status = "disabled"; |
180 | }; | 182 | }; |
183 | |||
184 | i2c0: i2c@f8010000 { | ||
185 | compatible = "atmel,at91sam9x5-i2c"; | ||
186 | reg = <0xf8010000 0x100>; | ||
187 | interrupts = <9 4 6>; | ||
188 | #address-cells = <1>; | ||
189 | #size-cells = <0>; | ||
190 | status = "disabled"; | ||
191 | }; | ||
192 | |||
193 | i2c1: i2c@f8014000 { | ||
194 | compatible = "atmel,at91sam9x5-i2c"; | ||
195 | reg = <0xf8014000 0x100>; | ||
196 | interrupts = <10 4 6>; | ||
197 | #address-cells = <1>; | ||
198 | #size-cells = <0>; | ||
199 | status = "disabled"; | ||
200 | }; | ||
181 | }; | 201 | }; |
182 | 202 | ||
183 | nand0: nand@40000000 { | 203 | nand0: nand@40000000 { |