]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/mips/MT7620a_MT7610e.dts
Merge sendmail 8.16.1 to HEAD: See contrib/sendmail/RELEASE_NOTES for details
[FreeBSD/FreeBSD.git] / sys / gnu / dts / mips / MT7620a_MT7610e.dts
1 /dts-v1/;
2
3 #include "mt7620a.dtsi"
4
5 / {
6         compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
7         model = "Ralink MT7620A evaluation board";
8
9         gpio-keys-polled {
10                 compatible = "gpio-keys";
11                 #address-cells = <1>;
12                 #size-cells = <0>;
13                 poll-interval = <20>;
14
15                 wps {
16                         label = "wps";
17                         gpios = <&gpio0 12 1>;
18                         linux,code = <0x100>;
19                 };
20
21                 reset {
22                         label = "reset";
23                         gpios = <&gpio0 13 1>;
24                         linux,code = <0x101>;
25                 };
26         };
27 };
28
29 &gpio0 {
30         status = "okay";
31 };
32
33 &spi0 {
34         status = "okay";
35
36         m25p80@0 {
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39                 compatible = "jedec,spi-nor";
40                 reg = <0>;
41                 linux,modalias = "m25p80", "en25q64";
42                 spi-max-frequency = <1000000>;
43
44                 partition@0 {
45                         label = "u-boot";
46                         reg = <0x0 0x30000>;
47                         read-only;
48                 };
49
50                 partition@30000 {
51                         label = "u-boot-env";
52                         reg = <0x30000 0x10000>;
53                         read-only;
54                 };
55
56                 factory: partition@40000 {
57                         label = "factory";
58                         reg = <0x40000 0x10000>;
59                         read-only;
60                 };
61
62                 partition@50000 {
63                         label = "firmware";
64                         reg = <0x50000 0x7b0000>;
65                 };
66         };
67 };
68
69 &ethernet {
70         status = "okay";
71         pinctrl-names = "default";
72         pinctrl-0 = <&ephy_pins>;
73         mediatek,portmap = "llllw";
74 };
75
76 &gsw {
77         mediatek,port4 = "ephy";
78 };
79
80 &sdhci {
81         status = "okay";
82 };
83
84 &pcie {
85         status = "okay";
86 };