mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
mvebu: rb5009: convert LEDs to color/function
Since we are trying to get rid of using labels, lets convert RB5009 to the function/color combo. Link: https://github.com/openwrt/openwrt/pull/15927 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
d44eb32317
commit
e0faad2a79
@ -72,23 +72,27 @@
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_user: user {
|
||||
label = "green:user";
|
||||
function = "user";
|
||||
gpios = <&cp0_gpio2 26 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
};
|
||||
|
||||
sfp {
|
||||
label = "green:sfp";
|
||||
function = "sfp";
|
||||
gpios = <&cp0_gpio2 25 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
};
|
||||
|
||||
hdr1 {
|
||||
label = "blue:hdr1";
|
||||
function = "hdr1";
|
||||
gpios = <&cp0_gpio1 4 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
};
|
||||
|
||||
hdr2 {
|
||||
label = "blue:hdr2";
|
||||
function = "hdr2";
|
||||
gpios = <&cp0_gpio2 19 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user