86f3b47c6bfb5050777413c96f865a72c82f754a
[oweals/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / EASY88388.dts
1 /dts-v1/;
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include "falcon.dtsi"
5 #include "falcon-sflash-16M.dtsi"
6
7 / {
8         model = "Lantiq Falcon FTTDP8 Reference Board";
9         compatible = "lantiq,easy88388", "lantiq,falcon";
10
11         aliases {
12                 spi0 = &ebu_cs0;
13         };
14
15         memory@0 {
16                 device_type = "memory";
17                 reg = <0x0 0x4000000>;  // 64M at 0x0
18         };
19
20         gpio-keys {
21                 compatible = "gpio-keys";
22                 reset {
23                         label = "reset";
24                         gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
25                         linux,code = <0x198>;
26                 };
27         };
28
29         pinctrl {
30                 led_pins: led-pins {
31                         lantiq,pins = "io34", "io35", "io36", "io37", "io38",
32                                         "io39", "io40", "io41";
33                         lantiq,function = "gpio";
34                 };
35         };
36
37         easy88388-leds {
38                 compatible = "gpio-leds";
39                 pinctrl-names = "default";
40                 pinctrl-0 = <&led_pins &bootled_pins>;
41
42                 GPON {
43                         label = "easy88388:green:gpon";
44                         gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
45                 };
46                 TEST {
47                         label = "easy88388:green:test";
48                         gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
49                 };
50                 STATUS {
51                         label = "easy88388:green:status";
52                         gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
53                 };
54                 ERROR {
55                         label = "easy88388:red:error";
56                         gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
57                 };
58
59                 DSL1 {
60                         label = "easy88388:dsl:1";
61                         gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
62                 };
63                 DSL2 {
64                         label = "easy88388:dsl:2";
65                         gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
66                 };
67                 DSL3 {
68                         label = "easy88388:dsl:3";
69                         gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
70                 };
71                 DSL4 {
72                         label = "easy88388:dsl:4";
73                         gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
74                 };
75                 DSL5 {
76                         label = "easy88388:dsl:5";
77                         gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
78                 };
79                 DSL6 {
80                         label = "easy88388:dsl:6";
81                         gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
82                 };
83                 DSL7 {
84                         label = "easy88388:dsl:7";
85                         gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
86                 };
87                 DSL8 {
88                         label = "easy88388:dsl:8";
89                         gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
90                 };
91         };
92 };
93