]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/mips/MT7620a_V22SG.dts
Upgrade Unbound to 1.6.0. More to follow.
[FreeBSD/FreeBSD.git] / sys / gnu / dts / mips / MT7620a_V22SG.dts
1 /dts-v1/;
2
3 #include "mt7620a.dtsi"
4
5 / {
6         compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
7         model = "Ralink MT7620a V22SG High Power evaluation board";
8
9         gpio-keys-polled {
10                 compatible = "gpio-keys-polled";
11                 #address-cells = <1>;
12                 #size-cells = <0>;
13                 poll-interval = <20>;
14
15                 reset {
16                         label = "reset";
17                         gpios = <&gpio0 1 1>;
18                         linux,code = <0x198>;
19                 };
20
21                 aoss {
22                         label = "aoss";
23                         gpios = <&gpio0 2 1>;
24                         linux,code = <0x211>;
25                 };
26         };
27
28         nand {
29                 #address-cells = <1>;
30                 #size-cells = <1>;
31                 compatible = "mtk,mt7620-nand";
32
33                 partition@0 {
34                         label = "u-boot";
35                         reg = <0x0 0x40000>;
36                         read-only;
37                 };
38
39                 partition@40000 {
40                         label = "u-boot-env";
41                         reg = <0x40000 0x20000>;
42                         read-only;
43                 };
44
45                 factory: partition@60000 {
46                         label = "factory";
47                         reg = <0x60000 0x20000>;
48                         read-only;
49                 };
50
51                 partition@80000 {
52                         label = "firmware";
53                         reg = <0x80000 0x7f80000>;
54                 };
55         };
56 };
57
58 &pinctrl {
59         state_default: pinctrl0 {
60                 gpio {
61                         ralink,group = "i2c", "uartf", "spi";
62                         ralink,function = "gpio";
63                 };
64         };
65 };
66
67 &ethernet {
68         status = "okay";
69         pinctrl-names = "default";
70         pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
71         mediatek,portmap = "llllw";
72
73         port@4 {
74                 status = "okay";
75                 phy-handle = <&phy4>;
76                 phy-mode = "rgmii";
77         };
78
79         port@5 {
80                 status = "okay";
81                 phy-handle = <&phy5>;
82                 phy-mode = "rgmii";
83         };
84
85         mdio-bus {
86                 status = "okay";
87
88                 phy4: ethernet-phy@4 {
89                         reg = <4>;
90                         phy-mode = "rgmii";
91                 };
92
93                 phy5: ethernet-phy@5 {
94                         reg = <5>;
95                         phy-mode = "rgmii";
96                 };
97         };
98 };
99
100 &gsw {
101         mediatek,port4 = "gmac";
102 };
103
104 &pcie {
105         status = "okay";
106 };
107
108 &ehci {
109         status = "okay";
110 };
111
112 &ohci {
113         status = "okay";
114 };