2c0a51aa7be5ef79d707175d1d8c4acf39a9e3ff
[openwrt/openwrt.git] / target / linux / lantiq / files-5.4 / arch / mips / boot / dts / lantiq / falcon_lantiq_easy98020.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";
8 compatible = "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: phy-led-pins {
30 lantiq,pins = "io42", "io41", "io38", "io37";
31 lantiq,function = "gpio";
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37 pinctrl-names = "default";
38 pinctrl-0 = <&bootled_pins>, <&led_pins>;
39
40 GPON {
41 label = "green:gpon";
42 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
43 default-state = "keep";
44 };
45 TEST {
46 label = "green:test";
47 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
48 default-state = "keep";
49 };
50 ETH {
51 label = "green:status";
52 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
53 default-state = "keep";
54 };
55 VOICE {
56 label = "green:voice";
57 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
58 default-state = "keep";
59 };
60 VIDEO {
61 label = "green:video";
62 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
63 default-state = "keep";
64 };
65
66 GE0_ACT {
67 label = "ge0_act";
68 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
69 };
70 GE0_LINK {
71 label = "ge0_link";
72 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
73 };
74 GE1_ACT {
75 label = "ge1_act";
76 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
77 };
78 GE1_LINK {
79 label = "ge1_link";
80 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
81 };
82 };
83 };