From: Adrian Schmutzler Date: Wed, 4 Sep 2019 11:51:02 +0000 (+0200) Subject: ath79: improve DTS for TP-Link Archer D50 v1 X-Git-Tag: v21.02.0-rc1~4880 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=273a6cb562b1b993666670f32350c6d7ef51b49b;p=openwrt%2Fopenwrt.git ath79: improve DTS for TP-Link Archer D50 v1 This addresses several issues in the DTS file: - add diag LED support - remove unused node names - fix whitespace issues Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts index 828e403019..e6b5be9244 100644 --- a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts +++ b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts @@ -11,6 +11,10 @@ model = "TP-Link Archer D50 v1"; aliases { + led-boot = &system; + led-failsafe = &system; + led-running = &system; + led-upgrade = &system; label-mac-device = &wmac; }; @@ -18,22 +22,22 @@ bootargs = "console=ttyS0,115200n8"; }; - gpio_leds: leds { + leds { compatible = "gpio-leds"; - led_wlan2g: wlan2g { + wlan2g { label = "tp-link:white:wlan2g"; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; }; - led_wlan5g: wlan5g { + wlan5g { label = "tp-link:white:wlan5g"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy1tpt"; }; - qss_led: qss { + qss { label = "tp-link:white:qss"; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; }; @@ -60,7 +64,7 @@ gpios = <&gpio 13 GPIO_ACTIVE_LOW>; }; - system: system{ + system: system { label = "tp-link:white:system"; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; default-state = "on"; @@ -107,7 +111,7 @@ #address-cells = <1>; #size-cells = <1>; - uboot: partition@0 { + partition@0 { label = "u-boot"; reg = <0x000000 0x020000>; read-only;