lantiq: add 3.18 support
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / MT7620a_V22SG.dts
1 /dts-v1/;
2
3 /include/ "mt7620a.dtsi"
4
5 / {
6 compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
7 model = "Ralink MT7620a V22SG High Power evaluation board";
8
9 /*palmbus@10000000 {
10 };*/
11
12 pinctrl {
13 state_default: pinctrl0 {
14 gpio {
15 ralink,group = "i2c", "uartf", "spi";
16 ralink,function = "gpio";
17 };
18 };
19 };
20
21 ethernet@10100000 {
22 status = "okay";
23
24 pinctrl-names = "default";
25 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
26
27 ralink,port-map = "llllw";
28
29 port@4 {
30 status = "okay";
31 phy-handle = <&phy4>;
32 phy-mode = "rgmii";
33 };
34
35 port@5 {
36 status = "okay";
37 phy-handle = <&phy5>;
38 phy-mode = "rgmii";
39 };
40
41 mdio-bus {
42 status = "okay";
43
44 phy4: ethernet-phy@4 {
45 reg = <4>;
46 phy-mode = "rgmii";
47 };
48
49 phy5: ethernet-phy@5 {
50 reg = <5>;
51 phy-mode = "rgmii";
52 };
53 };
54 };
55
56 gsw@10110000 {
57 ralink,port4 = "gmac";
58 };
59
60 pcie@10140000 {
61 status = "okay";
62 };
63
64 ehci@101c0000 {
65 status = "okay";
66 };
67
68 ohci@101c1000 {
69 status = "okay";
70 };
71
72 gpio-keys-polled {
73 compatible = "gpio-keys-polled";
74 #address-cells = <1>;
75 #size-cells = <0>;
76 poll-interval = <20>;
77 reset {
78 label = "reset";
79 gpios = <&gpio0 1 1>;
80 linux,code = <0x198>;
81 };
82 aoss {
83 label = "aoss";
84 gpios = <&gpio0 2 1>;
85 linux,code = <0x211>;
86 };
87 };
88
89 nand {
90 #address-cells = <1>;
91 #size-cells = <1>;
92 compatible = "mtk,mt7620-nand";
93 partition@0 {
94 label = "u-boot";
95 reg = <0x0 0x40000>;
96 read-only;
97 };
98 partition@40000 {
99 label = "u-boot-env";
100 reg = <0x40000 0x20000>;
101 read-only;
102 };
103 factory: partition@60000 {
104 label = "factory";
105 reg = <0x60000 0x20000>;
106 read-only;
107 };
108 partition@80000 {
109 label = "firmware";
110 reg = <0x80000 0x7f80000>;
111 };
112 };
113 };