ipq40xx: AP-365: fix non-existent node or label "macaddr_mfginfo_1d"
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 16 Jan 2022 12:07:01 +0000 (13:07 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 16 Jan 2022 12:14:58 +0000 (13:14 +0100)
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@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@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@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts

index 0bc46d7e7e1a99b3965fa781fd3c1c1f5813ac03..d3cc73f388e380ebd5b0704c5c98d1eb6ccab918 100644 (file)
                                label = "mfginfo";
                                reg = <0x390000 0x10000>;
                                read-only;
+                               compatible = "nvmem-cells";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+
+                               macaddr_mfginfo_1d: macaddr@1d {
+                                       reg = <0x1d 0x6>;
+                               };
                        };
 
                        partition@3a0000 {