[ramips] remove bootargs from dts
[openwrt.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         palmbus@10000000 {
14                 sysc@0 {
15                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
16                         ralink,uartmux = "gpio";
17                         ralink,wdtmux = <1>;
18                 };
19
20                 gpio0: gpio@600 {
21                         status = "okay";
22                 };
23
24                 spi@b00 {
25                         status = "okay";
26                         m25p80@0 {
27                                 #address-cells = <1>;
28                                 #size-cells = <1>;
29                                 compatible = "mx25l3205d";
30                                 reg = <0 0>;
31                                 linux,modalias = "m25p80", "mx25l3205d";
32                                 spi-max-frequency = <10000000>;
33
34                 partition@0 {
35                         label = "u-boot";
36                         reg = <0x0 0x30000>;
37                         read-only;
38                 };
39
40                 partition@30000 {
41                         label = "u-boot-env";
42                         reg = <0x30000 0x10000>;
43                         read-only;
44                 };
45
46                 factory: partition@40000 {
47                         label = "factory";
48                         reg = <0x40000 0x10000>;
49                         read-only;
50                 };
51
52                 partition@50000 {
53                         label = "firmware";
54                         reg = <0x50000 0x3b0000>;
55                 };
56                         };
57                 };
58         };
59
60         ethernet@10100000 {
61                 status = "okay";
62         };
63
64         esw@10110000 {
65                 status = "okay";
66                 ralink,portmap = <0x2f>;
67         };
68
69         gpio-leds {
70                 compatible = "gpio-leds";
71                 status {
72                         label = "d-link:amber:status";
73                         gpios = <&gpio0 7 0>;
74                 };
75                 status2 {
76                         label = "d-link:green:status";
77                         gpios = <&gpio0 9 0>;
78                 };
79                 wan {
80                         label = "d-link:amber:wan";
81                         gpios = <&gpio0 12 1>;
82                 };
83                 wan2 {
84                         label = "d-link:green:wan";
85                         gpios = <&gpio0 13 1>;
86                 };
87                 wps {
88                         label = "d-link:blue:wps";
89                         gpios = <&gpio0 14 1>;
90                 };
91         };
92
93         gpio-keys-polled {
94                 compatible = "gpio-keys-polled";
95                 #address-cells = <1>;
96                 #size-cells = <0>;
97                 poll-interval = <20>;
98                 reset {
99                         label = "reset";
100                         gpios = <&gpio0 10 1>;
101                         linux,code = <0x198>;
102                 };
103                 wps {
104                         label = "wps";
105                         gpios = <&gpio0 0 1>;
106                         linux,code = <0x211>;
107                 };
108         };
109
110         wmac@10180000 {
111                 status = "okay";
112         };
113 };