mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 14:50:15 +04:00
ath79: engenius: remove userspace label mac
Can be handled easily in dts. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17329 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
febc349ab4
commit
33603cc0d3
@@ -12,6 +12,7 @@
|
||||
compatible = "engenius,eap300-v2", "qca,ar9341";
|
||||
|
||||
aliases {
|
||||
label-mac-device = &wmac;
|
||||
led-boot = &led_power;
|
||||
led-failsafe = &led_power;
|
||||
led-running = &led_power;
|
||||
@@ -49,8 +50,8 @@
|
||||
&wmac {
|
||||
status = "okay";
|
||||
|
||||
nvmem-cells = <&cal_art_1000>;
|
||||
nvmem-cell-names = "calibration";
|
||||
nvmem-cells = <&cal_art_1000>, <&macaddr_art_1002>;
|
||||
nvmem-cell-names = "calibration", "mac-address";
|
||||
|
||||
led {
|
||||
led-sources = <17>;
|
||||
@@ -71,5 +72,9 @@
|
||||
cal_art_1000: calibration@1000 {
|
||||
reg = <0x1000 0x440>;
|
||||
};
|
||||
|
||||
macaddr_art_1002: macaddr@1002 {
|
||||
reg = <0x1002 0x6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
compatible = "engenius,ens202ext-v1", "qca,ar9341";
|
||||
|
||||
aliases {
|
||||
label-mac-device = &wmac;
|
||||
led-boot = &led_power;
|
||||
led-failsafe = &led_power;
|
||||
led-running = &led_power;
|
||||
@@ -80,8 +81,8 @@
|
||||
&wmac {
|
||||
status = "okay";
|
||||
|
||||
nvmem-cells = <&cal_art_1000>;
|
||||
nvmem-cell-names = "calibration";
|
||||
nvmem-cells = <&cal_art_1000>, <&macaddr_art_1002>;
|
||||
nvmem-cell-names = "calibration", "mac-address";
|
||||
|
||||
led {
|
||||
led-sources = <18>;
|
||||
@@ -102,5 +103,9 @@
|
||||
cal_art_1000: calibration@1000 {
|
||||
reg = <0x1000 0x440>;
|
||||
};
|
||||
|
||||
macaddr_art_1002: macaddr@1002 {
|
||||
reg = <0x1002 0x6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -641,9 +641,7 @@ ath79_setup_macs()
|
||||
alfa-network,pi-wifi4|\
|
||||
alfa-network,r36a|\
|
||||
alfa-network,tube-2hq|\
|
||||
alfa-network,wifi-camppro-nano-duo|\
|
||||
engenius,eap300-v2|\
|
||||
engenius,ens202ext-v1)
|
||||
alfa-network,wifi-camppro-nano-duo)
|
||||
label_mac=$(mtd_get_mac_binary art 0x1002)
|
||||
;;
|
||||
arduino,yun)
|
||||
|
||||
Reference in New Issue
Block a user