f4e6de8e9e030e541cf0270344030b860637d6e9
[openwrt/staging/jow.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / falcon_lantiq_easy98020-v18.dts
1 #include "falcon.dtsi"
2 #include "falcon_sflash-16m.dtsi"
3
4 #include <dt-bindings/gpio/gpio.h>
5
6 / {
7 model = "Lantiq Falcon Reference Board V1.8";
8 compatible = "lantiq,easy98020-v18", "lantiq,easy98020", "lantiq,falcon";
9
10 aliases {
11 spi0 = &ebu_cs0;
12 };
13
14 memory@0 {
15 device_type = "memory";
16 reg = <0x0 0x4000000>; // 64M at 0x0
17 };
18
19 keys {
20 compatible = "gpio-keys";
21 reset {
22 label = "reset";
23 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
24 linux,code = <0x198>;
25 };
26 };
27
28 pinctrl {
29 led_pins: led-pins {
30 lantiq,pins = "io11", "io14", "io36", "io37", "io38";
31 lantiq,function = "gpio";
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37 pinctrl-names = "default";
38 pinctrl-0 = <&led_pins &bootled_pins>;
39
40 GPON {
41 label = "green:gpon";
42 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
43 default-state = "keep";
44 };
45 TEST {
46 label = "green:test";
47 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
48 default-state = "keep";
49 };
50 ETH {
51 function = LED_FUNCTION_STATUS;
52 color = <LED_COLOR_ID_GREEN>;
53 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
54 default-state = "keep";
55 };
56 VOICE {
57 label = "green:voice";
58 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
59 default-state = "keep";
60 };
61 VIDEO {
62 label = "green:video";
63 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
64 default-state = "keep";
65 };
66 };
67 #include <dt-bindings/leds/common.h>
68
69 };