move memory detect node to dtsi files
[openwrt/openwrt.git] / target / linux / ramips / dts / TEW-691GR.dts
1 /dts-v1/;
2
3 /include/ "rt3883.dtsi"
4
5 / {
6 compatible = "TEW-691GR", "ralink,rt3883-soc";
7 model = "TRENDnet TEW-691GR";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "uartlite";
12 ralink,gpiomux = "i2c", "jtag";
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 phy-handle = <&phy0>;
34 phy-mode = "rgmii";
35
36 mdio-bus {
37 status = "okay";
38
39 phy0: ethernet-phy@0 {
40 reg = <0>;
41 };
42 };
43 };
44
45 wmac@10180000 {
46 status = "okay";
47 ralink,5ghz = <0>;
48 };
49
50 nor-flash@1c000000 {
51 compatible = "cfi-flash";
52 reg = <0x1c000000 0x800000>;
53
54 bank-width = <2>;
55 #address-cells = <1>;
56 #size-cells = <1>;
57
58 partition@0 {
59 reg = <0x0 0x0030000>;
60 label = "u-boot";
61 read-only;
62 };
63
64 partition@30000 {
65 reg = <0x00030000 0x00010000>;
66 label = "u-boot-env";
67 read-only;
68 };
69
70 partition@40000 {
71 reg = <0x00040000 0x00010000>;
72 label = "factory";
73 read-only;
74 };
75
76 partition@50000 {
77 reg = <0x00050000 0x007b0000>;
78 label = "firmware";
79 };
80 };
81
82 gpio-keys-polled {
83 compatible = "gpio-keys-polled";
84 #address-cells = <1>;
85 #size-cells = <0>;
86 poll-interval = <100>;
87 reset {
88 label = "reset";
89 gpios = <&gpio0 10 1>;
90 linux,code = <0x198>;
91 };
92 wps {
93 label = "wps";
94 gpios = <&gpio1 2 1>;
95 linux,code = <0x211>;
96 };
97 rfkill {
98 label = "rfkill";
99 gpios = <&gpio0 0 1>;
100 linux,code = <0xf7>;
101 };
102 };
103
104 gpio-leds {
105 compatible = "gpio-leds";
106 wps {
107 label = "trendnet:green:wps";
108 gpios = <&gpio0 9 1>;
109 };
110 };
111 };