6 changes: 6 additions & 0 deletions target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

#include "ar9344_tplink_tl-wdrxxxx.dtsi"

/ {
aliases {
label-mac-device = &ath9k;
};
};

&leds {
usb1 {
label = "tp-link:green:usb1";
Expand Down
4 changes: 4 additions & 0 deletions target/linux/ath79/dts/qca9531_comfast_cf-e5.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
compatible = "comfast,cf-e5", "qca,qca9531";
model = "COMFAST CF-E5/E7";

aliases {
label-mac-device = &eth0;
};

keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
label-mac-device = &eth0;
};

keys {
Expand Down
4 changes: 4 additions & 0 deletions target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
compatible = "glinet,gl-ar750", "qca,qca9531";
model = "GL.iNet GL-AR750";

aliases {
label-mac-device = &eth0;
};

keys {
compatible = "gpio-keys";

Expand Down
4 changes: 4 additions & 0 deletions target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
compatible = "tplink,archer-d50-v1", "qca,qca9531";
model = "TP-Link Archer D50 v1";

aliases {
label-mac-device = &wmac;
};

chosen {
bootargs = "console=ttyS0,115200n8";
};
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9533_tplink_cpe210.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
led-failsafe = &system;
led-running = &system;
led-upgrade = &system;
label-mac-device = &eth0;
};

leds {
Expand Down
4 changes: 4 additions & 0 deletions target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
bootargs = "console=ttyS0,115200n8";
};

aliases {
label-mac-device = &wmac;
};

gpio_leds: leds {
compatible = "gpio-leds";

Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
led-failsafe = &power_led;
led-running = &power_led;
led-upgrade = &power_led;
label-mac-device = &eth1;
};

gpio_leds: leds {
Expand Down
4 changes: 4 additions & 0 deletions target/linux/ath79/dts/qca9533_ubnt_acb-isp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
compatible = "ubnt,acb-isp", "qca,qca9533";
model = "Ubiquiti airCube ISP";

aliases {
label-mac-device = &wmac;
};

keys {
compatible = "gpio-keys";

Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
label-mac-device = &eth1;
};

gpio_leds: leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
led-failsafe = &power_amber;
led-running = &power_green;
led-upgrade = &power_amber;
label-mac-device = &eth0;
};

led_spi {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9558_ocedo_koala.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
led-failsafe = &system;
led-running = &system;
led-upgrade = &system;
label-mac-device = &eth0;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
led-failsafe = &system;
led-running = &system;
led-upgrade = &system;
label-mac-device = &eth1;
};

gpio_leds: leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
led-running = &led_power;
led-upgrade = &led_power;
mdio-gpio0 = &mdio2;
label-mac-device = &eth0;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
label-mac-device = &eth1;
};

gpio_leds: leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
led-failsafe = &system;
led-running = &system;
led-upgrade = &system;
label-mac-device = &wmac;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
label-mac-device = &eth0;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
led-failsafe = &power;
led-running = &power;
led-upgrade = &power;
label-mac-device = &eth0;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
led-failsafe = &power;
led-running = &power;
led-upgrade = &power;
label-mac-device = &eth1;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
led-failsafe = &system;
led-running = &system;
led-upgrade = &system;
label-mac-device = &eth0;
};

led_spi {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9563_tplink_archer-x6-v2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
led-failsafe = &power;
led-running = &power;
led-upgrade = &power;
label-mac-device = &eth0;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
led-failsafe = &system;
led-running = &system;
led-upgrade = &system;
label-mac-device = &eth0;
};

gpio_leds: leds {
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
led-failsafe = &system;
led-running = &system;
led-upgrade = &system;
label-mac-device = &wmac;
};

gpio_leds: leds {
Expand Down
6 changes: 6 additions & 0 deletions target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

#include "qca9563_ubnt_unifiac.dtsi"

/ {
aliases {
label-mac-device = &eth0;
};
};

&mdio0 {
status = "okay";

Expand Down
6 changes: 6 additions & 0 deletions target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

#include "qca9563_ubnt_unifiac.dtsi"

/ {
aliases {
label-mac-device = &eth0;
};
};

&mdio0 {
status = "okay";
phy-mask = <0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
led-failsafe = &general;
led-running = &power;
led-upgrade = &general;
label-mac-device = &gmac2;
};

chosen {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
led-failsafe = &power_amber;
led-running = &power_white;
led-upgrade = &power_amber;
label-mac-device = &gmac2;
};

chosen {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
led-failsafe = &tricolor_red;
led-running = &tricolor_green;
led-upgrade = &tricolor_red;
label-mac-device = &enet0;
};

chosen {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
led-failsafe = &system_green;
led-running = &system_green;
led-upgrade = &system_green;
label-mac-device = &enet0;
};

memory {
Expand Down