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,rt5350-soc"; |
4 | compatible = "ralink,rt5350-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 | |
|
16 | chosen { |
12 | chosen { |
|
Line 17... | Line 13... | |||
17 | bootargs = "console=ttyS0,57600"; |
13 | bootargs = "console=ttyS0,57600"; |
|
18 | }; |
14 | }; |
|
19 | |
15 | |
|
20 | cpuintc: cpuintc { |
16 | cpuintc: cpuintc@0 { |
|
21 | #address-cells = <0>; |
17 | #address-cells = <0>; |
|
22 | #interrupt-cells = <1>; |
18 | #interrupt-cells = <1>; |
|
Line 114... | Line 110... | |||
114 | |
110 | |
|
115 | gpio-controller; |
111 | gpio-controller; |
|
Line 116... | Line 112... | |||
116 | #gpio-cells = <2>; |
112 | #gpio-cells = <2>; |
|
117 | |
113 | |
|
118 | ralink,gpio-base = <0>; |
114 | ralink,gpio-base = <0>; |
|
119 | ralink,nr-gpio = <22>; |
115 | ralink,num-gpios = <22>; |
|
120 | ralink,register-map = [ 00 04 08 0c |
116 | ralink,register-map = [ 00 04 08 0c |
|
121 | 20 24 28 2c |
117 | 20 24 28 2c |
|
Line 131... | Line 127... | |||
131 | |
127 | |
|
132 | gpio-controller; |
128 | gpio-controller; |
|
Line 133... | Line 129... | |||
133 | #gpio-cells = <2>; |
129 | #gpio-cells = <2>; |
|
134 | |
130 | |
|
135 | ralink,gpio-base = <22>; |
131 | ralink,gpio-base = <22>; |
|
136 | ralink,nr-gpio = <6>; |
132 | ralink,num-gpios = <6>; |
|
137 | ralink,register-map = [ 00 04 08 0c |
133 | ralink,register-map = [ 00 04 08 0c |
|
Line 138... | Line 134... | |||
138 | 10 14 18 1c |
134 | 10 14 18 1c |
|
Line 242... | Line 238... | |||
242 | |
238 | |
|
243 | interrupt-parent = <&intc>; |
239 | interrupt-parent = <&intc>; |
|
Line 244... | Line 240... | |||
244 | interrupts = <4>; |
240 | interrupts = <4>; |
|
245 | |
241 | |
|
Line 246... | Line 242... | |||
246 | status = "disabled"; |
242 | status = "disabled"; |
|
247 | }; |
243 | }; |
|
248 | |
244 | |
|
Line 271... | Line 267... | |||
271 | pinctrl-0 = <&state_default>; |
267 | pinctrl-0 = <&state_default>; |
|
Line 272... | Line 268... | |||
272 | |
268 | |
|
273 | state_default: pinctrl0 { |
269 | state_default: pinctrl0 { |
|
Line 274... | Line 270... | |||
274 | }; |
270 | }; |
|
275 | |
271 | |
|
276 | i2c_pins: i2c_pins { |
272 | i2c_pins: i2c { |
|
277 | i2c_pins { |
273 | i2c { |
|
278 | ralink,group = "i2c"; |
274 | ralink,group = "i2c"; |
|
279 | ralink,function = "i2c"; |
275 | ralink,function = "i2c"; |
|
Line 280... | Line 276... | |||
280 | }; |
276 | }; |
|
281 | }; |
277 | }; |
|
282 | |
278 | |
|
283 | spi_pins: spi_pins { |
279 | spi_pins: spi { |
|
284 | spi_pins { |
280 | spi { |
|
285 | ralink,group = "spi"; |
281 | ralink,group = "spi"; |
|
Line 370... | Line 366... | |||
370 | |
366 | |
|
371 | ralink,eeprom = "soc_wmac.eeprom"; |
367 | ralink,eeprom = "soc_wmac.eeprom"; |
|
Line 372... | Line 368... | |||
372 | }; |
368 | }; |
|
373 | |
- | ||
374 | ehci: ehci@101c0000 { |
- | ||
375 | #address-cells = <1>; |
369 | |
|
376 | #size-cells = <0>; |
370 | ehci: ehci@101c0000 { |
|
Line 377... | Line 371... | |||
377 | compatible = "generic-ehci"; |
371 | compatible = "generic-ehci"; |
|
378 | reg = <0x101c0000 0x1000>; |
372 | reg = <0x101c0000 0x1000>; |
|
Line 379... | Line 373... | |||
379 | |
373 | |
|
380 | phys = <&usbphy>; |
374 | phys = <&usbphy>; |
|
381 | phy-names = "usb"; |
- | ||
382 | |
- | ||
383 | interrupt-parent = <&intc>; |
- | ||
384 | interrupts = <18>; |
- | ||
385 | |
- | ||
386 | ehci_port1: port@1 { |
375 | phy-names = "usb"; |
|
Line 387... | Line 376... | |||
387 | reg = <1>; |
376 | |
|
388 | #trigger-source-cells = <0>; |
- | ||
389 | }; |
- | ||
390 | }; |
377 | interrupt-parent = <&intc>; |
|
391 | |
378 | interrupts = <18>; |
|
Line 392... | Line 379... | |||
392 | ohci: ohci@101c1000 { |
379 | }; |
|
393 | #address-cells = <1>; |
380 | |
|
Line 394... | Line 381... | |||
394 | #size-cells = <0>; |
381 | ohci: ohci@101c1000 { |
|
395 | compatible = "generic-ohci"; |
382 | compatible = "generic-ohci"; |
|
396 | reg = <0x101c1000 0x1000>; |
- | ||
397 | |
- | ||
398 | phys = <&usbphy>; |
- | ||
399 | phy-names = "usb"; |
- | ||
400 | |
- | ||
401 | interrupt-parent = <&intc>; |
383 | reg = <0x101c1000 0x1000>; |
|
402 | interrupts = <18>; |
384 | |