OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 8... | Line 8... | |||
8 | |
8 | |
|
9 | chosen { |
9 | chosen { |
|
10 | bootargs = "console=ttyS0,115200"; |
10 | bootargs = "console=ttyS0,115200"; |
|
Line 11... | Line 11... | |||
11 | }; |
11 | }; |
|
12 | |
12 | |
|
- | 13 | gpio-keys-polled { |
||
- | 14 | compatible = "gpio-keys-polled"; |
||
13 | keys { |
15 | #address-cells = <1>; |
|
Line 14... | Line 16... | |||
14 | compatible = "gpio-keys-polled"; |
16 | #size-cells = <0>; |
|
15 | poll-interval = <20>; |
17 | poll-interval = <20>; |
|
16 | |
18 | |
|
Line 24... | Line 26... | |||
24 | |
26 | |
|
25 | &spi0 { |
27 | &spi0 { |
|
Line 26... | Line 28... | |||
26 | status = "okay"; |
28 | status = "okay"; |
|
- | 29 | |
||
- | 30 | m25p80@0 { |
||
27 | |
31 | #address-cells = <1>; |
|
28 | m25p80@0 { |
32 | #size-cells = <1>; |
|
29 | compatible = "jedec,spi-nor"; |
33 | compatible = "jedec,spi-nor"; |
|
- | 34 | reg = <0>; |
||
- | 35 | spi-max-frequency = <10000000>; |
||
- | 36 | m25p,chunked-io = <32>; |
||
- | 37 | |
||
- | 38 | partition@0 { |
||
- | 39 | label = "u-boot"; |
||
- | 40 | reg = <0x0 0x30000>; |
||
- | 41 | read-only; |
||
- | 42 | }; |
||
- | 43 | |
||
- | 44 | partition@30000 { |
||
- | 45 | label = "u-boot-env"; |
||
- | 46 | reg = <0x30000 0x10000>; |
||
- | 47 | read-only; |
||
- | 48 | }; |
||
- | 49 | |
||
- | 50 | factory: partition@40000 { |
||
- | 51 | label = "factory"; |
||
- | 52 | reg = <0x40000 0x10000>; |
||
Line 30... | Line -... | |||
30 | reg = <0>; |
- | ||
31 | spi-max-frequency = <10000000>; |
- | ||
32 | |
- | ||
33 | partitions { |
- | ||
34 | compatible = "fixed-partitions"; |
- | ||
35 | #address-cells = <1>; |
- | ||
36 | #size-cells = <1>; |
- | ||
37 | |
- | ||
38 | partition@0 { |
- | ||
39 | label = "u-boot"; |
- | ||
40 | reg = <0x0 0x30000>; |
- | ||
41 | read-only; |
- | ||
42 | }; |
- | ||
43 | |
- | ||
44 | partition@30000 { |
- | ||
45 | label = "u-boot-env"; |
- | ||
46 | reg = <0x30000 0x10000>; |
- | ||
47 | read-only; |
- | ||
48 | }; |
- | ||
49 | |
- | ||
50 | factory: partition@40000 { |
- | ||
51 | label = "factory"; |
- | ||
52 | reg = <0x40000 0x10000>; |
- | ||
53 | read-only; |
53 | read-only; |
|
54 | }; |
- | ||
55 | |
54 | }; |
|
56 | partition@50000 { |
55 | |
|
57 | compatible = "denx,uimage"; |
- | ||
58 | label = "firmware"; |
56 | partition@50000 { |
|
59 | reg = <0x50000 0x1fb0000>; |
57 | label = "firmware"; |
|
Line 60... | Line 58... | |||
60 | }; |
58 | reg = <0x50000 0x1fb0000>; |
|
61 | }; |
59 | }; |