kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / rt3052_unbranded_wr512-3gn.dtsi
1 #include "rt3050.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7         compatible = "unbranded,wr512-3gn", "ralink,rt3052-soc";
8
9         aliases {
10                 led-boot = &led_wps;
11                 led-failsafe = &led_wps;
12                 led-running = &led_wps;
13                 led-upgrade = &led_wps;
14         };
15
16         leds {
17                 compatible = "gpio-leds";
18
19                 3g {
20                         label = "wr512-3gn:green:3g";
21                         gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
22                 };
23
24                 gateway {
25                         label = "wr512-3gn:green:gateway";
26                         gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
27                 };
28
29                 ap {
30                         label = "wr512-3gn:green:ap";
31                         gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
32                 };
33
34                 led_wps: wps {
35                         label = "wr512-3gn:green:wps";
36                         gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
37                 };
38
39                 station {
40                         label = "wr512-3gn:green:station";
41                         gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
42                 };
43         };
44
45         keys {
46                 compatible = "gpio-keys-polled";
47                 poll-interval = <20>;
48
49                 reset_wps {
50                         label = "reset_wps";
51                         gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
52                         linux,code = <KEY_RESTART>;
53                 };
54
55                 mode {
56                         label = "mode";
57                         gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
58                         linux,code = <BTN_0>;
59                 };
60         };
61 };
62
63 &state_default {
64         gpio {
65                 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
66                 function = "gpio";
67         };
68 };
69
70 &esw {
71         mediatek,portmap = <0x2f>;
72 };
73
74 &wmac {
75         ralink,mtd-eeprom = <&factory 0>;
76 };
77
78 &otg {
79         status = "okay";
80 };