ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt.git] / target / linux / ramips / dts / RT-N10-PLUS.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "RT-N10-PLUS", "ralink,rt3050-soc";
7         model = "Asus RT-N10+";
8
9         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
11         };
12
13         chosen {
14                 bootargs = "mtdparts=1f000000.cfi:192k(u-boot)ro,64k(devdata)ro,64k(devconf)ro,3776k@0x50000(firmware)";
15         };
16
17         palmbus@10000000 {
18                 sysc@0 {
19                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
20                         ralink,uartmux = "gpio";
21                         ralink,wdtmux = <1>;
22                 };
23
24                 gpio0: gpio@600 {
25                         status = "okay";
26                 };
27         };
28
29         cfi@1f000000 {
30                 compatible = "cfi-flash";
31                 reg = <0x1f000000 0x800000>;
32
33                 bank-width = <2>;
34                 device-width = <2>;
35                 #address-cells = <1>;
36                 #size-cells = <1>;
37         };
38
39         ethernet@10100000 {
40                 status = "okay";
41         };
42
43         esw@10110000 {
44                 status = "okay";
45                 ralink,portmap = <0x3e>;
46         };
47
48         gpio-leds {
49                 compatible = "gpio-leds";
50                 wps {
51                         label = "asus:green:wps";
52                         gpios = <&gpio0 14 1>;
53                 };
54         };
55
56         gpio-keys-polled {
57                 compatible = "gpio-keys-polled";
58                 #address-cells = <1>;
59                 #size-cells = <0>;
60                 poll-interval = <20>;
61                 reset {
62                         label = "reset";
63                         gpios = <&gpio0 10 1>;
64                         linux,code = <0x198>;
65                 };
66                 wps {
67                         label = "wps";
68                         gpios = <&gpio0 0 1>;
69                         linux,code = <0x211>;
70                 };
71         };
72
73         wmac@10180000 {
74                 status = "okay";
75         };
76 };