diff options
Diffstat (limited to 'target/linux/ath79/dts')
5 files changed, 17 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts index bb42017c54..923b3df770 100644 --- a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts +++ b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts @@ -10,6 +10,10 @@ compatible = "ubnt,unifi", "qca,ar7241"; model = "Ubiquiti UniFi AP"; + aliases { + led-status = &dome_green; + }; + memory@0 { device_type = "memory"; reg = <0x0 0x4000000>; @@ -36,7 +40,7 @@ leds { compatible = "gpio-leds"; - dome-green { + dome_green: dome-green { label = "ubnt:green:dome"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; }; diff --git a/target/linux/ath79/dts/ar7242_avm_fritz300e.dts b/target/linux/ath79/dts/ar7242_avm_fritz300e.dts index 1dd1698714..07c1f637cb 100644 --- a/target/linux/ath79/dts/ar7242_avm_fritz300e.dts +++ b/target/linux/ath79/dts/ar7242_avm_fritz300e.dts @@ -10,6 +10,10 @@ compatible = "avm,fritz300e", "qca,ar7242"; model = "AVM FRITZ!WLAN Repeater 300E"; + aliases { + led-status = &power; + }; + memory@0 { device_type = "memory"; reg = <0x0 0x4000000>; @@ -32,7 +36,7 @@ leds { compatible = "gpio-leds"; - power { + power: power { label = "fritz300e:green:power"; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; default-state = "on"; @@ -46,6 +50,7 @@ wlan { label = "fritz300e:green:wlan"; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; }; }; diff --git a/target/linux/ath79/dts/ar9330_glinet_ar150.dts b/target/linux/ath79/dts/ar9330_glinet_ar150.dts index 1a97a0da30..721cbe7da5 100644 --- a/target/linux/ath79/dts/ar9330_glinet_ar150.dts +++ b/target/linux/ath79/dts/ar9330_glinet_ar150.dts @@ -12,6 +12,7 @@ aliases { serial0 = &uart; + led-status = &wlan; }; memory@0 { @@ -22,10 +23,11 @@ leds { compatible = "gpio-leds"; - wlan { + wlan: wlan { label = "gl-ar150:orange:wlan"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; default-state = "off"; + linux,default-trigger = "phy0tpt"; }; lan { diff --git a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts index eff3b091ec..19ec733865 100644 --- a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts +++ b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts @@ -11,6 +11,7 @@ compatible = "embeddedwireless,dorin", "qca,ar9331"; aliases { + led-status = &status; serial0 = &uart; }; @@ -22,7 +23,7 @@ leds { compatible = "gpio-leds"; - status { + status: status { label = "dorin:green:status"; gpios = <&gpio 21 GPIO_ACTIVE_LOW>; default-state = "off"; diff --git a/target/linux/ath79/dts/ar9331_etactica-eg200.dts b/target/linux/ath79/dts/ar9331_etactica-eg200.dts index 1dc96081c2..c245fac7c7 100644 --- a/target/linux/ath79/dts/ar9331_etactica-eg200.dts +++ b/target/linux/ath79/dts/ar9331_etactica-eg200.dts @@ -56,6 +56,7 @@ label = "eg200:red:wlan"; gpios = <&gpio 0 GPIO_ACTIVE_LOW>; default-state = "off"; + linux,default-trigger = "phy0tpt"; }; }; }; |