lantiq: dts: use generic node names
[oweals/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / 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 = "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         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         leds {
38                 compatible = "gpio-leds";
39                 pinctrl-names = "default";
40                 pinctrl-0 = <&bootled_pins>, <&led_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                 GE0_ACT {
69                         label = "easy98020:ge0_act";
70                         gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
71                 };
72                 GE0_LINK {
73                         label = "easy98020:ge0_link";
74                         gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
75                 };
76                 GE1_ACT {
77                         label = "easy98020:ge1_act";
78                         gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
79                 };
80                 GE1_LINK {
81                         label = "easy98020:ge1_link";
82                         gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
83                 };
84         };
85 };