OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
1 | /dts-v1/; |
1 | /dts-v1/; |
|
2 | |
2 | |
|
3 | #include "WIDORA-NEO.dtsi" |
3 | #include "WIDORA-NEO.dtsi" |
|
4 | |
4 | |
|
5 | / { |
5 | / { |
|
6 | compatible = "widora,neo-32m", "widora,neo", "mediatek,mt7628an-soc"; |
6 | compatible = "widora,neo-32m", "widora,neo", "mediatek,mt7628an-soc"; |
|
7 | model = "Widora-NEO (32M)"; |
7 | model = "Widora-NEO (32M)"; |
|
8 | }; |
8 | }; |
|
9 | |
9 | |
|
10 | &spi0 { |
10 | &spi0 { |
|
11 | status = "okay"; |
11 | status = "okay"; |
|
12 | |
12 | |
|
13 | pinctrl-names = "default"; |
13 | pinctrl-names = "default"; |
|
14 | pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>; |
14 | pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>; |
|
15 | |
15 | |
|
16 | m25p80@0 { |
16 | m25p80@0 { |
|
- | 17 | #address-cells = <1>; |
||
- | 18 | #size-cells = <1>; |
||
17 | compatible = "jedec,spi-nor"; |
19 | compatible = "jedec,spi-nor"; |
|
18 | reg = <0>; |
20 | reg = <0>; |
|
19 | spi-max-frequency = <40000000>; |
21 | spi-max-frequency = <40000000>; |
|
- | 22 | m25p,chunked-io = <31>; |
||
20 | |
- | ||
21 | partitions { |
- | ||
22 | compatible = "fixed-partitions"; |
- | ||
23 | #address-cells = <1>; |
- | ||
24 | #size-cells = <1>; |
- | ||
25 | |
23 | |
|
26 | partition@0 { |
24 | partition@0 { |
|
27 | label = "u-boot"; |
25 | label = "u-boot"; |
|
28 | reg = <0x0 0x30000>; |
26 | reg = <0x0 0x30000>; |
|
29 | read-only; |
27 | read-only; |
|
30 | }; |
28 | }; |
|
31 | |
29 | |
|
32 | partition@30000 { |
30 | partition@30000 { |
|
33 | label = "u-boot-env"; |
31 | label = "u-boot-env"; |
|
34 | reg = <0x30000 0x10000>; |
32 | reg = <0x30000 0x10000>; |
|
35 | }; |
33 | }; |
|
36 | |
34 | |
|
37 | factory: partition@40000 { |
35 | factory: partition@40000 { |
|
38 | label = "factory"; |
36 | label = "factory"; |
|
39 | reg = <0x40000 0x10000>; |
37 | reg = <0x40000 0x10000>; |
|
40 | read-only; |
- | ||
41 | }; |
38 | read-only; |
|
42 | |
39 | }; |
|
43 | partition@50000 { |
- | ||
44 | compatible = "denx,uimage"; |
40 | |
|
45 | label = "firmware"; |
41 | partition@50000 { |
|
46 | reg = <0x50000 0x1fb0000>; |
42 | label = "firmware"; |
|
47 | }; |
43 | reg = <0x50000 0x1fb0000>; |
|
48 | }; |
44 | }; |
|
49 | }; |
45 | }; |
|
50 | |
46 | |
|
51 | spidev@1 { |
47 | spidev@1 { |
|
52 | #address-cells = <1>; |
48 | #address-cells = <1>; |
|
53 | #size-cells = <1>; |
49 | #size-cells = <1>; |
|
54 | compatible = "linux,spidev"; |
50 | compatible = "linux,spidev"; |
|
55 | reg = <1>; |
51 | reg = <1>; |
|
56 | spi-max-frequency = <40000000>; |
52 | spi-max-frequency = <40000000>; |
|
57 | }; |
53 | }; |
|
58 | }; |
54 | }; |
|
59 | |
55 | |