remove bootargs from dts
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / FONERA20N.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "FONERA20N", "ralink,rt3052-soc";
7 model = "La Fonera 2.0N";
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
26 cfi@1f000000 {
27 compatible = "cfi-flash";
28 reg = <0x1f000000 0x800000>;
29
30 bank-width = <2>;
31 device-width = <2>;
32 #address-cells = <1>;
33 #size-cells = <1>;
34
35 partition@0 {
36 label = "u-boot";
37 reg = <0x0 0x30000>;
38 read-only;
39 };
40
41 partition@30000 {
42 label = "u-boot-env";
43 reg = <0x30000 0x10000>;
44 read-only;
45 };
46
47 factory: partition@40000 {
48 label = "factory";
49 reg = <0x40000 0x10000>;
50 read-only;
51 };
52
53 partition@50000 {
54 label = "firmware";
55 reg = <0x50000 0x7b0000>;
56 };
57 };
58
59 gpio-leds {
60 compatible = "gpio-leds";
61 wifi {
62 label = "fonera20n:orange:wifi";
63 gpios = <&gpio0 7 1>;
64 };
65 power {
66 label = "fonera20n:green:power";
67 gpios = <&gpio0 9 1>;
68 };
69 usb {
70 label = "fonera20n:orange:usb";
71 gpios = <&gpio0 14 1>;
72 };
73 };
74
75 gpio-keys-polled {
76 compatible = "gpio-keys-polled";
77 #address-cells = <1>;
78 #size-cells = <0>;
79 poll-interval = <20>;
80 reset {
81 label = "reset";
82 gpios = <&gpio0 12 1>;
83 linux,code = <0x198>;
84 };
85 switch {
86 label = "switch";
87 gpios = <&gpio0 13 1>;
88 linux,code = <0x101>;
89 };
90 };
91
92 ethernet@10100000 {
93 status = "okay";
94 };
95
96 esw@10110000 {
97 status = "okay";
98 ralink,portmap = <0x2f>;
99
100 port@0 {
101 conpatible = "swconfig,port";
102 swconfig,segment = "lan";
103 swconfig,portmap = <0 4>;
104 };
105 port@1 {
106 conpatible = "swconfig,port";
107 swconfig,segment = "lan";
108 swconfig,portmap = <1 3>;
109 };
110 port@2 {
111 conpatible = "swconfig,port";
112 swconfig,segment = "lan";
113 swconfig,portmap = <2 2>;
114 };
115 port@3 {
116 conpatible = "swconfig,port";
117 swconfig,segment = "lan";
118 swconfig,portmap = <3 1>;
119 };
120 port@4 {
121 conpatible = "swconfig,port";
122 swconfig,segment = "lan";
123 swconfig,portmap = <4 0>;
124 };
125 };
126
127 wmac@10180000 {
128 status = "okay";
129 };
130
131 otg@101c0000 {
132 status = "okay";
133 };
134 };