lantiq: fix dts error in LED color/function conversion
[openwrt/staging/jow.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / falcon_lantiq_easy88444.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 FTTdp G.FAST Reference Board";
10 compatible = "lantiq,easy88444", "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 keys {
22 compatible = "gpio-keys";
23 reset {
24 label = "reset";
25 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
26 linux,code = <0x198>;
27 };
28 };
29
30 pinctrl {
31 led_pins: led-pins {
32 lantiq,pins = "io34", "io35", "io37";
33 lantiq,function = "gpio";
34 };
35 };
36
37 leds {
38 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&led_pins &bootled_pins>;
41
42 GPON {
43 label = "green:gpon";
44 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
45 };
46 TEST {
47 label = "green:test";
48 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
49 };
50 STATUS {
51 function = LED_FUNCTION_STATUS;
52 color = <LED_COLOR_ID_GREEN>;
53 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
54 };
55
56 GFAST1 {
57 label = "gfast:1";
58 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
59 };
60 GFAST2 {
61 label = "gfast:2";
62 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
63 };
64 GFAST3 {
65 label = "gfast:3";
66 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
67 };
68 GFAST4 {
69 label = "gfast:4";
70 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
71 };
72 };
73 };
74