[ramips] remove bootargs from dts
[openwrt.git] / target / linux / ramips / dts / W150M.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "3G300M", "ralink,rt3050-soc";
7         model = "Tenda 3G300M";
8
9         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
11         };
12
13         palmbus@10000000 {
14                 sysc@0 {
15                         ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii", "jtag";
16                         ralink,uartmux = "gpio";
17                         ralink,wdtmux = <1>;
18                 };
19
20                 gpio0: gpio@600 {
21                         status = "okay";
22                 };
23         };
24
25         cfi@1f000000 {
26                 compatible = "cfi-flash";
27                 reg = <0x1f000000 0x800000>;
28
29                 bank-width = <2>;
30                 device-width = <2>;
31                 #address-cells = <1>;
32                 #size-cells = <1>;
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 0x3c8000>;
55                 };
56         };
57
58         gpio-leds {
59                 compatible = "gpio-leds";
60                 3grouter {
61                         label = "tenda:blue:3grouter";
62                         gpios = <&gpio0 11 1>;
63                 };
64                 ap {
65                         label = "tenda:blue:ap";
66                         gpios = <&gpio0 12 1>;
67                 };
68                 wisprouter {
69                         label = "tenda:blue:wisprouter";
70                         gpios = <&gpio0 9 1>;
71                 };
72                 wirelessrouter {
73                         label = "tenda:blue:wirelessrouter";
74                         gpios = <&gpio0 13 1>;
75                 };
76                 3g {
77                         label = "tenda:blue:3g";
78                         gpios = <&gpio0 7 1>;
79                 };
80                 wpsreset {
81                         label = "tenda:blue:wpsreset";
82                         gpios = <&gpio0 14 1>;
83                 };
84         };
85
86         gpio-keys-polled {
87                 compatible = "gpio-keys-polled";
88                 #address-cells = <1>;
89                 #size-cells = <0>;
90                 poll-interval = <20>;
91                 reset {
92                         label = "reset";
93                         gpios = <&gpio0 0 1>;
94                         linux,code = <0x198>;
95                 };
96                 mode {
97                         label = "mode";
98                         gpios = <&gpio0 10 1>;
99                         linux,code = <0x100>;
100                 };
101         };
102
103         ethernet@10100000 {
104                 status = "okay";
105         };
106
107         esw@10110000 {
108                 status = "okay";
109                 ralink,portmap = <0x2f>;
110         };
111
112         wmac@10180000 {
113                 status = "okay";
114         };
115 };