lantiq: fix dts error in LED color/function conversion
[openwrt/staging/jow.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / falcon_lantiq_falcon-mdu.dts
1 #include <dt-bindings/leds/common.h>
2
3 #include "falcon.dtsi"
4 #include "falcon_sflash-16m.dtsi"
5
6 #include <dt-bindings/gpio/gpio.h>
7
8 / {
9 model = "Lantiq Falcon / Vinax MDU Board";
10 compatible = "lantiq,falcon-mdu", "lantiq,falcon";
11
12 aliases {
13 spi0 = &ebu_cs0;
14 };
15
16 memory@0 {
17 device_type = "memory";
18 reg = <0x0 0x4000000>; // 64M at 0x0
19 };
20
21 leds {
22 compatible = "gpio-leds";
23 pinctrl-names = "default";
24 pinctrl-0 = <&bootled_pins>;
25
26 LED_0 {
27 label = "green:gpon";
28 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
29 default-state = "keep";
30 };
31 LED_1 {
32 function = LED_FUNCTION_STATUS;
33 color = <LED_COLOR_ID_GREEN>;
34 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
35 default-state = "keep";
36 };
37 LED_2 {
38 label = "green:2";
39 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
40 default-state = "keep";
41 };
42 LED_3 {
43 label = "green:3";
44 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
45 default-state = "keep";
46 };
47 LED_4 {
48 label = "green:4";
49 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
50 default-state = "keep";
51 };
52 };
53 };
54