From 50fdc0374b75584f19c75f712ca0472a7113a065 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 15 Aug 2019 15:13:33 +0200 Subject: ath79: provide label MAC address This patch adds the label MAC address for several devices in ath79. Some devices require setting the MAC address in 02_network: For the following devices, the netif device can be linked in device tree, but the MAC address cannot be read: - alfa-network,ap121f - avm,fritz300e - ubnt-xm devices For the following devices, label MAC address is tied to lan or wan, so no node to link to exists in device tree: - adtran,bsap1800-v2 - adtran,bsap1840 - dlink,dir-842-c1/-c2/-c3 - engenius,ecb1750 - iodata,etg3-r - iodata,wn-ac1167dgr - iodata,wn-ac1600dgr - iodata,wn-ac1600dgr2 - iodata,wn-ag300dgr - nec,wg800hp - nec,wg1200cr - trendnet,tew-823dru Signed-off-by: Adrian Schmutzler --- target/linux/ath79/dts/ar7241_ubnt_unifi.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/ath79/dts/ar7241_ubnt_unifi.dts') diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts index 27aec88cca..44a5fdd0bd 100644 --- a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts +++ b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts @@ -15,6 +15,7 @@ led-failsafe = &dome_green; led-running = &dome_green; led-upgrade = &dome_green; + label-mac-device = &wifi; }; extosc: ref { @@ -110,7 +111,7 @@ &pcie { status = "okay"; - wifi@0,0 { + wifi: wifi@0,0 { reg = <0x0000 0 0 0 0>; qca,no-eeprom; }; -- cgit v1.2.3