OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 16... | Line 16... | |||
16 | compatible = "tplink,tl-wdr4900-v1"; |
16 | compatible = "tplink,tl-wdr4900-v1"; |
|
Line 17... | Line 17... | |||
17 | |
17 | |
|
18 | chosen { |
18 | chosen { |
|
19 | bootargs = "console=ttyS0,115200"; |
19 | bootargs = "console=ttyS0,115200"; |
|
20 | /* |
20 | /* |
|
21 | stdout-path = "/soc@ffe00000/serial@4500"; |
21 | linux,stdout-path = "/soc@ffe00000/serial@4500"; |
|
22 | */ |
22 | */ |
|
Line 23... | Line 23... | |||
23 | }; |
23 | }; |
|
24 | |
24 | |
|
25 | aliases { |
- | ||
26 | spi0 = &spi0; |
- | ||
27 | led-boot = &system_green; |
- | ||
28 | led-failsafe = &system_green; |
- | ||
29 | led-running = &system_green; |
25 | aliases { |
|
Line 30... | Line 26... | |||
30 | led-upgrade = &system_green; |
26 | spi0 = &spi0; |
|
31 | }; |
27 | }; |
|
32 | |
28 | |
|
Line 37... | Line 33... | |||
37 | soc: soc@ffe00000 { |
33 | soc: soc@ffe00000 { |
|
38 | ranges = <0x0 0x0 0xffe00000 0x100000>; |
34 | ranges = <0x0 0x0 0xffe00000 0x100000>; |
|
Line 39... | Line 35... | |||
39 | |
35 | |
|
40 | spi0: spi@7000 { |
36 | spi0: spi@7000 { |
|
- | 37 | flash@0 { |
||
- | 38 | #address-cells = <1>; |
||
41 | flash@0 { |
39 | #size-cells = <1>; |
|
42 | compatible = "jedec,spi-nor"; |
40 | compatible = "jedec,spi-nor"; |
|
43 | reg = <0>; |
41 | reg = <0>; |
|
Line 44... | Line 42... | |||
44 | spi-max-frequency = <25000000>; |
42 | spi-max-frequency = <25000000>; |
|
45 | |
43 | |
|
46 | partitions { |
44 | u-boot@0 { |
|
47 | compatible = "fixed-partitions"; |
45 | reg = <0x0 0x0050000>; |
|
- | 46 | label = "u-boot"; |
||
48 | #address-cells = <1>; |
47 | read-only; |
|
49 | #size-cells = <1>; |
48 | }; |
|
50 | |
49 | |
|
51 | partition@0 { |
50 | dtb@50000 { |
|
52 | reg = <0x0 0x0050000>; |
51 | reg = <0x00050000 0x00010000>; |
|
53 | label = "u-boot"; |
52 | label = "dtb"; |
|
54 | read-only; |
53 | read-only; |
|
55 | }; |
54 | }; |
|
56 | |
55 | |
|
57 | partition@50000 { |
56 | kernel@60000 { |
|
58 | reg = <0x00050000 0x00010000>; |
- | ||
59 | label = "dtb"; |
57 | reg = <0x00060000 0x002a0000>; |
|
60 | read-only; |
58 | label = "kernel"; |
|
61 | }; |
59 | }; |
|
62 | |
- | ||
63 | partition@60000 { |
60 | |
|
64 | compatible = "tplink,firmware"; |
61 | rootfs@300000 { |
|
65 | reg = <0x00060000 0x00f80000>; |
62 | reg = <0x00300000 0x00ce0000>; |
|
66 | label = "firmware"; |
63 | label = "rootfs"; |
|
67 | }; |
64 | }; |
|
68 | |
65 | |
|
69 | config: partition@fe0000 { |
66 | config: config@fe0000 { |
|
70 | reg = <0x00fe0000 0x00010000>; |
67 | reg = <0x00fe0000 0x00010000>; |
|
71 | label = "config"; |
68 | label = "config"; |
|
72 | read-only; |
69 | read-only; |
|
73 | }; |
70 | }; |
|
74 | |
71 | |
|
75 | partition@ff0000 { |
72 | caldata@ff0000 { |
|
76 | reg = <0x00ff0000 0x00010000>; |
73 | reg = <0x00ff0000 0x00010000>; |
|
77 | label = "caldata"; |
74 | label = "caldata"; |
|
- | 75 | read-only; |
||
- | 76 | }; |
||
- | 77 | |
||
- | 78 | firmware@60000 { |
||
78 | read-only; |
79 | reg = <0x00060000 0x00f80000>; |
|
79 | }; |
80 | label = "firmware"; |
|
80 | }; |
81 | }; |
|
Line 81... | Line 82... | |||
81 | }; |
82 | }; |
|
Line 194... | Line 195... | |||
194 | }; |
195 | }; |
|
Line 195... | Line 196... | |||
195 | |
196 | |
|
196 | leds { |
197 | leds { |
|
Line 197... | Line 198... | |||
197 | compatible = "gpio-leds"; |
198 | compatible = "gpio-leds"; |
|
198 | |
199 | |
|
199 | system_green: system { |
200 | system { |
|
200 | gpios = <&gpio0 2 1>; /* active low */ |
201 | gpios = <&gpio0 2 1>; /* active low */ |
|
Line 201... | Line 202... | |||
201 | label = "tp-link:blue:system"; |
202 | label = "tp-link:blue:system"; |