kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_ralink_mt7620a-v22sg-evb.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 = "ralink,mt7620a-v22sg-evb", "ralink,mt7620a-soc";
10         model = "Ralink MT7620a V22SG High Power evaluation board";
11
12         keys {
13                 compatible = "gpio-keys";
14
15                 reset {
16                         label = "reset";
17                         gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
18                         linux,code = <KEY_RESTART>;
19                 };
20
21                 aoss {
22                         label = "aoss";
23                         gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
24                         linux,code = <KEY_WPS_BUTTON>;
25                 };
26         };
27
28         nand {
29                 compatible = "mtk,mt7620-nand";
30
31                 partitions {
32                         compatible = "fixed-partitions";
33                         #address-cells = <1>;
34                         #size-cells = <1>;
35
36                         partition@0 {
37                                 label = "u-boot";
38                                 reg = <0x0 0x40000>;
39                                 read-only;
40                         };
41
42                         partition@40000 {
43                                 label = "u-boot-env";
44                                 reg = <0x40000 0x20000>;
45                                 read-only;
46                         };
47
48                         factory: partition@60000 {
49                                 label = "factory";
50                                 reg = <0x60000 0x20000>;
51                                 read-only;
52                         };
53
54                         partition@80000 {
55                                 compatible = "denx,uimage";
56                                 label = "firmware";
57                                 reg = <0x80000 0x7f80000>;
58                         };
59                 };
60         };
61 };
62
63 &state_default {
64         gpio {
65                 groups = "i2c", "uartf", "spi";
66                 function = "gpio";
67         };
68 };
69
70 &ethernet {
71         status = "okay";
72         pinctrl-names = "default";
73         pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
74         mediatek,portmap = "llllw";
75
76         port@4 {
77                 status = "okay";
78                 phy-handle = <&phy4>;
79                 phy-mode = "rgmii";
80         };
81
82         port@5 {
83                 status = "okay";
84                 phy-handle = <&phy5>;
85                 phy-mode = "rgmii";
86         };
87
88         mdio-bus {
89                 status = "okay";
90
91                 phy4: ethernet-phy@4 {
92                         reg = <4>;
93                         phy-mode = "rgmii";
94                 };
95
96                 phy5: ethernet-phy@5 {
97                         reg = <5>;
98                         phy-mode = "rgmii";
99                 };
100         };
101 };
102
103 &gsw {
104         mediatek,port4 = "gmac";
105 };
106
107 &pcie {
108         status = "okay";
109 };
110
111 &ehci {
112         status = "okay";
113 };
114
115 &ohci {
116         status = "okay";
117 };