difos/target/linux/ramips/base-files
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
..
etc ramips/leds: use devicetree alias led_wlan 2019-07-02 16:05:28 +02:00
lib ramips: Xiaomi MIR3G: detect board name from DTS 2019-03-21 00:57:54 +01:00
sbin ramips: add support for mqmaker witi 512mb version 2018-05-07 18:54:23 +02:00