ramips: fix dts error in LED color/function conversion
[openwrt/staging/robimarko.git] / target / linux / ramips / dts / mt7628an_wrtnode_wrtnode2p.dts
1 #include <dt-bindings/leds/common.h>
2
3 #include "mt7628an_wrtnode_wrtnode2.dtsi"
4
5 / {
6 compatible = "wrtnode,wrtnode2p", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
7 model = "WRTnode2P";
8
9 aliases {
10 led-boot = &led_indicator;
11 led-failsafe = &led_indicator;
12 led-running = &led_indicator;
13 led-upgrade = &led_indicator;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_indicator: indicator {
20 function = LED_FUNCTION_INDICATOR;
21 color = <LED_COLOR_ID_BLUE>;
22 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
23 };
24 };
25 };
26
27 &state_default {
28 gpio {
29 groups = "i2c", "gpio";
30 function = "gpio";
31 };
32 };