46fc837f4dae0d0fa6b141782a124d4263bfb1f4
[openwrt/staging/jow.git] / target / linux / lantiq / files / 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 function = LED_FUNCTION_STATUS;
52 color = <LED_COLOR_ID_GREEN>;
53 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
54 default-state = "keep";
55 };
56 VOICE {
57 label = "green:voice";
58 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
59 default-state = "keep";
60 };
61 VIDEO {
62 label = "green:video";
63 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
64 default-state = "keep";
65 };
66
67 GE0_ACT {
68 label = "ge0_act";
69 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
70 };
71 GE0_LINK {
72 label = "ge0_link";
73 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
74 };
75 GE1_ACT {
76 label = "ge1_act";
77 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
78 };
79 GE1_LINK {
80 label = "ge1_link";
81 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
82 };
83 };
84 #include <dt-bindings/leds/common.h>
85
86 };