diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-04-23 20:34:25 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-05-17 05:27:49 -0400 |
commit | 92f8629b60cace02e3e294f92672c790695d0cca (patch) | |
tree | 039e52293baa9a1842467425ea1a0f887334333d /arch/arm/boot/dts/at91rm9200.dtsi | |
parent | 6db64d2978665c9bd70d1054923e00b59a823cc9 (diff) |
ARM: at91: dt: switch to standard GPIO flag defines.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91rm9200.dtsi')
-rw-r--r-- | arch/arm/boot/dts/at91rm9200.dtsi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/at91rm9200.dtsi b/arch/arm/boot/dts/at91rm9200.dtsi index 6329679c6920..7ebfe6c6c360 100644 --- a/arch/arm/boot/dts/at91rm9200.dtsi +++ b/arch/arm/boot/dts/at91rm9200.dtsi | |||
@@ -11,6 +11,7 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include "skeleton.dtsi" | 13 | #include "skeleton.dtsi" |
14 | #include <dt-bindings/gpio/gpio.h> | ||
14 | 15 | ||
15 | / { | 16 | / { |
16 | model = "Atmel AT91RM9200 family SoC"; | 17 | model = "Atmel AT91RM9200 family SoC"; |
@@ -503,9 +504,9 @@ | |||
503 | pinctrl-names = "default"; | 504 | pinctrl-names = "default"; |
504 | pinctrl-0 = <&pinctrl_nand>; | 505 | pinctrl-0 = <&pinctrl_nand>; |
505 | nand-ecc-mode = "soft"; | 506 | nand-ecc-mode = "soft"; |
506 | gpios = <&pioC 2 0 | 507 | gpios = <&pioC 2 GPIO_ACTIVE_HIGH |
507 | 0 | 508 | 0 |
508 | &pioB 1 0 | 509 | &pioB 1 GPIO_ACTIVE_HIGH |
509 | >; | 510 | >; |
510 | status = "disabled"; | 511 | status = "disabled"; |
511 | }; | 512 | }; |
@@ -520,8 +521,8 @@ | |||
520 | 521 | ||
521 | i2c@0 { | 522 | i2c@0 { |
522 | compatible = "i2c-gpio"; | 523 | compatible = "i2c-gpio"; |
523 | gpios = <&pioA 25 0 /* sda */ | 524 | gpios = <&pioA 25 GPIO_ACTIVE_HIGH /* sda */ |
524 | &pioA 26 0 /* scl */ | 525 | &pioA 26 GPIO_ACTIVE_HIGH /* scl */ |
525 | >; | 526 | >; |
526 | i2c-gpio,sda-open-drain; | 527 | i2c-gpio,sda-open-drain; |
527 | i2c-gpio,scl-open-drain; | 528 | i2c-gpio,scl-open-drain; |