[ramips] remove bootargs from dts
[openwrt.git] / target / linux / ramips / dts / WL_330N3G.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "WL_330N3G", "ralink,rt3050-soc";
7         model = "Asus WL-330N3G";
8
9         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
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 = <0x3e>;
67         };
68
69         gpio-leds {
70                 compatible = "gpio-leds";
71                 3g {
72                         label = "asus:blue:3g";
73                         gpios = <&gpio0 9 1>;
74                 };
75                 3g2 {
76                         label = "asus:red:3g";
77                         gpios = <&gpio0 13 1>;
78                 };
79                 power {
80                         label = "asus:blue:power";
81                         gpios = <&gpio0 11 1>;
82                 };
83         };
84
85         gpio-keys-polled {
86                 compatible = "gpio-keys-polled";
87                 #address-cells = <1>;
88                 #size-cells = <0>;
89                 poll-interval = <20>;
90                 reset {
91                         label = "reset";
92                         gpios = <&gpio0 10 1>;
93                         linux,code = <0x198>;
94                 };
95                 wps {
96                         label = "wps";
97                         gpios = <&gpio0 0 1>;
98                         linux,code = <0x198>;
99                 };
100         };
101
102         wmac@10180000 {
103                 status = "okay";
104         };
105
106         otg@101c0000 {
107                 status = "okay";
108         };
109 };