03b8043dd17030faa6cf0a2b80cd703c8e29d78b
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / 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
10 palmbus@10000000 {
11 sysc@0 {
12 ralink,pinmux = "spi", "uartlite", "mdio", "wled", "ephy", "rgmii1", "rgmii2";
13 ralink,gpiomux = "i2c", "jtag";
14 ralink,uartmux = "gpio";
15 ralink,wdtmux = <1>;
16 };
17
18 gpio0: gpio@600 {
19 status = "okay";
20 };
21
22 spi@b00 {
23 status = "okay";
24
25 m25p80@0 {
26 #address-cells = <1>;
27 #size-cells = <1>;
28 compatible = "en25q64";
29 reg = <0 0>;
30 linux,modalias = "m25p80", "en25q64";
31 spi-max-frequency = <10000000>;
32
33 partition@0 {
34 label = "u-boot";
35 reg = <0x0 0x30000>;
36 read-only;
37 };
38
39 partition@30000 {
40 label = "u-boot-env";
41 reg = <0x30000 0x10000>;
42 read-only;
43 };
44
45 factory: partition@40000 {
46 label = "factory";
47 reg = <0x40000 0x10000>;
48 read-only;
49 };
50
51 partition@50000 {
52 label = "firmware";
53 reg = <0x50000 0x7b0000>;
54 };
55 };
56 };
57 };
58
59 ethernet@10100000 {
60 status = "okay";
61 };
62
63 gsw@10110000 {
64 status = "okay";
65 ralink,port4 = "ephy";
66 };
67
68 sdhci@10130000 {
69 status = "okay";
70 };
71
72 pcie@10140000 {
73 status = "okay";
74 };
75
76 gpio-keys-polled {
77 compatible = "gpio-keys";
78 #address-cells = <1>;
79 #size-cells = <0>;
80 poll-interval = <20>;
81 wps {
82 label = "wps";
83 gpios = <&gpio0 12 1>;
84 linux,code = <0x100>;
85 };
86 reset {
87 label = "reset";
88 gpios = <&gpio0 13 1>;
89 linux,code = <0x101>;
90 };
91 };
92 };