diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-05-26 04:55:59 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-05-31 10:52:35 -0400 |
commit | f89ae61bd74ae195c464bdd97a134e30908884d5 (patch) | |
tree | a76f5b4d1c5390e7a42038b27efea3ad3f28dc0b | |
parent | 004a3122cbff5bb214f18ee42d95961e6d9f44c3 (diff) |
ARM: at91: dt: sam9260: add i2c gpio pinctrl
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r-- | arch/arm/boot/dts/at91sam9260.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi index a776f50f1243..de571d9d9f5b 100644 --- a/arch/arm/boot/dts/at91sam9260.dtsi +++ b/arch/arm/boot/dts/at91sam9260.dtsi | |||
@@ -347,6 +347,14 @@ | |||
347 | }; | 347 | }; |
348 | }; | 348 | }; |
349 | 349 | ||
350 | i2c_gpio0 { | ||
351 | pinctrl_i2c_gpio0: i2c_gpio0-0 { | ||
352 | atmel,pins = | ||
353 | <AT91_PIOA 23 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE | ||
354 | AT91_PIOA 24 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; | ||
355 | }; | ||
356 | }; | ||
357 | |||
350 | pioA: gpio@fffff400 { | 358 | pioA: gpio@fffff400 { |
351 | compatible = "atmel,at91rm9200-gpio"; | 359 | compatible = "atmel,at91rm9200-gpio"; |
352 | reg = <0xfffff400 0x200>; | 360 | reg = <0xfffff400 0x200>; |
@@ -599,6 +607,8 @@ | |||
599 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ | 607 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
600 | #address-cells = <1>; | 608 | #address-cells = <1>; |
601 | #size-cells = <0>; | 609 | #size-cells = <0>; |
610 | pinctrl-names = "default"; | ||
611 | pinctrl-0 = <&pinctrl_i2c_gpio0>; | ||
602 | status = "disabled"; | 612 | status = "disabled"; |
603 | }; | 613 | }; |
604 | }; | 614 | }; |