diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-05 19:23:33 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-06 00:27:55 +0100 |
commit | f4026ad24d0374bdb8704e8b6ec38e9fd85f5e0e (patch) | |
tree | 7f01c18cd8fe81a40e6ac7999d668615af395ea2 /target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts | |
parent | 763914ef1be07038eb2c862c1fe3c84de419679f (diff) | |
download | upstream-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/qca9561_tplink_archer-c25-v1.dts')
-rw-r--r-- | target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts index 794ac24ed8..351e37519d 100644 --- a/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts +++ b/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts @@ -14,6 +14,14 @@ bootargs = "console=ttyS0,115200n8"; }; + aliases { + led-boot = &led_power; + led-failsafe = &led_power; + led-running = &led_power; + led-upgrade = &led_power; + label-mac-device = ð0; + }; + led_spi { compatible = "spi-gpio"; #address-cells = <1>; @@ -50,18 +58,10 @@ }; }; - aliases { - led-boot = &power; - led-failsafe = &power; - led-running = &power; - led-upgrade = &power; - label-mac-device = ð0; - }; - leds { compatible = "gpio-leds"; - power: power { + led_power: power { label = "tp-link:green:power"; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; default-state = "on"; @@ -118,6 +118,7 @@ &spi { status = "okay"; + num-cs = <1>; flash@0 { @@ -178,21 +179,24 @@ }; ð0 { + status = "okay"; + phy-mode = "mii"; phy-handle = <&swphy4>; - status = "okay"; mtd-mac-address = <&info 0x8>; }; ð1 { status = "okay"; + mtd-mac-address = <&info 0x8>; mtd-mac-address-increment = <1>; }; &wmac { status = "okay"; + mtd-cal-data = <&art 0x1000>; mtd-mac-address = <&info 0x8>; }; |