lantiq: dts: assign the MDIO pins to the gsw node
[openwrt/staging/wigyori.git] / target / linux / lantiq / files / arch / mips / boot / dts / ar9.dtsi
index 37b44aecdd041c6841584e72ba7b52eef7998919..3244908e323ef6bbf2023b19471f69b97d9723f7 100644 (file)
                        #gpio-cells = <2>;
                        gpio-controller;
                        reg = <0xe100b10 0xa0>;
+
+                       mdio_pins: mdio {
+                               mux {
+                                       lantiq,groups = "mdio";
+                                       lantiq,function = "mdio";
+                               };
+                       };
                };
 
                stp: stp@e100bb0 {
                        interrupt-parent = <&icu0>;
                        interrupts = <73 72>;
                        mac-address = [ 00 11 22 33 44 55 ];
+                       pinctrl-0 = <&mdio_pins>;
+                       pinctrl-names = "default";
                };
 
                ppe@e234000 {