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