]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: yuncore 1200f: fix label-mac-device alias and remove comments 23691/head
authorRyan Leung <untilscour@protonmail.com>
Sun, 7 Jun 2026 02:22:33 +0000 (10:22 +0800)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 7 Jun 2026 08:37:40 +0000 (10:37 +0200)
Fix label-mac-device alias (from "label-mac") and remove MAC address comments.

Fixes: 1ba7b38cfc82 ("ramips: add support for Yuncore 1200F")
Signed-off-by: Ryan Leung <untilscour@protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/23691
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/ramips/dts/mt7628an_yuncore_1200f.dts

index 054a6774bee7121d7ba1515142570a03844da305..90624df94312b984cfd892e2eeda271fb4f6a3fa 100644 (file)
@@ -23,7 +23,7 @@
        };
 
        aliases {
-               label-mac = &ethernet;
+               label-mac-device = &ethernet;
                led-boot = &led_indicator;
                led-failsafe = &led_indicator;
                led-running = &led_indicator;
                                                reg = <0x0 0x400>;
                                        };
 
-                                       /*
-                                        * Observed at factory + 0x4:
-                                        * 9c:e5:49:60:2a:64
-                                        */
                                        macaddr_factory_4: macaddr@4 {
                                                reg = <0x4 0x6>;
                                        };
 
-                                       /*
-                                        * Observed at factory + 0x28:
-                                        * 9c:e5:49:60:2a:65
-                                        */
                                        macaddr_factory_28: macaddr@28 {
                                                reg = <0x28 0x6>;
                                        };
                                                reg = <0x8000 0x4da8>;
                                        };
 
-                                       /*
-                                        * Observed at factory + 0x8004:
-                                        * 9c:e5:49:60:2a:66
-                                        *
-                                        * Do not apply mac-address-increment here.
-                                        * The stored address is already the final 5 GHz MAC.
-                                        */
                                        macaddr_factory_8004: macaddr@8004 {
                                                reg = <0x8004 0x6>;
                                        };