[ramips] remove bootargs from dts
[openwrt.git] / target / linux / ramips / dts / MZK-W300NH2.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "MZK-W300NH2", "ralink,rt3052-soc";
7         model = "Planex MZK-W300NH2";
8
9         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
11         };
12
13         palmbus@10000000 {
14                 sysc@0 {
15                         ralink,pinmux = "uartlite", "mdio", "sdram", "rgmii";
16                         ralink,gpiomux = "i2c", "spi", "jtag";
17                         ralink,uartmux = "gpio";
18                         ralink,wdtmux = <1>;
19                 };
20
21                 gpio0: gpio@600 {
22                         status = "okay";
23                 };
24         };
25
26         cfi@1f000000 {
27                 compatible = "cfi-flash";
28                 reg = <0x1f000000 0x800000>;
29
30                 bank-width = <2>;
31                 device-width = <2>;
32                 #address-cells = <1>;
33                 #size-cells = <1>;
34
35                 partition@0 {
36                         label = "u-boot";
37                         reg = <0x0 0x30000>;
38                         read-only;
39                 };
40
41                 partition@30000 {
42                         label = "u-boot-env";
43                         reg = <0x30000 0x10000>;
44                         read-only;
45                 };
46
47                 factory: partition@40000 {
48                         label = "factory";
49                         reg = <0x40000 0x10000>;
50                         read-only;
51                 };
52
53                 partition@3e0000 {
54                         label = "cimage";
55                         reg = <0x3e0000 0x20000>;
56                         read-only;
57                 };
58
59                 partition@50000 {
60                         label = "firmware";
61                         reg = <0x50000 0x390000>;
62                 };
63         };
64
65         ethernet@10100000 {
66                 status = "okay";
67         };
68
69         esw@10110000 {
70                 status = "okay";
71                 ralink,portmap = <0x2f>;
72         };
73
74         gpio-leds {
75                 compatible = "gpio-leds";
76                 power {
77                         label = "mzkw300nh2:green:power";
78                         gpios = <&gpio0 9 1>;
79                 };
80                 wlan {
81                         label = "mzkw300nh2:amber:wlan";
82                         gpios = <&gpio0 14 1>;
83                 };
84                 wps {
85                         label = "mzkw300nh2:amber:wps";
86                         gpios = <&gpio0 11 1>;
87                 };
88         };
89
90         gpio-keys-polled {
91                 compatible = "gpio-keys-polled";
92                 #address-cells = <1>;
93                 #size-cells = <0>;
94                 poll-interval = <20>;
95                 wps {
96                         label = "wps";
97                         gpios = <&gpio0 12 1>;
98                         linux,code = <0x211>;
99                 };
100                 reset {
101                         label = "reset";
102                         gpios = <&gpio0 0 1>;
103                         linux,code = <0x198>;
104                 };
105                 rt {
106                         label = "rt";
107                         gpios = <&gpio0 13 1>;
108                         linux,code = <0x100>;
109                 };
110         };
111
112         wmac@10180000 {
113                 status = "okay";
114         };
115 };