[ramips] remove bootargs from dts
[openwrt.git] / target / linux / ramips / dts / DIR-600-B2.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "DIR-600-B2", "ralink,rt3050-soc";
7         model = "D-Link DIR-600 B2";
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
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 = "devdata";
42                         reg = <0x30000 0x10000>;
43                         read-only;
44                 };
45
46                 partition@40000 {
47                         label = "devconf";
48                         reg = <0x40000 0x10000>;
49                         read-only;
50                 };
51
52                 partition@50000 {
53                         label = "firmware";
54                         reg = <0x50000 0x3b0000>;
55                 };
56         };
57
58         ethernet@10100000 {
59                 status = "okay";
60         };
61
62         esw@10110000 {
63                 status = "okay";
64                 ralink,portmap = <0x2f>;
65         };
66
67         gpio-keys-polled {
68                 compatible = "gpio-keys-polled";
69                 #address-cells = <1>;
70                 #size-cells = <0>;
71                 poll-interval = <20>;
72                 reset {
73                         label = "reset";
74                         gpios = <&gpio0 10 1>;
75                         linux,code = <0x198>;
76                 };
77                 wps {
78                         label = "wps";
79                         gpios = <&gpio0 0 1>;
80                         linux,code = <0x211>;
81                 };
82         };
83
84         wmac@10180000 {
85                 status = "okay";
86         };
87
88         gpio-leds {
89                 compatible = "gpio-leds";
90                 status {
91                         label = "d-link:amber:status";
92                         gpios = <&gpio0 8 1>;
93                 };
94                 status2 {
95                         label = "d-link:green:status";
96                         gpios = <&gpio0 9 1>;
97                 };
98                 wan {
99                         label = "d-link:amber:wan";
100                         gpios = <&gpio0 14 1>;
101                 };
102                 wan2 {
103                         label = "d-link:green:wan";
104                         gpios = <&gpio0 12 1>;
105                 };
106                 wps {
107                         label = "d-link:blue:wps";
108                         gpios = <&gpio0 13 1>;
109                 };
110         };
111 };