37cf61144ec633ab1f8e87acc016e01a0203ae94
[openwrt/staging/jow.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / falcon_lantiq_easy88388.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 FTTDP8 Reference Board";
8 compatible = "lantiq,easy88388", "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 = "io34", "io35", "io36", "io37", "io38",
31 "io39", "io40", "io41";
32 lantiq,function = "gpio";
33 };
34 };
35
36 leds {
37 compatible = "gpio-leds";
38 pinctrl-names = "default";
39 pinctrl-0 = <&led_pins &bootled_pins>;
40
41 GPON {
42 label = "green:gpon";
43 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
44 };
45 TEST {
46 label = "green:test";
47 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
48 };
49 STATUS {
50 function = LED_FUNCTION_STATUS;
51 color = <LED_COLOR_ID_GREEN>;
52 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
53 };
54 ERROR {
55 label = "red:error";
56 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
57 };
58
59 DSL1 {
60 label = "dsl:1";
61 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
62 };
63 DSL2 {
64 label = "dsl:2";
65 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
66 };
67 DSL3 {
68 label = "dsl:3";
69 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
70 };
71 DSL4 {
72 label = "dsl:4";
73 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
74 };
75 DSL5 {
76 label = "dsl:5";
77 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
78 };
79 DSL6 {
80 label = "dsl:6";
81 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
82 };
83 DSL7 {
84 label = "dsl:7";
85 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
86 };
87 DSL8 {
88 label = "dsl:8";
89 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
90 };
91 };
92 };
93 #include <dt-bindings/leds/common.h>
94
95