brcm63xx: add pinctrl support
[openwrt/staging/noltari.git] / target / linux / brcm63xx / dts / bcm96348R.dts
index b103ece9ac3365d58c78ec6e3030c71f97342919..3042693b06dd59d53ffcadea684969ed3547cc6b 100644 (file)
 
                power_green {
                        label = "96348R:green:power";
-                       gpios = <&gpio0 0 1>;
+                       gpios = <&pinctrl 0 1>;
                        default-state = "on";
                };
                stop_green {
                        label = "96348R:green:stop";
-                       gpios = <&gpio0 1 1>;
+                       gpios = <&pinctrl 1 1>;
                };
                adsl_fail_green {
                        label = "96348R:green:adsl-fail";
-                       gpios = <&gpio0 2 1>;
+                       gpios = <&pinctrl 2 1>;
                };
                ppp_green {
                        label = "96348R:green:ppp";
-                       gpios = <&gpio0 3 1>;
+                       gpios = <&pinctrl 3 1>;
                };
                ppp_fail_green {
                        label = "96348R:green:ppp-fail";
-                       gpios = <&gpio0 4 1>;
+                       gpios = <&pinctrl 4 1>;
                };
        };
 };
@@ -44,3 +44,8 @@
 
        linux,part-probe = "bcm63xxpart";
 };
+
+&pinctrl {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_pci>;
+};