ramips: Change all '/include/' clauses to '#include' so preprocessing can be done...
[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 mtd-mac-address = <&factory 0x28>;
27
28 port@0 {
29 phy-handle = <&phy0>;
30 phy-mode = "rgmii";
31 };
32
33 mdio-bus {
34 status = "okay";
35
36 phy0: ethernet-phy@0 {
37 reg = <0>;
38 };
39 };
40 };
41
42 pci@10140000 {
43 status = "okay";
44 pinctrl-names = "default";
45 pinctrl-0 = <&pci_pins>;
46
47 pci_pins: pci {
48 pci {
49 ralink,group = "pci";
50 ralink,function = "pci-fnc";
51 };
52 };
53
54 host-bridge {
55 pci-bridge@1 {
56 status = "okay";
57 };
58 };
59 };
60
61 wmac@10180000 {
62 ralink,5ghz = <0>;
63 };
64
65 nor-flash@1c000000 {
66 compatible = "cfi-flash";
67 reg = <0x1c000000 0x800000>;
68 bank-width = <2>;
69 #address-cells = <1>;
70 #size-cells = <1>;
71
72 partition@0 {
73 reg = <0x0 0x0030000>;
74 label = "u-boot";
75 read-only;
76 };
77
78 partition@30000 {
79 reg = <0x00030000 0x00010000>;
80 label = "u-boot-env";
81 read-only;
82 };
83
84 factory: partition@40000 {
85 reg = <0x00040000 0x00010000>;
86 label = "factory";
87 read-only;
88 };
89
90 partition@50000 {
91 reg = <0x00050000 0x007b0000>;
92 label = "firmware";
93 };
94 };
95
96 gpio-keys-polled {
97 compatible = "gpio-keys-polled";
98 #address-cells = <1>;
99 #size-cells = <0>;
100 poll-interval = <100>;
101
102 reset {
103 label = "reset";
104 gpios = <&gpio0 10 1>;
105 linux,code = <0x198>;
106 };
107
108 wps {
109 label = "wps";
110 gpios = <&gpio1 2 1>;
111 linux,code = <0x211>;
112 };
113 };
114
115 gpio-leds {
116 compatible = "gpio-leds";
117
118 wps {
119 label = "tew-692gr:orange:wps";
120 gpios = <&gpio0 9 1>;
121 };
122
123 wps2 {
124 label = "tew-692gr:green:wps";
125 gpios = <&gpio1 4 1>;
126 };
127 };
128 };