lantiq: move dts-v1 statement to top-level DTSI files
[openwrt/staging/mkresin.git] / target / linux / lantiq / files-5.4 / 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 = "easy88388:green:gpon";
43 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
44 };
45 TEST {
46 label = "easy88388:green:test";
47 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
48 };
49 STATUS {
50 label = "easy88388:green:status";
51 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
52 };
53 ERROR {
54 label = "easy88388:red:error";
55 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
56 };
57
58 DSL1 {
59 label = "easy88388:dsl:1";
60 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
61 };
62 DSL2 {
63 label = "easy88388:dsl:2";
64 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
65 };
66 DSL3 {
67 label = "easy88388:dsl:3";
68 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
69 };
70 DSL4 {
71 label = "easy88388:dsl:4";
72 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
73 };
74 DSL5 {
75 label = "easy88388:dsl:5";
76 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
77 };
78 DSL6 {
79 label = "easy88388:dsl:6";
80 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
81 };
82 DSL7 {
83 label = "easy88388:dsl:7";
84 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
85 };
86 DSL8 {
87 label = "easy88388:dsl:8";
88 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
89 };
90 };
91 };
92