model = "TP-LINK TL-WR2543N/ND";
aliases {
- led-status = &system;
+ led-boot = &system;
+ led-failsafe = &system;
+ led-running = &system;
+ led-upgrade = &system;
};
chosen {
gpio-keys {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <20>;
reset {
system: wps {
label = "tplink:green:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- default-state = "off";
};
usb {
label = "tplink:green:usb";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
wlan2g {
label = "tplink:green:wlan2g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
- default-state = "off";
linux,default-trigger = "phy0tpt";
};
wlan5g {
label = "tplink:green:wlan5g";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
- default-state = "off";
linux,default-trigger = "phy0tpt";
};
-
};
rtl8367 {
realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
phy0: ethernet-phy@0 {
num-cs = <1>;
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
};
partition@20000 {
+ compatible = "tplink,firmware";
label = "firmware";
reg = <0x020000 0x7d0000>;
};
};
&usb {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
hub_port: port@1 {
&pcie {
status = "okay";
- ath9k: wifi@0 {
+ ath9k: wifi@0,0 {
reg = <0x0000 0 0 0 0>;
#gpio-cells = <2>;
gpio-controller;