OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 2... | Line 2... | |||
2 | #address-cells = <1>; |
2 | #address-cells = <1>; |
|
3 | #size-cells = <1>; |
3 | #size-cells = <1>; |
|
4 | compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc"; |
4 | compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc"; |
|
Line 5... | Line 5... | |||
5 | |
5 | |
|
6 | cpus { |
- | ||
7 | #address-cells = <1>; |
- | ||
8 | #size-cells = <0>; |
- | ||
9 | |
6 | cpus { |
|
10 | cpu@0 { |
7 | cpu@0 { |
|
11 | compatible = "mips,mips24KEc"; |
- | ||
12 | reg = <0>; |
8 | compatible = "mips,mips24KEc"; |
|
13 | }; |
9 | }; |
|
Line 14... | Line 10... | |||
14 | }; |
10 | }; |
|
15 | |
11 | |
|
Line 20... | Line 16... | |||
20 | aliases { |
16 | aliases { |
|
21 | spi0 = &spi0; |
17 | spi0 = &spi0; |
|
22 | serial0 = &uartlite; |
18 | serial0 = &uartlite; |
|
23 | }; |
19 | }; |
|
Line 24... | Line 20... | |||
24 | |
20 | |
|
25 | cpuintc: cpuintc { |
21 | cpuintc: cpuintc@0 { |
|
26 | #address-cells = <0>; |
22 | #address-cells = <0>; |
|
27 | #interrupt-cells = <1>; |
23 | #interrupt-cells = <1>; |
|
28 | interrupt-controller; |
24 | interrupt-controller; |
|
29 | compatible = "mti,cpu-interrupt-controller"; |
25 | compatible = "mti,cpu-interrupt-controller"; |
|
Line 107... | Line 103... | |||
107 | |
103 | |
|
108 | gpio-controller; |
104 | gpio-controller; |
|
Line 109... | Line 105... | |||
109 | #gpio-cells = <2>; |
105 | #gpio-cells = <2>; |
|
110 | |
106 | |
|
111 | ralink,gpio-base = <0>; |
107 | ralink,gpio-base = <0>; |
|
112 | ralink,nr-gpio = <24>; |
108 | ralink,num-gpios = <24>; |
|
113 | ralink,register-map = [ 00 04 08 0c |
109 | ralink,register-map = [ 00 04 08 0c |
|
Line 114... | Line 110... | |||
114 | 20 24 28 2c |
110 | 20 24 28 2c |
|
Line 127... | Line 123... | |||
127 | |
123 | |
|
128 | gpio-controller; |
124 | gpio-controller; |
|
Line 129... | Line 125... | |||
129 | #gpio-cells = <2>; |
125 | #gpio-cells = <2>; |
|
130 | |
126 | |
|
131 | ralink,gpio-base = <24>; |
127 | ralink,gpio-base = <24>; |
|
132 | ralink,nr-gpio = <16>; |
128 | ralink,num-gpios = <16>; |
|
133 | ralink,register-map = [ 00 04 08 0c |
129 | ralink,register-map = [ 00 04 08 0c |
|
Line 134... | Line 130... | |||
134 | 10 14 18 1c |
130 | 10 14 18 1c |
|
Line 143... | Line 139... | |||
143 | |
139 | |
|
144 | gpio-controller; |
140 | gpio-controller; |
|
Line 145... | Line 141... | |||
145 | #gpio-cells = <2>; |
141 | #gpio-cells = <2>; |
|
146 | |
142 | |
|
147 | ralink,gpio-base = <40>; |
143 | ralink,gpio-base = <40>; |
|
148 | ralink,nr-gpio = <12>; |
144 | ralink,num-gpios = <12>; |
|
149 | ralink,register-map = [ 00 04 08 0c |
145 | ralink,register-map = [ 00 04 08 0c |
|
Line 150... | Line 146... | |||
150 | 10 14 18 1c |
146 | 10 14 18 1c |
|
Line 248... | Line 244... | |||
248 | ralink,group = "sdram"; |
244 | ralink,group = "sdram"; |
|
249 | ralink,function = "sdram"; |
245 | ralink,function = "sdram"; |
|
250 | }; |
246 | }; |
|
251 | }; |
247 | }; |
|
Line 252... | Line 248... | |||
252 | |
248 | |
|
253 | i2c_pins: i2c_pins { |
249 | i2c_pins: i2c { |
|
254 | i2c_pins { |
250 | i2c { |
|
255 | ralink,group = "i2c"; |
251 | ralink,group = "i2c"; |
|
256 | ralink,function = "i2c"; |
252 | ralink,function = "i2c"; |
|
257 | }; |
253 | }; |
|
Line 258... | Line 254... | |||
258 | }; |
254 | }; |
|
259 | |
255 | |
|
260 | spi_pins: spi_pins { |
256 | spi_pins: spi { |
|
261 | spi_pins { |
257 | spi { |
|
262 | ralink,group = "spi"; |
258 | ralink,group = "spi"; |
|
263 | ralink,function = "spi"; |
259 | ralink,function = "spi"; |
|
Line 333... | Line 329... | |||
333 | |
329 | |
|
334 | ralink,eeprom = "soc_wmac.eeprom"; |
330 | ralink,eeprom = "soc_wmac.eeprom"; |
|
Line 335... | Line 331... | |||
335 | }; |
331 | }; |
|
336 | |
- | ||
337 | otg: otg@101c0000 { |
- | ||
338 | #address-cells = <1>; |
332 | |
|
339 | #size-cells = <0>; |
333 | otg: otg@101c0000 { |
|
Line 340... | Line 334... | |||
340 | compatible = "ralink,rt3050-otg", "snps,dwc2"; |
334 | compatible = "ralink,rt3050-otg", "snps,dwc2"; |
|
341 | reg = <0x101c0000 0x40000>; |
335 | reg = <0x101c0000 0x40000>; |
|
Line 342... | Line 336... | |||
342 | |
336 | |
|
343 | interrupt-parent = <&intc>; |
337 | interrupt-parent = <&intc>; |
|
Line 344... | Line 338... | |||
344 | interrupts = <18>; |
338 | interrupts = <18>; |
|
345 | |
- | ||
346 | resets = <&rstctrl 22>; |
- | ||
347 | reset-names = "otg"; |
- | ||
348 | |
- | ||
349 | status = "disabled"; |
- | ||
350 | |
339 | |
|
351 | otg_port1: port@1 { |
340 | resets = <&rstctrl 22>; |