brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / cpva502plus.dts
index 3ddc459836c11bd2144c82d97b2e113dbb09f6a8..dbe7aae97c10bd2196a563ad22efb6787511911c 100644 (file)
@@ -21,7 +21,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 4 1>;
+                       gpios = <&pinctrl 36 1>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                phone_green {
                        label = "CPVA502+:green:phone";
-                       gpios = <&gpio0 0 1>;
+                       gpios = <&pinctrl 0 1>;
                };
 
                link_amber {
                        label = "CPVA502+:amber:link";
-                       gpios = <&gpio0 5 1>;
+                       gpios = <&pinctrl 5 1>;
                };
        };
 };
@@ -62,3 +62,8 @@
                reg = <0x3f0000 0x010000>;
        };
 };
+
+&pinctrl {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
+};