]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
qualcommax: ipq5018: glinet-gl-b3000: fix dts nvmem macs 20664/head
authorScott Mercer <TheRootEd24@gmail.com>
Wed, 5 Nov 2025 16:21:32 +0000 (11:21 -0500)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 5 Nov 2025 20:21:41 +0000 (21:21 +0100)
symtom: macs not properly incremented (all macs the same)
solution: set correct offset to mac location

Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20664
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts

index 76d9f5e2a67e22d413ddeb25f30ff0a75eef2d1e..1fa1b3355d6032a17c87601f5c21dab4b1deb081 100644 (file)
@@ -88,7 +88,7 @@
 // MAC1 ---SGMII---> QCA8337 SerDes
 &dp2 {
        status = "okay";
-       nvmem-cells = <&macaddr_dp2>;
+       nvmem-cells = <&macaddr_dp2 0>;
        nvmem-cell-names = "mac-address";
 
        fixed-link {
                        compatible = "qcom,smem-part";
 
                        partition-0-art {
-                               compatible = "fixed-partitions";
-                               label = "0:ART";
+                               label = "0:art";
                                read-only;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
 
                                nvmem-layout {
                                        compatible = "fixed-layout";
                                        macaddr_dp2: macaddr@0 {
                                                compatible = "mac-base";
                                                #nvmem-cell-cells = <1>;
-                                               reg = <0x0 0x6>;
+                                               reg = <0x6 0x6>;
                                        };
                                };
                        };