[ramips] remove bootargs from dts
[openwrt.git] / target / linux / ramips / dts / NW718.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "NW718", "ralink,rt3050-soc";
7         model = "Netcore NW718";
8
9         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
11         };
12
13         palmbus@10000000 {
14                 sysc@0 {
15                         ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
16                         ralink,gpiomux = "i2c";
17                         ralink,uartmux = "gpio";
18                         ralink,wdtmux = <1>;
19                 };
20
21                 gpio0: gpio@600 {
22                         status = "okay";
23                 };
24
25                 spi@b00 {
26                         status = "okay";
27                         m25p80@0 {
28                                 #address-cells = <1>;
29                                 #size-cells = <1>;
30                                 compatible = "mx25l3205d";
31                                 reg = <0 0>;
32                                 linux,modalias = "m25p80", "mx25l3205d";
33                                 spi-max-frequency = <25000000>;
34
35                                 partition@0 {
36                                         label = "u-boot";
37                                         reg = <0x0 0x30000>;
38                                         read-only;
39                                 };
40
41                                 partition@30000 {
42                                         label = "config";
43                                         reg = <0x30000 0x20000>;
44                                         read-only;
45                                 };
46
47                                 factory: partition@50000 {
48                                         label = "factory";
49                                         reg = <0x50000 0x10000>;
50                                         read-only;
51                                 };
52
53                                 partition@60000 {
54                                         label = "firmware";
55                                         reg = <0x60000 0x3a0000>;
56                                 };
57                         };
58                 };
59         };
60
61         ethernet@10100000 {
62                 status = "okay";
63         };
64
65         esw@10110000 {
66                 status = "okay";
67                 ralink,portmap = <0x2f>;
68         };
69
70         gpio-leds {
71                 compatible = "gpio-leds";
72                 cpu {
73                         label = "nw718:amber:cpu";
74                         gpios = <&gpio0 13 1>;
75                 };
76                 usb {
77                         label = "nw718:amber:usb";
78                         gpios = <&gpio0 8 1>;
79                 };
80                 wps {
81                         label = "nw718:amber:wps";
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 10 1>;
94                         linux,code = <0x198>;
95                 };
96                 wps {
97                         label = "wps";
98                         gpios = <&gpio0 0 1>;
99                         linux,code = <0x211>;
100                 };
101         };
102
103         wmac@10180000 {
104                 status = "okay";
105         };
106
107         otg@101c0000 {
108                 status = "okay";
109         };
110 };