ramips: fix WAN LED for D-Link DIR-810L/TRENDnet TEW-810DR
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_dlink_dir-810l.dts
index 63952d3e6492f39fd40d956624a06a7f2e621986..9dd9825433bfd6f7b3886a52af1fb70754ca9a47 100644 (file)
                        gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
                };
 
-               wan {
+               wan_orange {
                        label = "dir-810l:orange:wan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
                };
 
+               wan_green {
+                       label = "dir-810l:green:wan";
+                       gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+               };
+
                power_orange {
                        label = "dir-810l:orange:power";
                        gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
 
 &state_default {
        gpio {
-               groups = "i2c", "uartf";
+               groups = "i2c", "uartf", "ephy";
                function = "gpio";
        };
 };
-
-&gsw {
-       pinctrl-names = "default";
-       pinctrl-0 = <&ephy_pins>;
-
-       mediatek,port4 = "ephy";
-};