ARM: dts: STiH407-pinctrl: Update gpio-cells to 2
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 10 Aug 2016 13:12:00 +0000 (15:12 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Fri, 2 Sep 2016 13:15:13 +0000 (15:15 +0200)
This patch allows to use second parameter to the gpio
specifier, which is used to specify whether the gpio is
active high or low.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/stih407-pinctrl.dtsi

index 3e7a56dd17ff1bef9466d8ff4c2fa42b538145eb..4be681aaf7730b5f12f09736a2d9690f889039d3 100644 (file)
@@ -58,7 +58,7 @@
 
                        pio0: gpio@09610000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x0 0x100>;
@@ -66,7 +66,7 @@
                        };
                        pio1: gpio@09611000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x1000 0x100>;
@@ -74,7 +74,7 @@
                        };
                        pio2: gpio@09612000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x2000 0x100>;
@@ -82,7 +82,7 @@
                        };
                        pio3: gpio@09613000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x3000 0x100>;
@@ -90,7 +90,7 @@
                        };
                        pio4: gpio@09614000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x4000 0x100>;
@@ -99,7 +99,7 @@
 
                        pio5: gpio@09615000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x5000 0x100>;
 
                        pio10: pio@09200000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x0 0x100>;
                        };
                        pio11: pio@09201000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x1000 0x100>;
                        };
                        pio12: pio@09202000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x2000 0x100>;
                        };
                        pio13: pio@09203000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x3000 0x100>;
                        };
                        pio14: pio@09204000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x4000 0x100>;
                        };
                        pio15: pio@09205000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x5000 0x100>;
                        };
                        pio16: pio@09206000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x6000 0x100>;
                        };
                        pio17: pio@09207000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x7000 0x100>;
                        };
                        pio18: pio@09208000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x8000 0x100>;
                        };
                        pio19: pio@09209000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x9000 0x100>;
 
                        pio20: pio@09210000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x0 0x100>;
 
                        pio30: gpio@09220000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x0 0x100>;
                        };
                        pio31: gpio@09221000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x1000 0x100>;
                        };
                        pio32: gpio@09222000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x2000 0x100>;
                        };
                        pio33: gpio@09223000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x3000 0x100>;
                        };
                        pio34: gpio@09224000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x4000 0x100>;
                        };
                        pio35: gpio@09225000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x5000 0x100>;
 
                        pio40: gpio@09230000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0 0x100>;
                        };
                        pio41: gpio@09231000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x1000 0x100>;
                        };
                        pio42: gpio@09232000 {
                                gpio-controller;
-                               #gpio-cells = <1>;
+                               #gpio-cells = <2>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
                                reg = <0x2000 0x100>;