ath79: Add missing read-only properties
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 9 May 2019 13:31:05 +0000 (15:31 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 11 May 2019 14:37:11 +0000 (16:37 +0200)
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>
target/linux/ath79/dts/ar7241_ubnt_airrouter.dts
target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts
target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts
target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts

index 9e38bf808789f690ea430aab5cd892b50c805791..774a45f22d46bea8321449c4305907ae961d42ac 100644 (file)
@@ -30,9 +30,9 @@
 };
 
 &usb_phy {
-        status = "okay";
+       status = "okay";
 };
 
 &usb {
-        status = "okay";
+       status = "okay";
 };
index 62b6a766fc8610cae5c92eb1760637a84bb8d79c..4e0ae73d0d4a3c81a1e65be5d6841345d150d9a4 100644 (file)
                        art: partition@50000 {
                                label = "art";
                                reg = <0x050000 0x010000>;
+                               read-only;
                        };
 
                        partition@60000 {
index ceb2bfa0ffe2d2ded4b947e9d3cdbf2ee69e4469..8b127ed1d831b3c6c87b4a9991eb35d31df3a9c9 100644 (file)
@@ -99,6 +99,7 @@
                        art: partition@3 {
                                label = "art";
                                reg = <0xff0000 0x010000>;
+                               read-only;
                        };
                };
        };
index 79cd51673abe0079192f978949ab648ecbd8dd8b..ddaf7709b73c319071c028fb27aaacb53b42c0d4 100644 (file)
                        art: partition@50000 {
                                label = "art";
                                reg = <0x050000 0x010000>;
+                               read-only;
                        };
 
                        partition@60000 {
index 439acaae85f9740c85b1c9e352bc8d35195fba99..378de5de904468a10c47a7cc216cb67ecdd54bcf 100644 (file)
@@ -92,6 +92,7 @@
                        art: partition@50000 {
                                label = "art";
                                reg = <0x050000 0x010000>;
+                               read-only;
                        };
 
                        partition@60000 {
index a9174df4fad87958fe4e95c0e927cee5276ed3d0..42db1d7a24923687badb3976ad0822a709a81210 100644 (file)
        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 {
index c106a63eb8e4dd677c4971ed89e51c704a883602..7a88f56a0262da47a9efe3f1e6f5aa72fb0e6a41 100644 (file)
                        partition@20000 {
                                label = "uboot";
                                reg = <0x020000 0x10000>;
+                               read-only;
                        };
 
                        partition@30000 {
index 8059b48510e22ec5ad7af7343e77641425699186..efe83cd5ee5d343a7b27085987d3930d88cc91a8 100644 (file)
@@ -33,6 +33,7 @@
        partition@40000 {
                label = "partition-table";
                reg = <0x040000 0x010000>;
+               read-only;
        };
 
        art: partition@50000 {
        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;
        };
 };