aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorTom Herbers <mail@tomherbers.de>2023-01-24 14:14:58 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-02-03 11:49:18 +0100
commit2702ef94274b35c2d80a795484a1126b5f4628cf (patch)
tree0a81014f08d5e9f25a58506061cd5eeb18be07b1 /target
parent0657576ce190b23646e22de1440bd0fe0c3c08c6 (diff)
downloadupstream-2702ef94274b35c2d80a795484a1126b5f4628cf.tar.gz
upstream-2702ef94274b35c2d80a795484a1126b5f4628cf.tar.bz2
upstream-2702ef94274b35c2d80a795484a1126b5f4628cf.zip
ath79: add label-mac-device for GL-XE300
This adds an label-mac-device alias which refrences the mac which is printed on the Label of the device. Signed-off-by: Tom Herbers <mail@tomherbers.de> (cherry picked from commit f83f5f8452edd3115aacf333b0038da89639a218)
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-xe300.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-xe300.dts b/target/linux/ath79/dts/qca9531_glinet_gl-xe300.dts
index 9c2760398b..9212c0a754 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-xe300.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-xe300.dts
@@ -9,6 +9,10 @@
compatible = "glinet,gl-xe300", "qca,qca9531";
model = "GL.iNet GL-XE300";
+ aliases {
+ label-mac-device = &eth0;
+ };
+
gpio-export {
compatible = "gpio-export";