ralink: add support for the mt7530 eval board
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / TEW-692GR.dts
1 /dts-v1/;
2
3 /include/ "rt3883.dtsi"
4
5 / {
6 compatible = "TEW-692GR", "ralink,rt3883-soc";
7 model = "TRENDnet TEW-692GR";
8
9 palmbus@10000000 {
10 gpio1: gpio@638 {
11 status = "okay";
12 };
13 };
14
15 pinctrl {
16 state_default: pinctrl0 {
17 gpio {
18 ralink,group = "spi", "i2c", "jtag", "uartf";
19 ralink,function = "gpio";
20 };
21 };
22 };
23
24 ethernet@10100000 {
25 status = "okay";
26 port@0 {
27 phy-handle = <&phy0>;
28 phy-mode = "rgmii";
29 };
30 mdio-bus {
31 status = "okay";
32
33 phy0: ethernet-phy@0 {
34 reg = <0>;
35 };
36 };
37 };
38
39 pci@10140000 {
40 status = "okay";
41
42 pinctrl-names = "default";
43 pinctrl-0 = <&pci_pins>;
44 pci_pins: pci {
45 pci {
46 ralink,group = "pci";
47 ralink,function = "pci-fnc";
48 };
49 };
50
51 host-bridge {
52 pci-bridge@1 {
53 status = "okay";
54 };
55 };
56 };
57
58 wmac@10180000 {
59 ralink,5ghz = <0>;
60 };
61
62 nor-flash@1c000000 {
63 compatible = "cfi-flash";
64 reg = <0x1c000000 0x800000>;
65
66 bank-width = <2>;
67 #address-cells = <1>;
68 #size-cells = <1>;
69
70 partition@0 {
71 reg = <0x0 0x0030000>;
72 label = "u-boot";
73 read-only;
74 };
75
76 partition@30000 {
77 reg = <0x00030000 0x00010000>;
78 label = "u-boot-env";
79 read-only;
80 };
81
82 partition@40000 {
83 reg = <0x00040000 0x00010000>;
84 label = "factory";
85 read-only;
86 };
87
88 partition@50000 {
89 reg = <0x00050000 0x007b0000>;
90 label = "firmware";
91 };
92 };
93
94 gpio-keys-polled {
95 compatible = "gpio-keys-polled";
96 #address-cells = <1>;
97 #size-cells = <0>;
98 poll-interval = <100>;
99 reset {
100 label = "reset";
101 gpios = <&gpio0 10 1>;
102 linux,code = <0x198>;
103 };
104 wps {
105 label = "wps";
106 gpios = <&gpio1 2 1>;
107 linux,code = <0x211>;
108 };
109 };
110
111 gpio-leds {
112 compatible = "gpio-leds";
113 wps {
114 label = "trendnet:orange:wps";
115 gpios = <&gpio0 9 1>;
116 };
117 wps2 {
118 label = "trendnet:green:wps";
119 gpios = <&gpio1 4 1>;
120 };
121 };
122 };