aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2022-12-15 15:20:26 +0100
committerChristian Lamparter <chunkeey@gmail.com>2022-12-15 15:45:47 +0100
commit0f227720f99e340734521d8326c44d9ae1f40fef (patch)
treebbbd8203b0c8c4a6462c99e452d32a979ce21374 /target
parent4146701469ec53c09badeb6382170ae51fbd2aad (diff)
downloadupstream-0f227720f99e340734521d8326c44d9ae1f40fef.tar.gz
upstream-0f227720f99e340734521d8326c44d9ae1f40fef.tar.bz2
upstream-0f227720f99e340734521d8326c44d9ae1f40fef.zip
ath79: fix dtc warnings in eap1200h
|109.3-19: Warning (reg_format): macaddr@0:reg:property has invalid length (8 bytes) |113.3-24: Warning (reg_format): calibration@1000:reg: property has invalid length (8 bytes) |117.3-24: Warning (reg_format): calibration@5000:reg: property has invalid length (8 bytes) also integrate the art-nodes nodes back into the partition-subnode and change the calibration labels to match what everyone else is doing. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/qca9557_engenius_eap1200h.dts38
1 files changed, 19 insertions, 19 deletions
diff --git a/target/linux/ath79/dts/qca9557_engenius_eap1200h.dts b/target/linux/ath79/dts/qca9557_engenius_eap1200h.dts
index 13c03e717a..beb3e5ee07 100644
--- a/target/linux/ath79/dts/qca9557_engenius_eap1200h.dts
+++ b/target/linux/ath79/dts/qca9557_engenius_eap1200h.dts
@@ -57,10 +57,26 @@
};
&partitions {
- art: partition@ff0000 {
+ partition@ff0000 {
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ calibration_art_1000: calibration@1000 {
+ reg = <0x1000 0x440>;
+ };
+
+ calibration_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
@@ -89,7 +105,7 @@
&wmac {
status = "okay";
- nvmem-cells = <&macaddr_art_0>, <&calibration_ath9k>;
+ nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
mac-address-increment = <1>;
};
@@ -97,23 +113,7 @@
&ath10k {
status = "okay";
- nvmem-cells = <&macaddr_art_0>, <&calibration_ath10k>;
+ nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
mac-address-increment = <2>;
};
-
-&art {
- compatible = "nvmem-cells";
-
- macaddr_art_0: macaddr@0 {
- reg = <0x0 0x6>;
- };
-
- calibration_ath9k: calibration@1000 {
- reg = <0x1000 0x440>;
- };
-
- calibration_ath10k: calibration@5000 {
- reg = <0x5000 0x844>;
- };
-};