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