ramips: remove top-level {address,size}-cells properties from .dts 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 memorydetect {
10 ralink,memory = <0x0 0x200000 0x10000000>;
11 };
12
13 palmbus@10000000 {
14 sysc@0 {
15 ralink,pinmux = "uartlite", "spi";
16 ralink,gpiomux = "i2c", "jtag";
17 ralink,uartmux = "gpio";
18 ralink,wdtmux = <1>;
19 };
20
21 timer@100 {
22 status = "okay";
23 };
24
25 gpio0: gpio@600 {
26 status = "okay";
27 };
28
29 gpio1: gpio@638 {
30 status = "okay";
31 };
32
33 spi@b00 {
34 status = "okay";
35
36 m25p80@0 {
37 #address-cells = <1>;
38 #size-cells = <1>;
39 compatible = "mx25l6405d";
40 reg = <0 0>;
41 linux,modalias = "m25p80";
42 spi-max-frequency = <25000000>;
43 };
44 };
45 };
46
47 ethernet@10100000 {
48 status = "okay";
49 ralink,phy-mask = <0x1>;
50 phy-mode = "rgmii";
51 };
52
53 wmac@10180000 {
54 status = "okay";
55 ralink,5ghz = <0>;
56 };
57
58 gpio-keys-polled {
59 compatible = "gpio-keys-polled";
60 #address-cells = <1>;
61 #size-cells = <0>;
62 poll-interval = <100>;
63 reset {
64 label = "reset";
65 gpios = <&gpio0 10 1>;
66 linux,code = <0x198>;
67 };
68 wps {
69 label = "wps";
70 gpios = <&gpio1 2 1>;
71 linux,code = <0x211>;
72 };
73 rfkill {
74 label = "rfkill";
75 gpios = <&gpio0 0 1>;
76 linux,code = <0xf7>;
77 };
78 };
79
80 gpio-leds {
81 compatible = "gpio-leds";
82 wps {
83 label = "trendnet:green:wps";
84 gpios = <&gpio0 9 1>;
85 };
86 };
87 };