e1a934fc47f91ea8f91ae3157d0b8cf4734fb710
[oweals/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / EASY88444.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 FTTdp G.FAST Reference Board";
9         compatible = "lantiq,easy88444", "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", "io37";
32                         lantiq,function = "gpio";
33                 };
34         };
35
36         easy88444-leds {
37                 compatible = "gpio-leds";
38                 pinctrl-names = "default";
39                 pinctrl-0 = <&led_pins &bootled_pins>;
40
41                 GPON {
42                         label = "easy88444:green:gpon";
43                         gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
44                 };
45                 TEST {
46                         label = "easy88444:green:test";
47                         gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
48                 };
49                 STATUS {
50                         label = "easy88444:green:status";
51                         gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
52                 };
53
54                 GFAST1 {
55                         label = "easy88444:gfast:1";
56                         gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
57                 };
58                 GFAST2 {
59                         label = "easy88444:gfast:2";
60                         gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
61                 };
62                 GFAST3 {
63                         label = "easy88444:gfast:3";
64                         gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
65                 };
66                 GFAST4 {
67                         label = "easy88444:gfast:4";
68                         gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
69                 };
70         };
71 };
72