OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 24... | Line 24... | |||
24 | led-running = &status; |
24 | led-running = &status; |
|
25 | led-upgrade = &status; |
25 | led-upgrade = &status; |
|
26 | }; |
26 | }; |
|
Line 27... | Line 27... | |||
27 | |
27 | |
|
28 | chosen { |
28 | chosen { |
|
29 | stdout-path = "/plb/opb/serial@ef600300:115200n8"; |
29 | linux,stdout-path = "/plb/opb/serial@ef600300"; |
|
Line 30... | Line 30... | |||
30 | }; |
30 | }; |
|
31 | |
31 | |
|
32 | thermal-zones { |
32 | thermal-zones { |
|
Line 155... | Line 155... | |||
155 | &EBC0 { |
155 | &EBC0 { |
|
156 | ndfc@1,0 { |
156 | ndfc@1,0 { |
|
157 | status = "okay"; |
157 | status = "okay"; |
|
158 | /* 128 MiB Nand Flash */ |
158 | /* 128 MiB Nand Flash */ |
|
159 | nand { |
159 | nand { |
|
- | 160 | #address-cells = <1>; |
||
- | 161 | #size-cells = <1>; |
||
- | 162 | |
||
160 | partition0,0@0 { |
163 | partition0,0@0 { |
|
161 | label = "NAND 128MiB 3,3V 8-bit"; |
164 | label = "NAND 128MiB 3,3V 8-bit"; |
|
162 | reg = <0x00000000 0x08000000>; |
165 | reg = <0x00000000 0x08000000>; |
|
163 | read-only; |
166 | read-only; |
|
164 | }; |
167 | }; |
|
Line 283... | Line 286... | |||
283 | |
286 | |
|
284 | |
287 | |
|
285 | &EMAC0 { |
288 | &EMAC0 { |
|
286 | status = "okay"; |
- | ||
Line 287... | Line 289... | |||
287 | phy-handle = <&phy0>; |
289 | status = "okay"; |
|
288 | fifo-entry-size = <10>; |
290 | phy-handle = <&phy0>; |
|
289 | |
291 | |
|
290 | mdio { |
292 | mdio { |
|
Line 303... | Line 305... | |||
303 | }; |
305 | }; |
|
304 | }; |
306 | }; |
|
305 | }; |
307 | }; |
|
Line 306... | Line 308... | |||
306 | |
308 | |
|
307 | &POB0 { |
309 | &POB0 { |
|
308 | keys { |
310 | gpio_keys_polled { |
|
- | 311 | compatible = "gpio-keys-polled"; |
||
- | 312 | #address-cells = <1>; |
||
309 | compatible = "gpio-keys-polled"; |
313 | #size-cells = <0>; |
|
310 | #interrupt-cells = <2>; |
314 | #interrupt-cells = <2>; |
|
311 | autorepeat; |
315 | autorepeat; |
|
Line 312... | Line 316... | |||
312 | poll-interval = <60>; /* 3 * 20 = 60ms */ |
316 | poll-interval = <60>; /* 3 * 20 = 60ms */ |
|
Line 348... | Line 352... | |||
348 | gpios = <&GPIO0 7 GPIO_ACTIVE_LOW>; |
352 | gpios = <&GPIO0 7 GPIO_ACTIVE_LOW>; |
|
349 | linux,code = <BTN_1>; |
353 | linux,code = <BTN_1>; |
|
350 | }; |
354 | }; |
|
351 | }; |
355 | }; |
|
Line 352... | Line 356... | |||
352 | |
356 | |
|
353 | leds { |
357 | gpio-leds { |
|
354 | compatible = "gpio-leds"; |
358 | compatible = "gpio-leds"; |
|
355 | status: power-green { |
359 | status: power-green { |
|
356 | label = "wndr4700:green:power"; |
360 | label = "wndr4700:green:power"; |
|
357 | gpios = <&GPIO0 8 GPIO_ACTIVE_HIGH>; |
361 | gpios = <&GPIO0 8 GPIO_ACTIVE_HIGH>; |
|
Line 384... | Line 388... | |||
384 | }; |
388 | }; |
|
Line 385... | Line 389... | |||
385 | |
389 | |
|
386 | hd-green { |
390 | hd-green { |
|
387 | label = "wndr4700:green:hd"; |
391 | label = "wndr4700:green:hd"; |
|
388 | gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>; |
- | ||
389 | linux,default-trigger = "disk-activity"; |
392 | gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>; |
|
Line 390... | Line 393... | |||
390 | }; |
393 | }; |
|
391 | |
394 | |
|
392 | hd-red { |
395 | hd-red { |