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"; |
|
- | 127 | reg = <0>; |
||
- | 128 | spi-max-frequency = <10000000>; |
||
- | 129 | m25p,chunked-io = <32>; |
||
- | 130 | |
||
- | 131 | partition@0 { |
||
- | 132 | label = "u-boot"; |
||
- | 133 | reg = <0x0 0x30000>; |
||
- | 134 | read-only; |
||
- | 135 | }; |
||
- | 136 | |
||
- | 137 | partition@30000 { |
||
- | 138 | label = "u-boot-env"; |
||
- | 139 | reg = <0x30000 0x1000>; |
||
- | 140 | }; |
||
- | 141 | |
||
- | 142 | partition@031000 { |
||
- | 143 | label = "config"; |
||
- | 144 | reg = <0x31000 0xf000>; |
||
- | 145 | read-only; |
||
- | 146 | }; |
||
- | 147 | |
||
- | 148 | factory: partition@40000 { |
||
- | 149 | label = "factory"; |
||
- | 150 | reg = <0x40000 0x10000>; |
||
Line 130... | Line -... | |||
130 | reg = <0>; |
- | ||
131 | spi-max-frequency = <10000000>; |
- | ||
132 | |
- | ||
133 | partitions { |
- | ||
134 | compatible = "fixed-partitions"; |
- | ||
135 | #address-cells = <1>; |
- | ||
136 | #size-cells = <1>; |
- | ||
137 | |
- | ||
138 | partition@0 { |
- | ||
139 | label = "u-boot"; |
- | ||
140 | reg = <0x0 0x30000>; |
- | ||
141 | read-only; |
- | ||
142 | }; |
- | ||
143 | |
- | ||
144 | partition@30000 { |
- | ||
145 | label = "u-boot-env"; |
- | ||
146 | reg = <0x30000 0x1000>; |
- | ||
147 | }; |
- | ||
148 | |
- | ||
149 | partition@31000 { |
- | ||
150 | label = "config"; |
- | ||
151 | reg = <0x31000 0xf000>; |
- | ||
152 | read-only; |
- | ||
153 | }; |
- | ||
154 | |
- | ||
155 | factory: partition@40000 { |
- | ||
156 | label = "factory"; |
- | ||
157 | reg = <0x40000 0x10000>; |
- | ||
158 | read-only; |
151 | read-only; |
|
159 | }; |
- | ||
160 | |
152 | }; |
|
161 | partition@50000 { |
153 | |
|
162 | compatible = "denx,uimage"; |
- | ||
163 | label = "firmware"; |
154 | partition@50000 { |
|
164 | reg = <0x50000 0x7b0000>; |
155 | label = "firmware"; |
|
165 | }; |
156 | reg = <0x50000 0x7b0000>; |
|
Line 166... | Line 157... | |||
166 | }; |
157 | }; |