OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 12... | Line 12... | |||
12 | memory@0{ |
12 | memory@0{ |
|
13 | device_type = "memory"; |
13 | device_type = "memory"; |
|
14 | reg = <0x0 0x4000000>; |
14 | reg = <0x0 0x4000000>; |
|
15 | }; |
15 | }; |
|
Line 16... | Line 16... | |||
16 | |
16 | |
|
17 | leds { |
17 | gpio-leds { |
|
Line 18... | Line 18... | |||
18 | compatible = "gpio-leds"; |
18 | compatible = "gpio-leds"; |
|
19 | |
19 | |
|
20 | wps { |
20 | wps { |
|
Line 31... | Line 31... | |||
31 | label = "w06:green:wlan"; |
31 | label = "w06:green:wlan"; |
|
32 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
32 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
|
33 | }; |
33 | }; |
|
34 | }; |
34 | }; |
|
Line 35... | Line 35... | |||
35 | |
35 | |
|
36 | keys { |
36 | gpio-keys-polled { |
|
- | 37 | compatible = "gpio-keys-polled"; |
||
- | 38 | #address-cells = <1>; |
||
37 | compatible = "gpio-keys-polled"; |
39 | #size-cells = <0>; |
|
Line 38... | Line 40... | |||
38 | poll-interval = <20>; |
40 | poll-interval = <20>; |
|
39 | |
41 | |
|
40 | reset { |
42 | reset { |
|
Line 68... | Line 70... | |||
68 | |
70 | |
|
69 | &spi0 { |
71 | &spi0 { |
|
Line 70... | Line 72... | |||
70 | status = "okay"; |
72 | status = "okay"; |
|
- | 73 | |
||
- | 74 | m25p80@0 { |
||
71 | |
75 | #address-cells = <1>; |
|
72 | m25p80@0 { |
76 | #size-cells = <1>; |
|
73 | compatible = "jedec,spi-nor"; |
77 | compatible = "jedec,spi-nor"; |
|
- | 78 | reg = <0>; |
||
Line 74... | Line -... | |||
74 | reg = <0>; |
- | ||
75 | spi-max-frequency = <10000000>; |
- | ||
76 | |
- | ||
77 | partitions { |
- | ||
78 | compatible = "fixed-partitions"; |
- | ||
79 | #address-cells = <1>; |
79 | spi-max-frequency = <10000000>; |
|
80 | #size-cells = <1>; |
80 | m25p,chunked-io = <32>; |
|
81 | |
81 | |
|
82 | partition@0 { |
82 | partition@0 { |
|
83 | label = "u-boot"; |
83 | label = "u-boot"; |
|
84 | reg = <0x0 0x30000>; |
84 | reg = <0x0 0x30000>; |
|
85 | read-only; |
85 | read-only; |
|
86 | }; |
86 | }; |
|
87 | |
87 | |
|
88 | partition@30000 { |
88 | partition@30000 { |
|
89 | label = "u-boot-env"; |
89 | label = "u-boot-env"; |
|
90 | reg = <0x30000 0x10000>; |
90 | reg = <0x30000 0x10000>; |
|
91 | read-only; |
91 | read-only; |
|
92 | }; |
92 | }; |
|
93 | |
93 | |
|
94 | factory: partition@40000 { |
94 | factory: partition@40000 { |
|
95 | label = "factory"; |
95 | label = "factory"; |
|
96 | reg = <0x40000 0x10000>; |
96 | reg = <0x40000 0x10000>; |
|
97 | read-only; |
97 | read-only; |
|
98 | }; |
- | ||
99 | |
98 | }; |
|
100 | partition@50000 { |
99 | |
|
101 | compatible = "denx,uimage"; |
100 | partition@50000 { |
|
102 | label = "firmware"; |
101 | label = "firmware"; |
|
103 | reg = <0x50000 0xeb0000>; |
102 | reg = <0x50000 0xeb0000>; |
|
104 | }; |
103 | }; |
|
105 | |
104 | |
|
106 | partition@f00000 { |
105 | partition@f00000 { |
|
107 | label = "user-data"; |
- | ||
108 | reg = <0xf00000 0x100000>; |
106 | label = "user-data"; |
|
109 | read-only; |
107 | reg = <0xf00000 0x100000>; |
|
110 | }; |
108 | read-only; |
|
Line 111... | Line 109... | |||
111 | }; |
109 | }; |