OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 13... | Line 13... | |||
13 | |
13 | |
|
14 | &spi0 { |
14 | &spi0 { |
|
Line 15... | Line 15... | |||
15 | status = "okay"; |
15 | status = "okay"; |
|
- | 16 | |
||
- | 17 | m25p80@0 { |
||
16 | |
18 | #address-cells = <1>; |
|
17 | m25p80@0 { |
19 | #size-cells = <1>; |
|
18 | compatible = "jedec,spi-nor"; |
20 | compatible = "jedec,spi-nor"; |
|
- | 21 | reg = <0>; |
||
Line 19... | Line -... | |||
19 | reg = <0>; |
- | ||
20 | spi-max-frequency = <10000000>; |
- | ||
21 | |
- | ||
22 | partitions { |
- | ||
23 | compatible = "fixed-partitions"; |
- | ||
24 | #address-cells = <1>; |
22 | spi-max-frequency = <10000000>; |
|
25 | #size-cells = <1>; |
23 | m25p,chunked-io = <32>; |
|
26 | |
24 | |
|
27 | partition@0 { |
25 | partition@0 { |
|
28 | label = "boot"; |
26 | label = "boot"; |
|
29 | reg = <0x0 0x20000>; |
27 | reg = <0x0 0x20000>; |
|
30 | read-only; |
28 | read-only; |
|
31 | }; |
- | ||
32 | |
29 | }; |
|
33 | partition@20000 { |
30 | |
|
34 | compatible = "tplink,firmware"; |
31 | partition@20000 { |
|
35 | label = "firmware"; |
32 | label = "firmware"; |
|
36 | reg = <0x20000 0x7a0000>; |
33 | reg = <0x20000 0x7a0000>; |
|
37 | }; |
34 | }; |
|
38 | |
35 | |
|
39 | partition@7c0000 { |
36 | partition@7c0000 { |
|
40 | label = "config"; |
37 | label = "config"; |
|
41 | reg = <0x7c0000 0x10000>; |
38 | reg = <0x7c0000 0x10000>; |
|
42 | read-only; |
39 | read-only; |
|
43 | }; |
40 | }; |
|
44 | |
41 | |
|
45 | factory: partition@7d0000 { |
42 | factory: partition@7d0000 { |
|
46 | label = "factory"; |
- | ||
47 | reg = <0x7d0000 0x30000>; |
43 | label = "factory"; |
|
48 | read-only; |
44 | reg = <0x7d0000 0x30000>; |
|
49 | }; |
45 | read-only; |
|
Line 50... | Line 46... | |||
50 | }; |
46 | }; |