aliases {
serial0 = &uart;
- led-status = &led_system;
+ led-boot = &system;
+ led-failsafe = &system;
+ led-running = &system;
+ led-upgrade = &system;
};
- gpio-keys-polled {
+ keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
- led_system: system {
+ system: system {
label = "tp-link:green:system";
- gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
wan {
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- default-state = "off";
linux,default-trigger = "phy0tpt";
};
};
};
firmware: partition@20000 {
+ compatible = "tplink,firmware";
reg = <0x20000 0x3d0000>;
label = "firmware";
};