Alexander Couzens
cc1147072d
ramips/leds: use devicetree alias led_wlan
...
Similiar to the lantiq target use a dts alias to define the wlan led
instead of static mapping in /etc/board.d/01_leds. Reduce code
duplication.
A device tree must define the alias "led-wlan" similiar to "led-boot".
/ {
aliases {
led-wlan = &led_wlan;
};
[..]
led_wlan: wlan {
label = "tl-wr841n-v14:green:wlan";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
};
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2019-07-02 16:05:28 +02:00
..
2019-06-25 16:46:01 +02:00
2019-01-28 18:17:32 +01:00
2019-06-24 16:36:30 +02:00
2018-10-16 15:07:41 +01:00
2018-10-16 15:07:41 +01:00
2019-06-25 14:12:22 +00:00
2019-05-30 12:12:57 +02:00
2018-11-05 16:00:00 +01:00
2019-06-25 14:50:08 +02:00
2019-06-25 16:46:01 +02:00
2019-05-11 11:37:10 +02:00
2019-06-06 12:05:51 +02:00
2019-06-20 15:48:48 +02:00
2019-06-24 16:36:30 +02:00
2019-07-01 16:01:10 +02:00
2019-06-27 17:15:37 +02:00
2019-06-18 16:08:55 +02:00
2019-06-24 20:22:23 +02:00
2019-05-21 09:45:15 +02:00
2019-06-12 15:04:09 +02:00
2019-06-09 14:51:47 +02:00
2019-06-03 12:40:53 +02:00
2019-06-26 07:27:19 +02:00
2019-06-25 14:12:22 +00:00
2019-06-25 16:46:01 +02:00
2019-06-24 20:31:08 +02:00
2019-06-28 21:49:33 +02:00
2019-03-11 19:35:43 +01:00
2019-06-18 16:08:55 +02:00
2019-05-11 17:15:41 +02:00
2019-05-11 17:15:41 +02:00
2018-10-16 15:07:41 +01:00
2019-06-20 15:48:48 +02:00
2019-01-07 17:09:06 +01:00
2019-07-02 16:05:28 +02:00
2019-06-25 14:12:22 +00:00
2019-05-11 17:15:41 +02:00
2019-06-18 16:08:55 +02:00
2019-06-25 14:12:21 +00:00
2019-05-11 17:15:41 +02:00
2019-06-25 14:12:22 +00:00
2019-05-17 21:41:43 +02:00