OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 35... | Line 35... | |||
35 | gpio-export,direction_may_change = <1>; |
35 | gpio-export,direction_may_change = <1>; |
|
36 | gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
36 | gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
|
37 | }; |
37 | }; |
|
38 | }; |
38 | }; |
|
Line 39... | Line 39... | |||
39 | |
39 | |
|
40 | keys { |
40 | gpio-keys-polled { |
|
- | 41 | compatible = "gpio-keys-polled"; |
||
- | 42 | #address-cells = <1>; |
||
41 | compatible = "gpio-keys-polled"; |
43 | #size-cells = <0>; |
|
42 | poll-interval = <20>; |
44 | poll-interval = <20>; |
|
43 | reset { |
45 | reset { |
|
44 | label = "reset"; |
46 | label = "reset"; |
|
45 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
47 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
|
Line 59... | Line 61... | |||
59 | |
61 | |
|
60 | &spi0 { |
62 | &spi0 { |
|
Line 61... | Line 63... | |||
61 | status = "okay"; |
63 | status = "okay"; |
|
- | 64 | |
||
- | 65 | m25p80@0 { |
||
62 | |
66 | #address-cells = <1>; |
|
63 | m25p80@0 { |
67 | #size-cells = <1>; |
|
64 | compatible = "jedec,spi-nor"; |
68 | compatible = "jedec,spi-nor"; |
|
Line 65... | Line -... | |||
65 | reg = <0>; |
- | ||
66 | spi-max-frequency = <10000000>; |
- | ||
67 | |
- | ||
68 | partitions { |
- | ||
69 | compatible = "fixed-partitions"; |
- | ||
70 | #address-cells = <1>; |
69 | reg = <0>; |
|
71 | #size-cells = <1>; |
70 | spi-max-frequency = <10000000>; |
|
72 | |
71 | |
|
73 | partition@0 { |
72 | partition@0 { |
|
74 | label = "u-boot"; |
73 | label = "u-boot"; |
|
75 | reg = <0x0 0x30000>; |
74 | reg = <0x0 0x30000>; |
|
76 | read-only; |
75 | read-only; |
|
77 | }; |
76 | }; |
|
78 | |
77 | |
|
79 | partition@30000 { |
78 | partition@30000 { |
|
80 | label = "u-boot-env"; |
79 | label = "u-boot-env"; |
|
81 | reg = <0x30000 0x10000>; |
80 | reg = <0x30000 0x10000>; |
|
82 | read-only; |
81 | read-only; |
|
83 | }; |
82 | }; |
|
84 | |
83 | |
|
85 | factory: partition@40000 { |
84 | factory: partition@40000 { |
|
86 | label = "factory"; |
85 | label = "factory"; |
|
87 | reg = <0x40000 0x10000>; |
86 | reg = <0x40000 0x10000>; |
|
88 | read-only; |
87 | read-only; |
|
89 | }; |
- | ||
90 | |
88 | }; |
|
91 | partition@50000 { |
89 | |
|
92 | compatible = "denx,uimage"; |
- | ||
93 | label = "firmware"; |
90 | partition@50000 { |
|
94 | reg = <0x50000 0x3b0000>; |
91 | label = "firmware"; |
|
95 | }; |
92 | reg = <0x50000 0x3b0000>; |
|
Line 96... | Line 93... | |||
96 | }; |
93 | }; |