ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / W306R_V20.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "W306R_V20", "ralink,rt3052-soc";
7 model = "Tenda W306R V2.0";
8
9 memorydetect {
10 ralink,memory = <0x0 0x200000 0x4000000>;
11 };
12
13 chosen {
14 bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3776k@0x50000(firmware)";
15 };
16
17 cfi@1f000000 {
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x800000>;
20
21 bank-width = <2>;
22 device-width = <2>;
23 #address-cells = <1>;
24 #size-cells = <1>;
25 };
26
27 palmbus@10000000 {
28 sysc@0 {
29 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
30 ralink,uartmux = "gpio";
31 ralink,wdtmux = <1>;
32 };
33
34 gpio0: gpio@600 {
35 status = "okay";
36 };
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 sys {
51 label = "w306r-v20:green:sys";
52 gpios = <&gpio0 9 1>;
53 };
54 wps {
55 label = "w306r-v20:green:wps";
56 gpios = <&gpio0 13 1>;
57 };
58 };
59
60 gpio-keys-polled {
61 compatible = "gpio-keys-polled";
62 #address-cells = <1>;
63 #size-cells = <0>;
64 poll-interval = <20>;
65 reset {
66 label = "RESET/WPS";
67 gpios = <&gpio0 10 1>;
68 linux,code = <0x198>;
69 };
70 };
71
72 wmac@10180000 {
73 status = "okay";
74 };
75 };