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