lantiq: dts: assign the MDIO pins to the gsw node
[openwrt/staging/rmilecki.git] / target / linux / lantiq / files / arch / mips / boot / dts / vr9.dtsi
index e8b87dbcc7de2fb928a4e602f1a650030d2f7c35..81e2fea54943ad4619b50dbc7214c63e628a467e 100644 (file)
                        #gpio-cells = <2>;
                        gpio-controller;
                        reg = <0xe100b10 0xa0>;
+
+                       mdio_pins: mdio {
+                               mux {
+                                       lantiq,groups = "mdio";
+                                       lantiq,function = "mdio";
+                               };
+                       };
                };
 
                stp: stp@e100bb0 {
                        resets = <&reset0 21 16>, <&reset0 8 8>;
                        reset-names = "switch", "ppe";
                        lantiq,phys = <&gphy0>, <&gphy1>;
+                       pinctrl-0 = <&mdio_pins>;
+                       pinctrl-names = "default";
                };
 
                mei@e116000 {