OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 39... | Line 39... | |||
39 | |
39 | |
|
40 | / { |
40 | / { |
|
41 | compatible = "alfa-network,awusfree1", "mediatek,mt7628an-soc"; |
41 | compatible = "alfa-network,awusfree1", "mediatek,mt7628an-soc"; |
|
Line 42... | Line -... | |||
42 | model = "ALFA Network AWUSFREE1"; |
- | ||
43 | |
- | ||
44 | aliases { |
- | ||
45 | led-boot = &led_system; |
- | ||
46 | led-failsafe = &led_system; |
- | ||
47 | led-running = &led_system; |
- | ||
48 | led-upgrade = &led_system; |
- | ||
49 | }; |
42 | model = "ALFA Network AWUSFREE1"; |
|
50 | |
43 | |
|
51 | chosen { |
44 | chosen { |
|
Line 52... | Line 45... | |||
52 | bootargs = "console=ttyS0,115200"; |
45 | bootargs = "console=ttyS0,115200"; |
|
53 | }; |
46 | }; |
|
- | 47 | |
||
- | 48 | gpio-keys-polled { |
||
54 | |
49 | compatible = "gpio-keys-polled"; |
|
Line 55... | Line 50... | |||
55 | keys { |
50 | #address-cells = <1>; |
|
56 | compatible = "gpio-keys-polled"; |
51 | #size-cells = <0>; |
|
57 | poll-interval = <20>; |
52 | poll-interval = <20>; |
|
58 | |
53 | |
|
59 | reset { |
54 | reset { |
|
60 | label = "reset"; |
55 | label = "reset"; |
|
Line 61... | Line 56... | |||
61 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
56 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
|
62 | linux,code = <KEY_RESTART>; |
57 | linux,code = <KEY_RESTART>; |
|
Line 63... | Line 58... | |||
63 | }; |
58 | }; |
|
64 | }; |
59 | }; |
|
65 | |
60 | |
|
66 | leds { |
61 | gpio-leds { |
|
Line 67... | Line 62... | |||
67 | compatible = "gpio-leds"; |
62 | compatible = "gpio-leds"; |
|
Line 124... | Line 119... | |||
124 | |
119 | |
|
125 | &spi0 { |
120 | &spi0 { |
|
Line 126... | Line 121... | |||
126 | status = "okay"; |
121 | status = "okay"; |
|
- | 122 | |
||
- | 123 | m25p80@0 { |
||
127 | |
124 | #address-cells = <1>; |
|
128 | m25p80@0 { |
125 | #size-cells = <1>; |
|
129 | compatible = "jedec,spi-nor"; |
126 | compatible = "jedec,spi-nor"; |
|
130 | reg = <0>; |
- | ||
131 | spi-max-frequency = <10000000>; |
- | ||
132 | |
- | ||
133 | partitions { |
- | ||
134 | compatible = "fixed-partitions"; |
127 | reg = <0>; |
|
Line 135... | Line 128... | |||
135 | #address-cells = <1>; |
128 | spi-max-frequency = <10000000>; |
|
136 | #size-cells = <1>; |
129 | m25p,chunked-io = <32>; |
|
137 | |
130 | |
|
138 | partition@0 { |
131 | partition@0 { |
|
Line 144... | Line 137... | |||
144 | partition@30000 { |
137 | partition@30000 { |
|
145 | label = "u-boot-env"; |
138 | label = "u-boot-env"; |
|
146 | reg = <0x30000 0x1000>; |
139 | reg = <0x30000 0x1000>; |
|
147 | }; |
140 | }; |
|
Line 148... | Line 141... | |||
148 | |
141 | |
|
149 | partition@31000 { |
142 | partition@031000 { |
|
150 | label = "config"; |
143 | label = "config"; |
|
151 | reg = <0x31000 0xf000>; |
144 | reg = <0x31000 0xf000>; |
|
152 | read-only; |
145 | read-only; |
|
Line 157... | Line 150... | |||
157 | reg = <0x40000 0x10000>; |
150 | reg = <0x40000 0x10000>; |
|
158 | read-only; |
151 | read-only; |
|
159 | }; |
152 | }; |
|
Line 160... | Line 153... | |||
160 | |
153 | |
|
161 | partition@50000 { |
- | ||
162 | compatible = "denx,uimage"; |
154 | partition@50000 { |
|
163 | label = "firmware"; |
155 | label = "firmware"; |
|
164 | reg = <0x50000 0x7b0000>; |
156 | reg = <0x50000 0x7b0000>; |
|
165 | }; |
157 | }; |
|
166 | }; |
158 | }; |
|
167 | }; |
- | ||
Line 168... | Line 159... | |||
168 | }; |
159 | }; |
|
169 | |
160 | |
|
170 | &wmac { |
161 | &wmac { |
|
171 | status = "okay"; |
162 | status = "okay"; |