diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2021-12-28 00:30:13 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-02-05 00:41:36 +0100 |
commit | 20470580cd271de1e6017c88261b577ed4773476 (patch) | |
tree | dc9f849a262c32bb7b9bfdfa03cae3d98cd637bc /target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts | |
parent | a1693a8c2cdc74a5bf33cabaadc2174f2f088dbf (diff) | |
download | openwrt-20470580cd271de1e6017c88261b577ed4773476.tar.gz openwrt-20470580cd271de1e6017c88261b577ed4773476.tar.bz2 openwrt-20470580cd271de1e6017c88261b577ed4773476.zip |
ipq806x: utilize nvmem-cells for pre-calibration data
converts extraction entries from 11-ath10k-caldata into
nvmem-cells in the individual board's device-tree file.
The patch also moves previously existing referenced
nvmem-cells data nodes which were placed at the end
back into the partitions node. As well as removing
some duplicated properties from qcom-ipq8065-xr500.dts's
art (the included nighthawk.dtsi defines those already).
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts')
-rw-r--r-- | target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts index 45da4a2b11..998dad55c5 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts @@ -283,6 +283,17 @@ label = "ART"; reg = <0x2e0000 0x40000>; read-only; + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + precal_ART_1000: precal@1000 { + reg = <0x1000 0x2f20>; + }; + + precal_ART_5000: precal@5000 { + reg = <0x5000 0x2f20>; + }; }; TP@320000 { @@ -331,8 +342,8 @@ compatible = "pci168c,0040"; reg = <0x00010000 0 0 0 0>; - nvmem-cells = <&macaddr_PRODUCTDATA_12>; - nvmem-cell-names = "mac-address"; + nvmem-cells = <&macaddr_PRODUCTDATA_12>, <&precal_ART_1000>; + nvmem-cell-names = "mac-address", "pre-calibration"; }; }; }; @@ -351,8 +362,8 @@ compatible = "pci168c,0040"; reg = <0x00010000 0 0 0 0>; - nvmem-cells = <&macaddr_PRODUCTDATA_c>; - nvmem-cell-names = "mac-address"; + nvmem-cells = <&macaddr_PRODUCTDATA_c>, <&precal_ART_5000>; + nvmem-cell-names = "mac-address", "pre-calibration"; }; }; }; |