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