[openwrt/openwrt] qualcommax: ipq5018: glinet-gl-b3000: fix dts nvmem macs
LEDE Commits
lede-commits at lists.infradead.org
Wed Nov 5 12:21:54 PST 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7670addb077d7556a5603f0b26e2bad1b052ae84
commit 7670addb077d7556a5603f0b26e2bad1b052ae84
Author: Scott Mercer <TheRootEd24 at gmail.com>
AuthorDate: Wed Nov 5 11:21:32 2025 -0500
qualcommax: ipq5018: glinet-gl-b3000: fix dts nvmem macs
symtom: macs not properly incremented (all macs the same)
solution: set correct offset to mac location
Signed-off-by: Scott Mercer <TheRootEd24 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20664
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
.../files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts
index 76d9f5e2a6..1fa1b3355d 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts
@@ -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 {
@@ -229,11 +229,8 @@
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";
@@ -243,7 +240,7 @@
macaddr_dp2: macaddr at 0 {
compatible = "mac-base";
#nvmem-cell-cells = <1>;
- reg = <0x0 0x6>;
+ reg = <0x6 0x6>;
};
};
};
More information about the lede-commits
mailing list