led-status = &system;
};
- leds {
+ gpio_leds: leds {
compatible = "gpio-leds";
system: system {
linux,default-trigger = "heartbeat";
};
- usb {
- label = "tp-link:green:usb";
- gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
- default-state = "off";
- trigger-sources = <&hub_port0>;
- linux,default-trigger = "usbport";
- };
-
wifi_green {
label = "tp-link:green:wlan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "off";
};
+ wan_fail {
+ label = "tp-link:orange:wan";
+ gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
lan1 {
label = "tp-link:green:lan1";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
status = "okay";
};
-&usb_phy0 {
- status = "okay";
-};
-
-&usb0 {
- status = "okay";
-
- hub_port0: port@1 {
- reg = <1>;
- #trigger-source-cells = <0>;
- };
-};
-
&spi {
status = "okay";
num-cs = <1>;