kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7621_thunder_timecloud.dts
1 /dts-v1/;
2
3 #include "mt7621.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9         compatible = "thunder,timecloud", "mediatek,mt7621-soc";
10         model = "Thunder Timecloud";
11
12         aliases {
13                 led-boot = &led_statuso;
14                 led-failsafe = &led_statuso;
15                 led-running = &led_statuso;
16                 led-upgrade = &led_statuso;
17         };
18
19         chosen {
20                 bootargs = "console=ttyS0,115200";
21         };
22
23         leds {
24                 compatible = "gpio-leds";
25
26                 statw {
27                         label = "timecloud:white:status";
28                         gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
29                 };
30
31                 led_statuso: stato {
32                         label = "timecloud:orange:status";
33                         gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
34                 };
35         };
36
37         keys {
38                 compatible = "gpio-keys";
39
40                 reset {
41                         label = "reset";
42                         gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
43                         linux,code = <KEY_RESTART>;
44                 };
45
46                 BTN_0 {
47                         label = "BTN_0";
48                         gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
49                         linux,code = <BTN_0>;
50                 };
51         };
52 };
53
54 &sdhci {
55         status = "okay";
56 };
57
58 &spi0 {
59         status = "okay";
60
61         m25p80@0 {
62                 compatible = "jedec,spi-nor";
63                 reg = <0>;
64                 spi-max-frequency = <10000000>;
65
66                 partitions {
67                         compatible = "fixed-partitions";
68                         #address-cells = <1>;
69                         #size-cells = <1>;
70
71                         partition@0 {
72                                 label = "u-boot";
73                                 reg = <0x0 0x30000>;
74                                 read-only;
75                         };
76
77                         partition@30000 {
78                                 label = "u-boot-env";
79                                 reg = <0x30000 0x10000>;
80                                 read-only;
81                         };
82
83                         factory: partition@40000 {
84                                 label = "factory";
85                                 reg = <0x40000 0x10000>;
86                                 read-only;
87                         };
88
89                         partition@50000 {
90                                 compatible = "denx,uimage";
91                                 label = "firmware";
92                                 reg = <0x50000 0xfb0000>;
93                         };
94                 };
95         };
96 };
97
98 &gmac0 {
99         mtd-mac-address = <&factory 0xe000>;
100 };
101
102 &switch0 {
103         ports {
104                 port@4 {
105                         status = "okay";
106                         label = "lan";
107                 };
108         };
109 };
110
111 &state_default {
112         gpio {
113                 groups = "i2c", "uart2", "jtag";
114                 function = "gpio";
115         };
116 };