136f56c9ff2d6d0735dcdab398a239e86f93bcd1
[openwrt/openwrt.git] / target / linux / lantiq / dts / EASY98020V18.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 = "EASY98020V18 - Lantiq Falcon Reference Board V1.8";
10 compatible = "lantiq,falcon-easy98020-V18", "lantiq,falcon-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: led-pins {
32 lantiq,pins = "io11", "io14", "io36", "io37", "io38";
33 lantiq,function = "gpio";
34 };
35 };
36
37 easy98020-leds {
38 compatible = "gpio-leds";
39 pinctrl-names = "default";
40 pinctrl-0 = <&led_pins &bootled_pins>;
41
42 GPON {
43 label = "easy98020:green:gpon";
44 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
45 default-state = "keep";
46 };
47 TEST {
48 label = "easy98020:green:test";
49 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
50 default-state = "keep";
51 };
52 ETH {
53 label = "easy98020:green:status";
54 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
55 default-state = "keep";
56 };
57 VOICE {
58 label = "easy98020:green:voice";
59 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
60 default-state = "keep";
61 };
62 VIDEO {
63 label = "easy98020:green:video";
64 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
65 default-state = "keep";
66 };
67 };
68 };