aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-05-09 15:31:05 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-05-11 16:37:11 +0200
commitd8ec6dee49cb1389c2babdbb0bdb9e14d2bbe899 (patch)
treecf3d202c2c1e5449b8d11766454a93a5b7524ebb /target/linux/ath79/dts
parent4582fe7c14e68d1351b40f1d1fcfd544a9eee668 (diff)
downloadupstream-d8ec6dee49cb1389c2babdbb0bdb9e14d2bbe899.tar.gz
upstream-d8ec6dee49cb1389c2babdbb0bdb9e14d2bbe899.tar.bz2
upstream-d8ec6dee49cb1389c2babdbb0bdb9e14d2bbe899.zip
ath79: Add missing read-only properties
Add some read-only properties to protect partitions from accidental changes. Also fixed two whitespaces error on the way. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt_airrouter.dts4
-rw-r--r--target/linux/ath79/dts/qca9531_engenius_ews511ap.dts1
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi1
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-x750.dts1
-rw-r--r--target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts1
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts3
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts1
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts4
8 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar7241_ubnt_airrouter.dts b/target/linux/ath79/dts/ar7241_ubnt_airrouter.dts
index 9e38bf8087..774a45f22d 100644
--- a/target/linux/ath79/dts/ar7241_ubnt_airrouter.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt_airrouter.dts
@@ -30,9 +30,9 @@
};
&usb_phy {
- status = "okay";
+ status = "okay";
};
&usb {
- status = "okay";
+ status = "okay";
};
diff --git a/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts b/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
index 62b6a766fc..4e0ae73d0d 100644
--- a/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
+++ b/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
@@ -118,6 +118,7 @@
art: partition@50000 {
label = "art";
reg = <0x050000 0x010000>;
+ read-only;
};
partition@60000 {
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
index ceb2bfa0ff..8b127ed1d8 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
@@ -99,6 +99,7 @@
art: partition@3 {
label = "art";
reg = <0xff0000 0x010000>;
+ read-only;
};
};
};
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
index 79cd51673a..ddaf7709b7 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
@@ -108,6 +108,7 @@
art: partition@50000 {
label = "art";
reg = <0x050000 0x010000>;
+ read-only;
};
partition@60000 {
diff --git a/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts b/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts
index 439acaae85..378de5de90 100644
--- a/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts
+++ b/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts
@@ -92,6 +92,7 @@
art: partition@50000 {
label = "art";
reg = <0x050000 0x010000>;
+ read-only;
};
partition@60000 {
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts b/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
index a9174df4fa..42db1d7a24 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
@@ -39,16 +39,19 @@
info: info@f40000 {
label = "info";
reg = <0xf40000 0x020000>;
+ read-only;
};
config: config@f60000 {
label = "config";
reg = <0xf60000 0x050000>;
+ read-only;
};
partition@fc0000 {
label = "partition-table";
reg = <0xfc0000 0x010000>;
+ read-only;
};
art: art@ff0000 {
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts
index c106a63eb8..7a88f56a02 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts
@@ -124,6 +124,7 @@
partition@20000 {
label = "uboot";
reg = <0x020000 0x10000>;
+ read-only;
};
partition@30000 {
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
index 8059b48510..efe83cd5ee 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
@@ -33,6 +33,7 @@
partition@40000 {
label = "partition-table";
reg = <0x040000 0x010000>;
+ read-only;
};
art: partition@50000 {
@@ -44,11 +45,13 @@
info: partition@60000 {
label = "info";
reg = <0x060000 0x020000>;
+ read-only;
};
partition@80000 {
label = "user-config";
reg = <0x080000 0x040000>;
+ read-only;
};
partition@c0000 {
@@ -60,5 +63,6 @@
partition@ff0000 {
label = "default-config";
reg = <0xff0000 0x010000>;
+ read-only;
};
};