ath79: add label-mac-device for GL-XE300
authorTom Herbers <mail@tomherbers.de>
Tue, 24 Jan 2023 13:14:58 +0000 (14:14 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 Jan 2023 20:11:17 +0000 (21:11 +0100)
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>
target/linux/ath79/dts/qca9531_glinet_gl-xe300.dts

index 9c2760398bd802b04381c9854f0eacd37b15cfa4..9212c0a7548b58f64d1b6401bf44e584ad3ef56e 100644 (file)
@@ -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";