aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts18
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/01_leds4
2 files changed, 10 insertions, 12 deletions
diff --git a/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
index 68e1995c76..d81d477227 100644
--- a/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
+++ b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
@@ -12,29 +12,31 @@
aliases {
serial0 = &uart;
- led-boot = &led_wlan;
- led-failsafe = &led_wlan;
- led-upgrade = &led_wlan;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = &eth0;
};
leds {
compatible = "gpio-leds";
- led_wlan: wlan {
+ wlan {
label = "gl-ar150:orange:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
- lan {
- label = "gl-ar150:green:lan";
+ configurable {
+ label = "gl-ar150:green:configurable";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
- wan {
- label = "gl-ar150:green:wan";
+ led_power: power {
+ label = "gl-ar150:green:power";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
};
};
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds
index 8e3b5e17af..d4fdb423ab 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds
@@ -125,10 +125,6 @@ glinet,6408|\
glinet,6416)
ucidef_set_led_netdev "lan" "LAN" "gl-inet:green:lan" "eth0"
;;
-glinet,gl-ar150)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1"
- ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x02"
- ;;
glinet,gl-ar300m-lite)
ucidef_set_led_netdev "lan" "LAN" "gl-ar300m-lite:green:lan" "eth0"
;;