kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620n_kimax_u35wf.dts
1 /dts-v1/;
2
3 #include "mt7620n.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9         compatible = "kimax,u35wf","ralink,mt7620n-soc";
10         model = "Kimax U35WF";
11
12         aliases {
13                 led-boot = &led_wifi;
14                 led-failsafe = &led_wifi;
15                 led-running = &led_wifi;
16                 led-upgrade = &led_wifi;
17         };
18
19         keys {
20                 compatible = "gpio-keys";
21
22                 reset {
23                         label = "reset";
24                         gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
25                         linux,code = <KEY_RESTART>;
26                 };
27         };
28
29         leds {
30                 compatible = "gpio-leds";
31
32                 led_wifi: wifi {
33                         label = "u35wf:blue:wifi";
34                         gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
35                 };
36
37                 lan {
38                         label = "u35wf:green:eth";
39                         gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
40                 };
41         };
42 };
43
44 &gpio2 {
45         status = "okay";
46 };
47
48 &gpio3 {
49         status = "okay";
50 };
51
52 &spi0 {
53         status = "okay";
54
55         m25p80@0 {
56                 compatible = "jedec,spi-nor";
57                 reg = <0>;
58                 spi-max-frequency = <10000000>;
59
60                 partitions {
61                         compatible = "fixed-partitions";
62                         #address-cells = <1>;
63                         #size-cells = <1>;
64
65                         partition@0 {
66                                 label = "u-boot";
67                                 reg = <0x0 0x30000>;
68                                 read-only;
69                         };
70
71                         partition@30000 {
72                                 label = "u-boot-env";
73                                 reg = <0x30000 0x10000>;
74                                 read-only;
75                         };
76
77                         factory: partition@40000 {
78                                 label = "factory";
79                                 reg = <0x40000 0x10000>;
80                                 read-only;
81                         };
82
83                         partition@50000 {
84                                 compatible = "denx,uimage";
85                                 label = "firmware";
86                                 reg = <0x50000 0xfb0000>;
87                         };
88                 };
89         };
90 };
91
92 &ehci {
93         status = "okay";
94 };
95
96 &ohci {
97         status = "okay";
98 };
99
100 &ethernet {
101         mtd-mac-address = <&factory 0x4>;
102 };
103
104 &wmac {
105         ralink,mtd-eeprom = <&factory 0>;
106 };
107
108 &state_default {
109         default {
110                 groups = "ephy", "wled";
111                 function = "gpio";
112         };
113 };