ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / WR6202.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "WR6202", "ralink,rt3052-soc";
7 model = "AWB WR6202";
8
9 memorydetect {
10 ralink,memory = <0x0 0x200000 0x4000000>;
11 };
12
13 chosen {
14 bootargs = "console=ttyS0,115200 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,7872k@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
30 gpio-leds {
31 compatible = "gpio-leds";
32 wps {
33 label = "wr6202:blue:wps";
34 gpios = <&gpio0 14 1>;
35 };
36 3g {
37 label = "wr6202:blue:3g";
38 gpios = <&gpio0 13 1>;
39 };
40 };
41
42 gpio-keys-polled {
43 compatible = "gpio-keys-polled";
44 #address-cells = <1>;
45 #size-cells = <0>;
46 poll-interval = <20>;
47 reset {
48 label = "reset";
49 gpios = <&gpio0 10 1>;
50 linux,code = <0x198>;
51 };
52 wps {
53 label = "wps";
54 gpios = <&gpio0 0 1>;
55 linux,code = <0x211>;
56 };
57 };
58
59 cfi@1f000000 {
60 compatible = "cfi-flash";
61 reg = <0x1f000000 0x800000>;
62
63 bank-width = <2>;
64 device-width = <2>;
65 #address-cells = <1>;
66 #size-cells = <1>;
67 };
68
69 ethernet@10100000 {
70 status = "okay";
71 };
72
73 esw@10110000 {
74 status = "okay";
75 ralink,portmap = <0x3e>;
76 };
77
78 wmac@10180000 {
79 status = "okay";
80 };
81
82 otg@101c0000 {
83 status = "okay";
84 };
85
86 gpio_export {
87 compatible = "gpio-export";
88 #size-cells = <0>;
89
90 usb {
91 gpio-export,name = "usb";
92 gpio-export,output = <0>;
93 gpios = <&gpio0 11 0>;
94 };
95 };
96 };