From f4026ad24d0374bdb8704e8b6ec38e9fd85f5e0e Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Tue, 5 Nov 2019 19:23:33 +0100 Subject: 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 --- target/linux/ath79/dts/ar9331_alfa-network_ap121f.dts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'target/linux/ath79/dts/ar9331_alfa-network_ap121f.dts') diff --git a/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dts b/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dts index 82e6f74074..971d158faf 100644 --- a/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dts +++ b/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dts @@ -12,9 +12,9 @@ aliases { label-mac-device = &wmac; - led-boot = &vpn; - led-failsafe = &vpn; - led-upgrade = &vpn; + led-boot = &led_vpn; + led-failsafe = &led_vpn; + led-upgrade = &led_vpn; serial0 = &uart; }; @@ -42,7 +42,7 @@ gpios = <&gpio 17 GPIO_ACTIVE_LOW>; }; - vpn: vpn { + led_vpn: vpn { label = "ap121f:green:vpn"; gpios = <&gpio 27 GPIO_ACTIVE_LOW>; }; @@ -57,6 +57,7 @@ ð0 { status = "okay"; + mtd-mac-address = <&art 0x0>; gmac-config { @@ -68,6 +69,7 @@ ð1 { status = "okay"; + compatible = "syscon", "simple-mfd"; }; @@ -77,6 +79,7 @@ &spi { status = "okay"; + num-cs = <1>; flash@0 { @@ -130,5 +133,6 @@ &wmac { status = "okay"; + mtd-cal-data = <&art 0x1000>; }; -- cgit v1.2.3