c36349ccf5c68f4888ad0d7eb2b258f46d28ca9b
[openwrt/openwrt.git] / target / linux / lantiq / dts / EASY98020.dts
1 /dts-v1/;
2
3 #include <dt-bindings/gpio/gpio.h>
4
5 #include "falcon.dtsi"
6 #include "falcon-sflash-16M.dtsi"
7
8 / {
9 model = "EASY98020 - Lantiq Falcon Reference Board";
10 compatible = "lantiq,easy98020", "lantiq,falcon";
11
12 aliases {
13 spi0 = &ebu_cs0;
14 };
15
16 memory@0 {
17 device_type = "memory";
18 reg = <0x0 0x4000000>; // 64M at 0x0
19 };
20
21 gpio-keys {
22 compatible = "gpio-keys";
23 reset {
24 label = "reset";
25 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
26 linux,code = <0x198>;
27 };
28 };
29
30 pinctrl {
31 led_pins: phy-led-pins {
32 lantiq,pins = "io42", "io41", "io38", "io37";
33 lantiq,function = "gpio";
34 };
35 };
36
37 easy98020-leds {
38 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&bootled_pins>;
41
42 GPON {
43 label = "easy98020:green:gpon";
44 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
45 default-state = "keep";
46 };
47 TEST {
48 label = "easy98020:green:test";
49 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
50 default-state = "keep";
51 };
52 ETH {
53 label = "easy98020:green:status";
54 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
55 default-state = "keep";
56 };
57 VOICE {
58 label = "easy98020:green:voice";
59 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
60 default-state = "keep";
61 };
62 VIDEO {
63 label = "easy98020:green:video";
64 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
65 default-state = "keep";
66 };
67 };
68
69 easy98020-phy-leds {
70 compatible = "gpio-leds";
71 pinctrl-names = "default";
72 pinctrl-0 = <&led_pins>;
73
74 GE0_ACT {
75 label = "easy98020:ge0_act";
76 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
77 default-state = "off";
78 };
79 GE0_LINK {
80 label = "easy98020:ge0_link";
81 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
82 default-state = "off";
83 };
84 GE1_ACT {
85 label = "easy98020:ge1_act";
86 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
87 default-state = "off";
88 };
89 GE1_LINK {
90 label = "easy98020:ge1_link";
91 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
92 default-state = "off";
93 };
94 };
95 };