]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/at91sam9g45.dtsi
ARM: at91: dt: switch to standard GPIO flag defines.
[karo-tx-linux.git] / arch / arm / boot / dts / at91sam9g45.dtsi
index 18ea7610afeea2e4f08304712b709343a07f3a00..5d7c1f79dc4a79b0b680d87994b41656f6a35893 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include "skeleton.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "Atmel AT91SAM9G45 family SoC";
                        atmel,nand-cmd-offset = <22>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_nand>;
-                       gpios = <&pioC 8 0
-                                &pioC 14 0
+                       gpios = <&pioC 8 GPIO_ACTIVE_HIGH
+                                &pioC 14 GPIO_ACTIVE_HIGH
                                 0
                                >;
                        status = "disabled";
 
        i2c@0 {
                compatible = "i2c-gpio";
-               gpios = <&pioA 20 0 /* sda */
-                        &pioA 21 0 /* scl */
+               gpios = <&pioA 20 GPIO_ACTIVE_HIGH /* sda */
+                        &pioA 21 GPIO_ACTIVE_HIGH /* scl */
                        >;
                i2c-gpio,sda-open-drain;
                i2c-gpio,scl-open-drain;