ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / DIR-615-H1.dts
1 /dts-v1/;
2
3 /include/ "rt3352.dtsi"
4
5 / {
6 compatible = "DIR-615-H1", "ralink,rt3352-soc";
7 model = "D-Link DIR-615 H1";
8
9 memorydetect {
10 ralink,memory = <0x0 0x200000 0x10000000>;
11 };
12
13 chosen {
14 bootargs = "console=ttyS0,57600 mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3776k@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 spi@b00 {
29 status = "okay";
30 m25p80@0 {
31 #address-cells = <1>;
32 #size-cells = <1>;
33 compatible = "mx25l3205d";
34 reg = <0 0>;
35 linux,modalias = "m25p80", "mx25l3205d";
36 spi-max-frequency = <10000000>;
37 };
38 };
39 };
40
41 ethernet@10100000 {
42 status = "okay";
43 };
44
45 esw@10110000 {
46 status = "okay";
47 ralink,portmap = <0x2f>;
48 };
49
50 gpio-leds {
51 compatible = "gpio-leds";
52 status {
53 label = "d-link:amber:status";
54 gpios = <&gpio0 7 0>;
55 };
56 status2 {
57 label = "d-link:green:status";
58 gpios = <&gpio0 9 0>;
59 };
60 wan {
61 label = "d-link:amber:wan";
62 gpios = <&gpio0 12 1>;
63 };
64 wan2 {
65 label = "d-link:green:wan";
66 gpios = <&gpio0 13 1>;
67 };
68 wps {
69 label = "d-link:blue:wps";
70 gpios = <&gpio0 14 1>;
71 };
72 };
73
74 gpio-keys-polled {
75 compatible = "gpio-keys-polled";
76 #address-cells = <1>;
77 #size-cells = <0>;
78 poll-interval = <20>;
79 reset {
80 label = "reset";
81 gpios = <&gpio0 10 1>;
82 linux,code = <0x198>;
83 };
84 wps {
85 label = "wps";
86 gpios = <&gpio0 0 1>;
87 linux,code = <0x211>;
88 };
89 };
90
91 wmac@10180000 {
92 status = "okay";
93 };
94 };