OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
1 | /dts-v1/; |
1 | /dts-v1/; |
|
2 | |
2 | |
|
3 | #include "PX-4885.dtsi" |
3 | #include "PX-4885.dtsi" |
|
4 | |
4 | |
|
5 | / { |
5 | / { |
|
6 | compatible = "7links,px-4885-4m", "7links,px-4885", "ralink,rt5350-soc"; |
6 | compatible = "7links,px-4885-4m", "7links,px-4885", "ralink,rt5350-soc"; |
|
7 | model = "7Links PX-4885 (4M)"; |
7 | model = "7Links PX-4885 (4M)"; |
|
8 | }; |
8 | }; |
|
9 | |
9 | |
|
10 | &spi0 { |
10 | &spi0 { |
|
11 | status = "okay"; |
11 | status = "okay"; |
|
12 | |
12 | |
|
13 | m25p80@0 { |
13 | m25p80@0 { |
|
- | 14 | #address-cells = <1>; |
||
- | 15 | #size-cells = <1>; |
||
14 | compatible = "jedec,spi-nor"; |
16 | compatible = "jedec,spi-nor"; |
|
15 | reg = <0>; |
17 | reg = <0>; |
|
16 | spi-max-frequency = <10000000>; |
18 | spi-max-frequency = <10000000>; |
|
17 | |
- | ||
18 | partitions { |
- | ||
19 | compatible = "fixed-partitions"; |
- | ||
20 | #address-cells = <1>; |
- | ||
21 | #size-cells = <1>; |
- | ||
22 | |
19 | |
|
23 | partition@0 { |
20 | partition@0 { |
|
24 | label = "u-boot"; |
21 | label = "u-boot"; |
|
25 | reg = <0x0 0x20000>; |
22 | reg = <0x0 0x20000>; |
|
26 | read-only; |
23 | read-only; |
|
27 | }; |
24 | }; |
|
28 | |
25 | |
|
29 | partition@20000 { |
26 | partition@20000 { |
|
30 | label = "devdata"; |
27 | label = "devdata"; |
|
31 | reg = <0x20000 0x20000>; |
28 | reg = <0x20000 0x20000>; |
|
32 | read-only; |
29 | read-only; |
|
33 | }; |
30 | }; |
|
34 | |
31 | |
|
35 | factory: partition@40000 { |
32 | factory: partition@40000 { |
|
36 | label = "devconf"; |
33 | label = "devconf"; |
|
37 | reg = <0x40000 0x10000>; |
34 | reg = <0x40000 0x10000>; |
|
38 | read-only; |
- | ||
39 | }; |
35 | read-only; |
|
40 | |
36 | }; |
|
41 | partition@50000 { |
- | ||
42 | compatible = "denx,uimage"; |
37 | |
|
43 | label = "firmware"; |
38 | partition@50000 { |
|
44 | reg = <0x50000 0x3b0000>; |
39 | label = "firmware"; |
|
45 | }; |
40 | reg = <0x50000 0x3b0000>; |
|
46 | }; |
41 | }; |
|
47 | }; |
42 | }; |
|
48 | }; |
43 | }; |
|
49 | |
44 | |