ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / WR512-3GN-4M.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "WR512-3GN", "ralink,rt3052-soc";
7 model = "WR512-3GN-like router";
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,3872k@0x50000(firmware)";
15 };
16
17 palmbus@10000000 {
18 sysc@0 {
19 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
20 ralink,gpiomux = "mdio";
21 ralink,uartmux = "gpio";
22 ralink,wdtmux = <1>;
23 };
24
25 gpio0: gpio@600 {
26 status = "okay";
27 };
28 };
29
30 cfi@1f000000 {
31 compatible = "cfi-flash";
32 reg = <0x1f000000 0x800000>;
33
34 bank-width = <2>;
35 device-width = <2>;
36 #address-cells = <1>;
37 #size-cells = <1>;
38 };
39
40 ethernet@10100000 {
41 status = "okay";
42 };
43
44 esw@10110000 {
45 status = "okay";
46 ralink,portmap = <0x2f>;
47 };
48
49 gpio-leds {
50 compatible = "gpio-leds";
51 3g {
52 label = "wr512:green:3g";
53 gpios = <&gpio0 9 1>;
54 };
55 gateway {
56 label = "wr512:green:gateway";
57 gpios = <&gpio0 11 1>;
58 };
59 ap {
60 label = "wr512:green:ap";
61 gpios = <&gpio0 12 1>;
62 };
63 wps {
64 label = "wr512:green:wps";
65 gpios = <&gpio0 14 1>;
66 };
67 station {
68 label = "wr512:green:station";
69 gpios = <&gpio0 13 1>;
70 };
71 };
72
73 gpio-keys-polled {
74 compatible = "gpio-keys-polled";
75 #address-cells = <1>;
76 #size-cells = <0>;
77 poll-interval = <20>;
78 reset_wps {
79 label = "reset_wps";
80 gpios = <&gpio0 10 1>;
81 linux,code = <0x198>;
82 };
83 mode {
84 label = "mode";
85 gpios = <&gpio0 7 1>;
86 linux,code = <0x32>;
87 };
88 };
89
90 wmac@10180000 {
91 status = "okay";
92 };
93
94 otg@101c0000 {
95 status = "okay";
96 };
97 };