ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / NW718.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "NW718", "ralink,rt3050-soc";
7 model = "Netcore NW718";
8
9 memorydetect {
10 ralink,memory = <0x0 0x200000 0x4000000>;
11 };
12
13 chosen {
14 bootargs = "console=ttyS0,57600 mtdparts=spi0.0:192k(u-boot)ro,128k(config)ro,64k(factory)ro,3712k@0x60000(firmware)";
15 };
16
17 palmbus@10000000 {
18 sysc@0 {
19 ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
20 ralink,gpiomux = "i2c";
21 ralink,uartmux = "gpio";
22 ralink,wdtmux = <1>;
23 };
24
25 gpio0: gpio@600 {
26 status = "okay";
27 };
28
29 spi@b00 {
30 status = "okay";
31 m25p80@0 {
32 #address-cells = <1>;
33 #size-cells = <1>;
34 compatible = "mx25l3205d";
35 reg = <0 0>;
36 linux,modalias = "m25p80", "mx25l3205d";
37 spi-max-frequency = <25000000>;
38 };
39 };
40 };
41
42 ethernet@10100000 {
43 status = "okay";
44 };
45
46 esw@10110000 {
47 status = "okay";
48 ralink,portmap = <0x2f>;
49 };
50
51 gpio-leds {
52 compatible = "gpio-leds";
53 cpu {
54 label = "nw718:amber:cpu";
55 gpios = <&gpio0 13 1>;
56 };
57 usb {
58 label = "nw718:amber:usb";
59 gpios = <&gpio0 8 1>;
60 };
61 wps {
62 label = "nw718:amber:wps";
63 gpios = <&gpio0 14 1>;
64 };
65 };
66
67 gpio-keys-polled {
68 compatible = "gpio-keys-polled";
69 #address-cells = <1>;
70 #size-cells = <0>;
71 poll-interval = <20>;
72 reset {
73 label = "reset";
74 gpios = <&gpio0 10 1>;
75 linux,code = <0x198>;
76 };
77 wps {
78 label = "wps";
79 gpios = <&gpio0 0 1>;
80 linux,code = <0x211>;
81 };
82 };
83
84 wmac@10180000 {
85 status = "okay";
86 };
87
88 otg@101c0000 {
89 status = "okay";
90 };
91 };