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>
Fri, 3 Feb 2023 10:49:18 +0000 (11:49 +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>
(cherry picked from commit f83f5f8452edd3115aacf333b0038da89639a218)

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";