[openwrt/openwrt] ipq40xx: AP-365: fix non-existent node or label "macaddr_mfginfo_1d"

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 16 04:15:31 PST 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0a852d8a5e4d6eebe7f32d67b9523ef1b6b5d588

commit 0a852d8a5e4d6eebe7f32d67b9523ef1b6b5d588
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Sun Jan 16 13:07:01 2022 +0100

    ipq40xx: AP-365: fix non-existent node or label "macaddr_mfginfo_1d"
    
    Chen Minqiang reported on github:
    |  DTC     arch/arm/boot/dts/qcom-ipq4029-ap-365.dtb
    |qcom-ipq4019.dtsi:520.23-560.5: ERROR (phandle_references): /soc/wifi at a000000:
    |Reference to non-existent node or label "macaddr_mfginfo_1d"
    |
    |  also defined at qcom-ipq4029-aruba-glenmorangie.dtsi:243.8-248.3
    |qcom-ipq4019.dtsi:562.23-602.5: ERROR (phandle_references): /soc/wifi at a800000:
    |Reference to non-existent node or label "macaddr_mfginfo_1d"
    |
    |  also defined at qcom-ipq4029-aruba-glenmorangie.dtsi:250.8-256.3
    |ERROR: Input tree has errors, aborting (use -f to force output)
    |scripts/Makefile.lib:326: recipe for target 'qcom-ipq4029-ap-365.dtb' failed
    
    Fixes: cfc13c44595d ("ipq40xx: utilize nvmem-cells for macs & (pre-)calibration data")
    Reported-by: Chen Minqiang <ptpt52 at gmail.com>
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 .../linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts  | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts
index 0bc46d7e7e..d3cc73f388 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts
@@ -185,6 +185,13 @@
 				label = "mfginfo";
 				reg = <0x390000 0x10000>;
 				read-only;
+				compatible = "nvmem-cells";
+				#address-cells = <1>;
+				#size-cells = <1>;
+
+				macaddr_mfginfo_1d: macaddr at 1d {
+					reg = <0x1d 0x6>;
+				};
 			};
 
 			partition at 3a0000 {



More information about the lede-commits mailing list