ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / DAP-1350.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "DAP-1350", "ralink,rt3052-soc";
7 model = "D-Link DAP-1350";
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(devdata)ro,192k(devconf)ro,256k(devlang)ro,7488k@0xb0000(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 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 power {
52 label = "d-link:blue:power";
53 gpios = <&gpio0 8 1>;
54 };
55 power2 {
56 label = "d-link:red:power";
57 gpios = <&gpio0 9 1>;
58 };
59 wps {
60 label = "d-link:blue:wps";
61 gpios = <&gpio0 14 1>;
62 };
63 };
64
65 gpio-keys-polled {
66 compatible = "gpio-keys-polled";
67 #address-cells = <1>;
68 #size-cells = <0>;
69 poll-interval = <20>;
70 reset {
71 label = "reset";
72 gpios = <&gpio0 10 1>;
73 linux,code = <0x198>;
74 };
75 wps {
76 label = "wps";
77 gpios = <&gpio0 0 1>;
78 linux,code = <0x211>;
79 };
80 rt {
81 label = "rt";
82 gpios = <&gpio0 11 1>;
83 linux,code = <0x100>;
84 };
85 ap {
86 label = "ap";
87 gpios = <&gpio0 7 1>;
88 linux,code = <0x101>;
89 };
90 };
91
92 wmac@10180000 {
93 status = "okay";
94 };
95
96 otg@101c0000 {
97 status = "okay";
98 };
99 };