brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm96368MVNgr.dts
index ca07b654053b4caf52e3b83f72c80da5a3e57697..1078be713eb153eb50045e10eb6587dfd923a913 100644 (file)
 
                dsl_green {
                        label = "96368MVNgr:green:adsl";
-                       gpios = <&gpio0 2 1>;
+                       gpios = <&pinctrl 2 1>;
                };
                inet_fail_green {
                        label = "96368MVNgr:green:inet-fail";
-                       gpios = <&gpio0 3 0>;
+                       gpios = <&pinctrl 3 0>;
                };
                inet_green {
                        label = "96368MVNgr:green:inet";
-                       gpios = <&gpio0 5 0>;
+                       gpios = <&pinctrl 5 0>;
                };
                power_green {
                        label = "96368MVNgr:green:power";
-                       gpios = <&gpio0 22 0>;
+                       gpios = <&pinctrl 22 0>;
                        default-state = "on";
                };
                wps_green {
                        label = "96368MVNgr:green:wps";
-                       gpios = <&gpio0 23 1>;
+                       gpios = <&pinctrl 23 1>;
                };
        };
 };
@@ -44,3 +44,8 @@
 
        linux,part-probe = "bcm63xxpart";
 };
+
+&pinctrl {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_pci>;
+};