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-11-05 16:00:00 +01:00
2019-06-25 16:46:01 +02:00
2019-06-20 15:48:48 +02:00
2019-06-24 16:36:30 +02:00
2019-05-21 09:45:15 +02:00
2019-06-12 15:04:09 +02:00
2019-06-03 12:40:53 +02:00
2019-06-25 16:46:01 +02:00
2019-03-11 19:35:43 +01:00
2019-05-11 17:15:41 +02:00
2019-06-20 15:48:48 +02:00
2019-01-07 17:09:06 +01:00
2019-06-25 14:12:21 +00:00
2019-05-11 17:15:41 +02:00