lantiq: add Falcon support
[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 = "EASY98020 - Lantiq Falcon Reference Board V1.8";
10 compatible = "lantiq,falcon-easy98020-V18", "lantiq,falcon-easy98020", "lantiq,falcon";
11
12 chosen {
13 bootargs-append = "console=ttyLTQ0,115200 init=/etc/preinit";
14 };
15
16 aliases {
17 spi0 = &ebu_cs0;
18 };
19
20 memory@0 {
21 device_type = "memory";
22 reg = <0x0 0x4000000>; // 64M at 0x0
23 };
24
25 gpio-keys {
26 compatible = "gpio-keys";
27 reset {
28 label = "reset";
29 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
30 linux,code = <0x198>;
31 };
32 };
33
34 pinctrl {
35 led_pins: led-pins {
36 lantiq,pins = "io11", "io14", "io36", "io37", "io38";
37 lantiq,function = "gpio";
38 };
39 };
40
41 easy98020-leds {
42 compatible = "gpio-leds";
43 pinctrl-names = "default";
44 pinctrl-0 = <&led_pins &bootled_pins>;
45
46 GPON {
47 label = "easy98020:green:gpon";
48 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
49 default-state = "keep";
50 };
51 TEST {
52 label = "easy98020:green:test";
53 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
54 default-state = "keep";
55 };
56 ETH {
57 label = "easy98020:green:status";
58 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
59 default-state = "keep";
60 };
61 VOICE {
62 label = "easy98020:green:voice";
63 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
64 default-state = "keep";
65 };
66 VIDEO {
67 label = "easy98020:green:video";
68 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
69 default-state = "keep";
70 };
71 };
72 };