compatible = "gpio-leds";
lan {
- label = "tl-wr840n-v4:green:lan";
+ label = "green:lan";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "tl-wr840n-v4:green:power";
+ label = "green:power";
gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tl-wr840n-v4:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tl-wr840n-v4:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tl-wr840n-v4:green:wps";
+ label = "green:wps";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
};
};
+&ehci {
+ status = "disabled";
+};
+
+&ohci {
+ status = "disabled";
+};
+
&state_default {
gpio {
groups = "p0led_an", "p2led_an", "perst", "refclk", "wdt", "wled_an";
};
};
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
+
&esw {
mediatek,portmap = <0x3e>;
};