aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi
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/ar7161_adtran_bsap1880.dtsi
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/ar7161_adtran_bsap1880.dtsi')
-rw-r--r--target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi13
1 files changed, 7 insertions, 6 deletions
diff --git a/target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi b/target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi
index ba9b588bec..f5dfa77912 100644
--- a/target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi
+++ b/target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi
@@ -12,10 +12,10 @@
};
aliases {
- led-boot = &led_green_status;
- led-failsafe = &led_yellow_status;
- led-running = &led_green_status;
- led-upgrade = &led_yellow_status;
+ led-boot = &led_status_green;
+ led-failsafe = &led_status_yellow;
+ led-running = &led_status_green;
+ led-upgrade = &led_status_yellow;
};
leds {
@@ -33,12 +33,12 @@
linux,default-trigger = "phy0tpt";
};
- led_green_status: green_status {
+ led_status_green: status_green {
label = "bluesocket:green:status";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
- led_yellow_status: yellow_status {
+ led_status_yellow: status_yellow {
label = "bluesocket:yellow:status";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
@@ -79,6 +79,7 @@
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {