lantiq: dts: drop falcon clock node
[openwrt/staging/mkresin.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / EASY98021.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 HGU Reference Board";
10 compatible = "lantiq,easy98021", "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 gpio-mmc {
31 /* Place-holder for SIM-Card connector,
32 to list the used GPIOs, no official binding */
33 compatible = "gpio-mmc";
34 gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>,
35 <&gpio0 3 GPIO_ACTIVE_HIGH>,
36 <&gpio0 2 GPIO_ACTIVE_HIGH>,
37 <0>; /* no CS */
38 gpio-names = "di", "do", "clk", "cs";
39 reset-gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>;
40 };
41
42 pinctrl {
43 led_pins: led-pins {
44 lantiq,pins = "io11", "io14", "io36", "io37", "io38";
45 lantiq,function = "gpio";
46 };
47 };
48
49 easy98021-leds {
50 compatible = "gpio-leds";
51 pinctrl-names = "default";
52 pinctrl-0 = <&led_pins &bootled_pins>;
53
54 GPON {
55 label = "easy98021:green:gpon";
56 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
57 default-state = "keep";
58 };
59 TEST {
60 label = "easy98021:red:test";
61 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
62 default-state = "keep";
63 };
64 ETH {
65 label = "easy98021:green:status";
66 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
67 default-state = "keep";
68 };
69 VOICE {
70 label = "easy98021:green:voice";
71 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
72 default-state = "keep";
73 };
74 SIMCARD {
75 label = "easy98021:green:simcard";
76 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
77 default-state = "keep";
78 };
79 };
80 };
81