[ramips] remove bootargs from dts
[openwrt.git] / target / linux / ramips / dts / MOFI3500-3GN.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "MOFI3500-3GN", "ralink,rt3052-soc";
7         model = "MoFi Network MOFI3500-3GN";
8
9         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
11         };
12
13         palmbus@10000000 {
14                 sysc@0 {
15                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
16                         ralink,gpiomux = "mdio";
17                         ralink,uartmux = "gpio";
18                         ralink,wdtmux = <1>;
19                 };
20
21                 gpio0: gpio@600 {
22                         status = "okay";
23                 };
24
25         };
26
27         cfi@1f000000 {
28                 compatible = "cfi-flash";
29                 reg = <0x1f000000 0x800000>;
30
31                 bank-width = <2>;
32                 device-width = <2>;
33                 #address-cells = <1>;
34                 #size-cells = <1>;
35
36                 partition@0 {
37                         label = "u-boot";
38                         reg = <0x0 0x30000>;
39                         read-only;
40                 };
41
42                 partition@30000 {
43                         label = "u-boot-env";
44                         reg = <0x30000 0x10000>;
45                         read-only;
46                 };
47
48                 factory: partition@40000 {
49                         label = "factory";
50                         reg = <0x40000 0x10000>;
51                         read-only;
52                 };
53
54                 partition@50000 {
55                         label = "firmware";
56                         reg = <0x50000 0x7b0000>;
57                 };
58         };
59
60         ethernet@10100000 {
61                 status = "okay";
62         };
63
64         esw@10110000 {
65                 status = "okay";
66                 ralink,portmap = <0x2f>;
67         };
68
69         gpio-leds {
70                 compatible = "gpio-leds";
71                 usb {
72                         label = "mofi3500-3gn:green:usb";
73                         gpios = <&gpio0 8 1>;
74                 };
75                 3g {
76                         label = "mofi3500-3gn:green:3g";
77                         gpios = <&gpio0 11 1>;
78                 };
79                 status {
80                         label = "mofi3500-3gn:green:status";
81                         gpios = <&gpio0 12 1>;
82                 };
83                 wps {
84                         label = "mofi3500-3gn:green:wps";
85                         gpios = <&gpio0 14 1>;
86                 };
87         };
88
89         gpio-keys-polled {
90                 compatible = "gpio-keys-polled";
91                 #address-cells = <1>;
92                 #size-cells = <0>;
93                 poll-interval = <20>;
94                 reset {
95                         label = "reset";
96                         gpios = <&gpio0 10 1>;
97                         linux,code = <0x198>;
98                 };
99                 connect {
100                         label = "connect";
101                         gpios = <&gpio0 7 1>;
102                         linux,code = <0xda>;
103                 };
104                 wps {
105                         label = "wps";
106                         gpios = <&gpio0 0 1>;
107                         linux,code = <0x211>;
108                 };
109         };
110
111         wmac@10180000 {
112                 status = "okay";
113         };
114
115         otg@101c0000 {
116                 status = "okay";
117         };
118 };