aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-05 19:23:33 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-06 00:27:55 +0100
commitf4026ad24d0374bdb8704e8b6ec38e9fd85f5e0e (patch)
tree7f01c18cd8fe81a40e6ac7999d668615af395ea2 /target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
parent763914ef1be07038eb2c862c1fe3c84de419679f (diff)
downloadupstream-f4026ad24d0374bdb8704e8b6ec38e9fd85f5e0e.tar.gz
upstream-f4026ad24d0374bdb8704e8b6ec38e9fd85f5e0e.tar.bz2
upstream-f4026ad24d0374bdb8704e8b6ec38e9fd85f5e0e.zip
ath79: DTS file style update and harmonization
This applies several style adjustments that have been requested in recent reviews to older DTS files. Despite making the code base more consistent, this will also help to reduce review time when DTSes are copy/pasted. Applied changes: - Rename gpio-keys/gpio-leds to keys/leds - Remove node labels that are not used - Use label property for partitions - Prefix led node labels with "led_" - Remove redundant includes - Harmonize new lines after status property - Several smaller style fixes Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts')
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts14
1 files changed, 7 insertions, 7 deletions
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 42db1d7a24..db6e5fb7f3 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
@@ -8,7 +8,7 @@
model = "TP-Link Archer A7 v5";
};
-&gpio_keys {
+&keys {
reset {
label = "Reset button";
linux,code = <KEY_RESTART>;
@@ -18,31 +18,31 @@
};
&mtdparts {
- factory-uboot@0 {
+ partition@0 {
label = "factory-uboot";
reg = <0x000000 0x020000>;
read-only;
};
- uboot: u-boot@20000 {
+ uboot: partition@20000 {
label = "u-boot";
reg = <0x020000 0x020000>;
read-only;
};
- firmware@40000 {
+ partition@40000 {
label = "firmware";
reg = <0x040000 0xec0000>;
compatible = "denx,uimage";
};
- info: info@f40000 {
+ info: partition@f40000 {
label = "info";
reg = <0xf40000 0x020000>;
read-only;
};
- config: config@f60000 {
+ config: partition@f60000 {
label = "config";
reg = <0xf60000 0x050000>;
read-only;
@@ -54,7 +54,7 @@
read-only;
};
- art: art@ff0000 {
+ art: partition@ff0000 {
label = "art";
reg = <0xff0000 0x010000>;
read-only;