aliases {
serial0 = &uart;
- led-status = &system;
+ led-boot = &system;
+ led-failsafe = &system;
+ led-running = &system;
+ led-upgrade = &system;
};
leds {
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- default-state = "off";
linux,default-trigger = "phy0tpt";
};
lan {
label = "tp-link:green:lan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
- default-state = "off";
};
system: wps {
label = "tp-link:green:wps";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
- default-state = "off";
};
led3g {
label = "tp-link:green:3g";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
- default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
button0 {
label = "reset";
};
&usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
dr_mode = "host";
vbus-supply = <®_usb_vbus>;
status = "okay";
/* Spansion S25FL032PIF SPI flash */
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
spi-max-frequency = <104000000>;
reg = <0>;
};
partition@20000 {
+ compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x3c0000>;
};