aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9g45.dtsi
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-04-23 20:34:25 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-05-17 05:27:49 -0400
commit92f8629b60cace02e3e294f92672c790695d0cca (patch)
tree039e52293baa9a1842467425ea1a0f887334333d /arch/arm/boot/dts/at91sam9g45.dtsi
parent6db64d2978665c9bd70d1054923e00b59a823cc9 (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/at91sam9g45.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9g45.dtsi9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
index 18ea7610afee..5d7c1f79dc4a 100644
--- a/arch/arm/boot/dts/at91sam9g45.dtsi
+++ b/arch/arm/boot/dts/at91sam9g45.dtsi
@@ -10,6 +10,7 @@
10 */ 10 */
11 11
12#include "skeleton.dtsi" 12#include "skeleton.dtsi"
13#include <dt-bindings/gpio/gpio.h>
13 14
14/ { 15/ {
15 model = "Atmel AT91SAM9G45 family SoC"; 16 model = "Atmel AT91SAM9G45 family SoC";
@@ -592,8 +593,8 @@
592 atmel,nand-cmd-offset = <22>; 593 atmel,nand-cmd-offset = <22>;
593 pinctrl-names = "default"; 594 pinctrl-names = "default";
594 pinctrl-0 = <&pinctrl_nand>; 595 pinctrl-0 = <&pinctrl_nand>;
595 gpios = <&pioC 8 0 596 gpios = <&pioC 8 GPIO_ACTIVE_HIGH
596 &pioC 14 0 597 &pioC 14 GPIO_ACTIVE_HIGH
597 0 598 0
598 >; 599 >;
599 status = "disabled"; 600 status = "disabled";
@@ -616,8 +617,8 @@
616 617
617 i2c@0 { 618 i2c@0 {
618 compatible = "i2c-gpio"; 619 compatible = "i2c-gpio";
619 gpios = <&pioA 20 0 /* sda */ 620 gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
620 &pioA 21 0 /* scl */ 621 &pioA 21 GPIO_ACTIVE_HIGH /* scl */
621 >; 622 >;
622 i2c-gpio,sda-open-drain; 623 i2c-gpio,sda-open-drain;
623 i2c-gpio,scl-open-drain; 624 i2c-gpio,scl-open-drain;