brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / ct-6373.dts
index f2a5842c690b57c0d47a93e807fcc86e9e53ea5f..8e6eb453a731df12dc67c0d598e16b0447038bab 100644 (file)
@@ -17,8 +17,8 @@
                #size-cells = <0>;
                compatible = "spi-gpio";
 
-               gpio-mosi = <&gpio0 7 0>;
-               gpio-sck = <&gpio0 6 0>;
+               gpio-mosi = <&pinctrl 7 0>;
+               gpio-sck = <&pinctrl 6 0>;
                num-chipselects = <0>;
 
                hc595: gpio-spi-controller@0 {
@@ -41,7 +41,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 3 1>;
+                       gpios = <&pinctrl 35 1>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                power_green {
                        label = "CT6373-1:green:power";
-                       gpios = <&gpio0 0 0>;
+                       gpios = <&pinctrl 0 0>;
                        default-state = "on";
                };
                usb_green {
                        label = "CT6373-1:green:usb";
-                       gpios = <&gpio0 3 1>;
+                       gpios = <&pinctrl 3 1>;
                };
                wlan_green {
                        label = "CT6373-1:green:wlan";
-                       gpios = <&gpio0 9 1>;
+                       gpios = <&pinctrl 9 1>;
                };
                dsl_green {
                        label = "CT6373-1:green:adsl";