aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2022-02-22 15:50:22 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2022-02-27 15:09:36 +0100
commitf645bacd06643ba6141f9be34c22681449a42392 (patch)
treeb81c5e24f7eec5fe37e2af7be495d8e416f27219 /target/linux/ath79/dts
parent493b60d044c1d32ec7dbc4b02f7f5d6ada397a29 (diff)
downloadupstream-f645bacd06643ba6141f9be34c22681449a42392.tar.gz
upstream-f645bacd06643ba6141f9be34c22681449a42392.tar.bz2
upstream-f645bacd06643ba6141f9be34c22681449a42392.zip
ath79: reduce 'nvmem-cells' definitions on ALFA Network QCA9531 boards
All the QCA9531 based boards from ALFA Network are based on the same design and share a common DTSI: 'qca9531_alfa-network_r36a.dtsi'. Instead of defining 'nvmem-cells' for the MAC address in every device's DTS, move definition to the common DTSI file. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/qca9531_alfa-network_n2q.dts10
-rw-r--r--target/linux/ath79/dts/qca9531_alfa-network_pi-wifi4.dts10
-rw-r--r--target/linux/ath79/dts/qca9531_alfa-network_r36a.dts10
-rw-r--r--target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi8
4 files changed, 8 insertions, 30 deletions
diff --git a/target/linux/ath79/dts/qca9531_alfa-network_n2q.dts b/target/linux/ath79/dts/qca9531_alfa-network_n2q.dts
index 671adb8ccf..8759198f53 100644
--- a/target/linux/ath79/dts/qca9531_alfa-network_n2q.dts
+++ b/target/linux/ath79/dts/qca9531_alfa-network_n2q.dts
@@ -120,13 +120,3 @@
&pcie0 {
status = "okay";
};
-
-&art {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_art_1002: macaddr@1002 {
- reg = <0x1002 0x6>;
- };
-};
diff --git a/target/linux/ath79/dts/qca9531_alfa-network_pi-wifi4.dts b/target/linux/ath79/dts/qca9531_alfa-network_pi-wifi4.dts
index 5a934ce957..e9e19f9d32 100644
--- a/target/linux/ath79/dts/qca9531_alfa-network_pi-wifi4.dts
+++ b/target/linux/ath79/dts/qca9531_alfa-network_pi-wifi4.dts
@@ -86,13 +86,3 @@
#trigger-source-cells = <0>;
};
};
-
-&art {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_art_1002: macaddr@1002 {
- reg = <0x1002 0x6>;
- };
-};
diff --git a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dts b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dts
index 01e14bb0b1..6af8d3b8b5 100644
--- a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dts
+++ b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dts
@@ -81,13 +81,3 @@
debounce-interval = <60>;
};
};
-
-&art {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_art_1002: macaddr@1002 {
- reg = <0x1002 0x6>;
- };
-};
diff --git a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi
index 4c9346db1e..7e89605480 100644
--- a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi
+++ b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi
@@ -86,6 +86,14 @@
label = "art";
reg = <0x070000 0x010000>;
read-only;
+
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_1002: macaddr@1002 {
+ reg = <0x1002 0x6>;
+ };
};
partition@80000 {