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-01-28 21:11:17 +0100
commitf83f5f8452edd3115aacf333b0038da89639a218 (patch)
tree7d2329ec0666bbd0b439534d7408b84d70f46d22 /target
parenta911f63df9bade09e950059b4ed3222e4d278fab (diff)
downloadupstream-f83f5f8452edd3115aacf333b0038da89639a218.tar.gz
upstream-f83f5f8452edd3115aacf333b0038da89639a218.tar.bz2
upstream-f83f5f8452edd3115aacf333b0038da89639a218.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>
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";