move memory detect node to dtsi files
[openwrt/openwrt.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 sysc@0 {
11 ralink,pinmux = "uartlite";
12 ralink,gpiomux = "i2c", "jtag", "spi";
13 ralink,uartmux = "gpio";
14 ralink,pcimux = "pci-fnc";
15 ralink,wdtmux = <1>;
16 };
17
18 timer@100 {
19 status = "okay";
20 };
21
22 gpio0: gpio@600 {
23 status = "okay";
24 };
25
26 gpio1: gpio@638 {
27 status = "okay";
28 };
29 };
30
31 ethernet@10100000 {
32 status = "okay";
33 ralink,phy-mask = <0x1>;
34 phy-mode = "rgmii";
35 };
36
37 pci@10140000 {
38 status = "okay";
39
40 host-bridge {
41 pci-bridge@1 {
42 status = "okay";
43 };
44 };
45 };
46
47 wmac@10180000 {
48 status = "okay";
49 ralink,5ghz = <0>;
50 };
51
52 nor-flash@1c000000 {
53 compatible = "cfi-flash";
54 reg = <0x1c000000 0x800000>;
55
56 bank-width = <2>;
57 #address-cells = <1>;
58 #size-cells = <1>;
59
60 partition@0 {
61 reg = <0x0 0x0030000>;
62 label = "u-boot";
63 read-only;
64 };
65
66 partition@30000 {
67 reg = <0x00030000 0x00010000>;
68 label = "u-boot-env";
69 read-only;
70 };
71
72 partition@40000 {
73 reg = <0x00040000 0x00010000>;
74 label = "factory";
75 read-only;
76 };
77
78 partition@50000 {
79 reg = <0x00050000 0x007b0000>;
80 label = "firmware";
81 };
82 };
83
84 gpio-keys-polled {
85 compatible = "gpio-keys-polled";
86 #address-cells = <1>;
87 #size-cells = <0>;
88 poll-interval = <100>;
89 reset {
90 label = "reset";
91 gpios = <&gpio0 10 1>;
92 linux,code = <0x198>;
93 };
94 wps {
95 label = "wps";
96 gpios = <&gpio1 2 1>;
97 linux,code = <0x211>;
98 };
99 };
100
101 gpio-leds {
102 compatible = "gpio-leds";
103 wps {
104 label = "trendnet:orange:wps";
105 gpios = <&gpio0 9 1>;
106 };
107 wps2 {
108 label = "trendnet:green:wps";
109 gpios = <&gpio1 4 1>;
110 };
111 };
112 };