lantiq: dts: assign the STP pins to the STP GPIO controller node
[openwrt/staging/rmilecki.git] / target / linux / lantiq / files / arch / mips / boot / dts / ar9.dtsi
index da56485214f76e19c45a187c50bd3edac295ef43..a613131e48046e26412e109427c2bc3326520574 100644 (file)
                                        lantiq,output = <1>;
                                };
                        };
+
+                       stp_pins: stp {
+                               lantiq,groups = "stp";
+                               lantiq,function = "stp";
+                               lantiq,pull = <0>;
+                               lantiq,open-drain = <0>;
+                               lantiq,output = <1>;
+                       };
                };
 
                stp: stp@e100bb0 {
                        compatible = "lantiq,gpio-stp-xway";
                        gpio-controller;
                        reg = <0xe100bb0 0x40>;
+
+                       pinctrl-0 = <&stp_pins>;
+                       pinctrl-names = "default";
+
                        status = "disabled";
                };