880928646154a798e3607da9ba72223d12e18a13
[openwrt.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                 ralink,port-map = "llllw";
64         };
65
66         gsw@10110000 {
67                 ralink,port4 = "ephy";
68         };
69
70         sdhci@10130000 {
71                 status = "okay";
72         };
73
74         pcie@10140000 {
75                 status = "okay";
76         };
77
78         gpio-keys-polled {
79                 compatible = "gpio-keys";
80                 #address-cells = <1>;
81                 #size-cells = <0>;
82                 poll-interval = <20>;
83                 wps {
84                         label = "wps";
85                         gpios = <&gpio0 12 1>;
86                         linux,code = <0x100>;
87                 };
88                 reset {
89                         label = "reset";
90                         gpios = <&gpio0 13 1>;
91                         linux,code = <0x101>;
92                 };
93         };
94 };