/ {
compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
- model = "TP-Link TL-WR1043ND Version 1";
+ model = "TP-Link TL-WR1043ND v1";
aliases {
- led-status = &system;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
+ label-mac-device = ð0;
};
extosc: ref {
keys {
compatible = "gpio-keys";
- button0 {
+ reset {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
- button1 {
+ qss {
label = "qss";
linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
leds {
compatible = "gpio-leds";
+
usb {
label = "tp-link:green:usb";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
- default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
- system: system {
+ led_system: system {
label = "tp-link:green:system";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
- default-state = "off";
linux,default-trigger = "phy0tpt";
};
};
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
};
partition@20000 {
+ compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7D0000>;
};
phy-mode = "rgmii";
mtd-mac-address = <&uboot 0x1fc00>;
- resets = <&rst 9>;
- reset-names = "mac";
-
fixed-link {
speed = <1000>;
full-duplex;
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};