};
aliases {
- led-status = &led_system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
+ label-mac-device = ð1;
};
- gpio_leds: leds {
+ leds {
compatible = "gpio-leds";
led_system: system {
usb1 {
label = "tp-link:green:usb1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- default-state = "off";
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
usb2 {
label = "tp-link:green:usb2";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- default-state = "off";
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
wlan2g {
label = "tp-link:blue:wlan2g";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- default-state = "off";
linux,default-trigger = "phy0tpt";
};
qss {
label = "tp-link:blue:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- default-state = "off";
};
};
- ath9k-leds {
+ ath9k-leds {
compatible = "gpio-leds";
wlan5g {
label = "tp-link:blue:wlan5g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
- default-state = "off";
linux,default-trigger = "phy1tpt";
};
};
gpio-export,output = <1>;
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
};
-
};
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
partition@20000 {
+ compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <(-1)>;