kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_planex_db-wrt01.dts
1 /dts-v1/;
2
3 #include "mt7620a.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9         compatible = "planex,db-wrt01", "ralink,mt7620a-soc";
10         model = "Planex DB-WRT01";
11
12         aliases {
13                 led-boot = &led_power;
14                 led-failsafe = &led_power;
15                 led-running = &led_power;
16                 led-upgrade = &led_power;
17         };
18
19         leds {
20                 compatible = "gpio-leds";
21
22                 led_power: power {
23                         label = "db-wrt01:orange:power";
24                         gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
25                 };
26         };
27
28         keys {
29                 compatible = "gpio-keys";
30
31                 s1 {
32                         label = "wps";
33                         gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
34                         linux,code = <KEY_WPS_BUTTON>;
35                 };
36         };
37 };
38
39 &gpio1 {
40         status = "okay";
41 };
42
43 &spi0 {
44         status = "okay";
45
46         m25p80@0 {
47                 compatible = "jedec,spi-nor";
48                 reg = <0>;
49                 spi-max-frequency = <10000000>;
50
51                 partitions {
52                         compatible = "fixed-partitions";
53                         #address-cells = <1>;
54                         #size-cells = <1>;
55
56                         partition@0 {
57                                 label = "u-boot";
58                                 reg = <0x0 0x30000>;
59                                 read-only;
60                         };
61
62                         partition@30000 {
63                                 label = "u-boot-env";
64                                 reg = <0x30000 0x10000>;
65                                 read-only;
66                         };
67
68                         factory: partition@40000 {
69                                 label = "factory";
70                                 reg = <0x40000 0x10000>;
71                                 read-only;
72                         };
73
74                         partition@50000 {
75                                 compatible = "denx,uimage";
76                                 label = "firmware";
77                                 reg = <0x50000 0x7b0000>;
78                         };
79                 };
80         };
81 };
82
83 &state_default {
84         gpio {
85                 groups = "i2c", "spi refclk", "rgmii1";
86                 function = "gpio";
87         };
88 };
89
90 &ethernet {
91         pinctrl-names = "default";
92         pinctrl-0 = <&ephy_pins>;
93         mtd-mac-address = <&factory 0x4>;
94         mediatek,portmap = "llllw";
95 };
96
97 &gsw {
98         mediatek,port4 = "ephy";
99 };
100
101 &wmac {
102         ralink,mtd-eeprom = <&factory 0>;
103 };