diff options
author | voice <voice.shen@atmel.com> | 2013-07-10 23:30:44 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-08-21 05:28:13 -0400 |
commit | 1f84d27b803ab068eb7bc85a031de1680528d11e (patch) | |
tree | 94c24592f3a11e7cea1227a8d6d29750a1e6f15b /arch/arm/boot/dts/at91sam9n12.dtsi | |
parent | d9da9778201bd10be8104a8ccedd6b5d62565ced (diff) |
ARM: at91: at91sam9n12: add pinctrl of TWI
Add pinctrl of TWI for at91sam9n12 SoC.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
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 bb7f564b3a55..9fb7ffd32af2 100644 --- a/arch/arm/boot/dts/at91sam9n12.dtsi +++ b/arch/arm/boot/dts/at91sam9n12.dtsi | |||
@@ -291,6 +291,22 @@ | |||
291 | }; | 291 | }; |
292 | }; | 292 | }; |
293 | 293 | ||
294 | i2c0 { | ||
295 | pinctrl_i2c0: i2c0-0 { | ||
296 | atmel,pins = | ||
297 | <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE | ||
298 | AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; | ||
299 | }; | ||
300 | }; | ||
301 | |||
302 | i2c1 { | ||
303 | pinctrl_i2c1: i2c1-0 { | ||
304 | atmel,pins = | ||
305 | <AT91_PIOC 0 AT91_PERIPH_C AT91_PINCTRL_NONE | ||
306 | AT91_PIOC 1 AT91_PERIPH_C AT91_PINCTRL_NONE>; | ||
307 | }; | ||
308 | }; | ||
309 | |||
294 | tcb0 { | 310 | tcb0 { |
295 | pinctrl_tcb0_tclk0: tcb0_tclk0-0 { | 311 | pinctrl_tcb0_tclk0: tcb0_tclk0-0 { |
296 | atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; | 312 | atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
@@ -471,6 +487,8 @@ | |||
471 | dma-names = "tx", "rx"; | 487 | dma-names = "tx", "rx"; |
472 | #address-cells = <1>; | 488 | #address-cells = <1>; |
473 | #size-cells = <0>; | 489 | #size-cells = <0>; |
490 | pinctrl-names = "default"; | ||
491 | pinctrl-0 = <&pinctrl_i2c0>; | ||
474 | status = "disabled"; | 492 | status = "disabled"; |
475 | }; | 493 | }; |
476 | 494 | ||
@@ -483,6 +501,8 @@ | |||
483 | dma-names = "tx", "rx"; | 501 | dma-names = "tx", "rx"; |
484 | #address-cells = <1>; | 502 | #address-cells = <1>; |
485 | #size-cells = <0>; | 503 | #size-cells = <0>; |
504 | pinctrl-names = "default"; | ||
505 | pinctrl-0 = <&pinctrl_i2c1>; | ||
486 | status = "disabled"; | 506 | status = "disabled"; |
487 | }; | 507 | }; |
488 | 508 | ||