kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / rt5350_asiarf_awm002-evb.dtsi
1 #include "rt5350.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7         compatible = "asiarf,awm002-evb", "ralink,rt5350-soc";
8
9         leds {
10                 compatible = "gpio-leds";
11
12                 tx {
13                         label = "awm002-evb:green:tx";
14                         gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
15                 };
16
17                 rx {
18                         label = "awm002-evb:green:rx";
19                         gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
20                 };
21
22                 wps {
23                         label = "awm002-evb:green:wps";
24                         gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
25                 };
26         };
27
28         keys {
29                 compatible = "gpio-keys-polled";
30                 poll-interval = <20>;
31
32                 reset_wps {
33                         label = "reset_wps";
34                         gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
35                         linux,code = <KEY_RESTART>;
36                 };
37
38                 mode {
39                         label = "mode";
40                         gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
41                         linux,code = <BTN_0>;
42                 };
43         };
44 };
45
46 &ethernet {
47         mtd-mac-address = <&factory 0x28>;
48 };
49
50 &wmac {
51         ralink,mtd-eeprom = <&factory 0>;
52 };
53
54 &state_default {
55         gpio {
56                 groups = "i2c", "jtag";
57                 function = "gpio";
58         };
59 };
60
61 &esw {
62         mediatek,portmap = <0x3f>;
63 };
64
65 &ehci {
66         status = "okay";
67 };
68
69 &ohci {
70         status = "okay";
71 };