[ramips] remove bootargs from dts
[openwrt.git] / target / linux / ramips / dts / DAP-1350.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "DAP-1350", "ralink,rt3052-soc";
7         model = "D-Link DAP-1350";
8
9         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
11         };
12
13         chosen {
14                 bootargs = "console=ttyS0,115200";
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         };
29
30         cfi@1f000000 {
31                 compatible = "cfi-flash";
32                 reg = <0x1f000000 0x800000>;
33
34                 bank-width = <2>;
35                 device-width = <2>;
36                 #address-cells = <1>;
37                 #size-cells = <1>;
38
39                 partition@0 {
40                         label = "u-boot";
41                         reg = <0x0 0x30000>;
42                         read-only;
43                 };
44
45                 partition@30000 {
46                         label = "devdata";
47                         reg = <0x30000 0x10000>;
48                         read-only;
49                 };
50
51                 partition@40000 {
52                         label = "devconf";
53                         reg = <0x40000 0x30000>;
54                         read-only;
55                 };
56
57                 partition@70000 {
58                         label = "devlang";
59                         reg = <0x70000 0x40000>;
60                         read-only;
61                 };
62
63                 partition@b0000 {
64                         label = "firmware";
65                         reg = <0xb0000 0x750000>;
66                 };
67         };
68
69         ethernet@10100000 {
70                 status = "okay";
71         };
72
73         esw@10110000 {
74                 status = "okay";
75                 ralink,portmap = <0x2f>;
76         };
77
78         gpio-leds {
79                 compatible = "gpio-leds";
80                 power {
81                         label = "d-link:blue:power";
82                         gpios = <&gpio0 8 1>;
83                 };
84                 power2 {
85                         label = "d-link:red:power";
86                         gpios = <&gpio0 9 1>;
87                 };
88                 wps {
89                         label = "d-link:blue:wps";
90                         gpios = <&gpio0 14 1>;
91                 };
92         };
93
94         gpio-keys-polled {
95                 compatible = "gpio-keys-polled";
96                 #address-cells = <1>;
97                 #size-cells = <0>;
98                 poll-interval = <20>;
99                 reset {
100                         label = "reset";
101                         gpios = <&gpio0 10 1>;
102                         linux,code = <0x198>;
103                 };
104                 wps {
105                         label = "wps";
106                         gpios = <&gpio0 0 1>;
107                         linux,code = <0x211>;
108                 };
109                 rt {
110                         label = "rt";
111                         gpios = <&gpio0 11 1>;
112                         linux,code = <0x100>;
113                 };
114                 ap {
115                         label = "ap";
116                         gpios = <&gpio0 7 1>;
117                         linux,code = <0x101>;
118                 };
119         };
120
121         wmac@10180000 {
122                 status = "okay";
123         };
124
125         otg@101c0000 {
126                 status = "okay";
127         };
128 };