kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_zbtlink_zbt-we826.dtsi
1 #include "mt7620a.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7         compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc";
8
9         aliases {
10                 led-boot = &led_power;
11                 led-failsafe = &led_power;
12                 led-running = &led_power;
13                 led-upgrade = &led_power;
14         };
15
16         chosen {
17                 bootargs = "console=ttyS0,115200";
18         };
19
20         leds {
21                 compatible = "gpio-leds";
22
23                 led_power: power {
24                         label = "zbt-we826:green:power";
25                         gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
26                 };
27
28                 usb {
29                         label = "zbt-we826:green:usb";
30                         gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
31                         trigger-sources = <&ohci_port1>, <&ehci_port1>;
32                         linux,default-trigger = "usbport";
33                 };
34
35                 air {
36                         label = "zbt-we826:green:wifi";
37                         gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
38                 };
39         };
40
41         keys {
42                 compatible = "gpio-keys";
43
44                 reset {
45                         label = "reset";
46                         gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
47                         linux,code = <KEY_RESTART>;
48                 };
49         };
50 };
51
52 &gpio0 {
53         status = "okay";
54 };
55
56 &gpio1 {
57         status = "okay";
58 };
59
60 &gpio3 {
61         status = "okay";
62 };
63
64 &sdhci {
65         status = "okay";
66 };
67
68 &ehci {
69         status = "okay";
70 };
71
72 &ohci {
73         status = "okay";
74 };
75
76 &ethernet {
77         mtd-mac-address = <&factory 0x4>;
78         mediatek,portmap = "wllll";
79 };
80
81 &wmac {
82         ralink,mtd-eeprom = <&factory 0>;
83 };
84
85 &state_default {
86         default {
87                 groups = "i2c", "uartf", "wled", "spi refclk", "pa";
88                 function = "gpio";
89         };
90 };
91
92 &pcie {
93         status = "okay";
94 };