OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 13... | Line 13... | |||
13 | |
13 | |
|
14 | chosen { |
14 | chosen { |
|
15 | bootargs = "console=ttyS0,57600"; |
15 | bootargs = "console=ttyS0,57600"; |
|
Line 16... | Line 16... | |||
16 | }; |
16 | }; |
|
17 | |
17 | |
|
- | 18 | gpio-keys-polled { |
||
- | 19 | compatible = "gpio-keys-polled"; |
||
18 | keys { |
20 | #address-cells = <1>; |
|
Line 19... | Line 21... | |||
19 | compatible = "gpio-keys-polled"; |
21 | #size-cells = <0>; |
|
20 | poll-interval = <20>; |
22 | poll-interval = <20>; |
|
21 | |
23 | |
|
Line 32... | Line 34... | |||
32 | }; |
34 | }; |
|
Line 33... | Line 35... | |||
33 | |
35 | |
|
34 | &nand { |
36 | &nand { |
|
Line 35... | Line -... | |||
35 | status = "okay"; |
- | ||
36 | |
- | ||
37 | partitions { |
- | ||
38 | compatible = "fixed-partitions"; |
- | ||
39 | #address-cells = <1>; |
- | ||
40 | #size-cells = <1>; |
37 | status = "okay"; |
|
41 | |
38 | |
|
42 | partition@0 { |
39 | partition@0 { |
|
43 | label = "u-boot"; |
40 | label = "u-boot"; |
|
44 | reg = <0x0 0x80000>; |
41 | reg = <0x0 0x80000>; |
|
Line 69... | Line 66... | |||
69 | partition@740000 { |
66 | partition@740000 { |
|
70 | label = "ubi"; |
67 | label = "ubi"; |
|
71 | reg = <0x740000 0xf7c0000>; |
68 | reg = <0x740000 0xf7c0000>; |
|
72 | }; |
69 | }; |
|
73 | }; |
70 | }; |
|
74 | }; |
- | ||
Line 75... | Line 71... | |||
75 | |
71 | |
|
76 | &pinctrl { |
72 | &pinctrl { |
|
77 | state_default: pinctrl0 { |
73 | state_default: pinctrl0 { |
|
78 | gpio { |
74 | gpio { |
|
Line 81... | Line 77... | |||
81 | }; |
77 | }; |
|
82 | }; |
78 | }; |
|
83 | }; |
79 | }; |
|
Line 84... | Line 80... | |||
84 | |
80 | |
|
85 | &spi0 { |
- | ||
86 | /* |
81 | &spi0 { |
|
87 | * This board has 2Mb spi flash soldered in and visible |
82 | /* This board has 2Mb spi flash soldered in and visible |
|
88 | * from manufacturer's firmware. |
83 | from manufacturer's firmware. |
|
89 | * But this SoC shares spi and nand pins, |
84 | But this SoC shares spi and nand pins, |
|
90 | * and current driver doesn't handle this sharing well |
- | ||
91 | */ |
85 | and current driver does't handle this sharing well */ |
|
Line 92... | Line 86... | |||
92 | status = "disabled"; |
86 | status = "disabled"; |
|
- | 87 | |
||
- | 88 | m25p80@0 { |
||
93 | |
89 | #address-cells = <1>; |
|
94 | m25p80@1 { |
90 | #size-cells = <1>; |
|
95 | compatible = "jedec,spi-nor"; |
91 | compatible = "jedec,spi-nor"; |
|
96 | reg = <1>; |
- | ||
97 | spi-max-frequency = <10000000>; |
- | ||
98 | |
- | ||
99 | partitions { |
- | ||
100 | compatible = "fixed-partitions"; |
92 | reg = <1>; |
|
Line 101... | Line 93... | |||
101 | #address-cells = <1>; |
93 | spi-max-frequency = <10000000>; |
|
102 | #size-cells = <1>; |
94 | m25p,chunked-io = <32>; |
|
103 | |
95 | |
|
104 | partition@0 { |
96 | partition@0 { |
|
105 | label = "spi"; |
97 | label = "spi"; |
|
106 | reg = <0x0 0x200000>; |
98 | reg = <0x0 0x200000>; |
|
107 | read-only; |
99 | read-only; |
|
108 | }; |
- | ||
Line 109... | Line 100... | |||
109 | }; |
100 | }; |
|
110 | }; |
101 | }; |
|
111 | }; |
102 | }; |