|
203 | 203 | pinctrl-0 = <&spi2_quad>; |
204 | 204 | status = "okay"; |
205 | 205 | cs-gpios = <&gpa 5 GPIO_ACTIVE_LOW>; |
206 | | - |
207 | | - flash: is25lp512@0 { |
208 | | - #address-cells = <1>; |
209 | | - #size-cells = <1>; |
210 | | - compatible = "is25lp512", "jedec,spi-nor"; |
211 | | - reg = <0>; |
212 | | - spi-cpha; |
213 | | - spi-cpol; |
214 | | - spi-max-frequency = <25000000>; |
215 | | - spi-rx-bus-width = <4>; |
216 | | - |
217 | | - qspi_0: partition@0 { |
218 | | - label = "U-Boot SPL"; |
219 | | - reg = <0x0 0x40000>; |
220 | | - }; |
221 | | - |
222 | | - qspi_1: partition@1 { |
223 | | - label = "U-Boot Proper"; |
224 | | - reg = <0x40000 0xC0000>; |
225 | | - }; |
226 | | - |
227 | | - qspi_2: partition@2 { |
228 | | - label = "U-Boot Environment"; |
229 | | - reg = <0x100000 0x20000>; |
230 | | - }; |
231 | | - |
232 | | - qspi_3: partition@3 { |
233 | | - label = "FIT Image"; |
234 | | - reg = <0x120000 0xF00000>; |
235 | | - }; |
236 | | - |
237 | | - qspi_4: partition@4 { |
238 | | - label = "JFFS2 Formatted RFS"; |
239 | | - reg = <0x1020000 0x2FE0000>; |
240 | | - }; |
241 | | - |
242 | | - }; |
243 | 206 | }; |
244 | 207 |
|
245 | 208 | &i2c0 { |
|
254 | 217 | status = "okay"; |
255 | 218 | pinctrl-names = "default"; |
256 | 219 | pinctrl-0 = <&i2c2_pins>; |
257 | | - |
258 | | - ssw0: gpio@20 { |
259 | | - compatible = "microchip,mcp23018"; |
260 | | - gpio-controller; |
261 | | - #gpio-cells = <2>; |
262 | | - reg = <0x20>; |
263 | | - status = "okay"; |
264 | | - |
265 | | - pinctrl-names = "default"; |
266 | | - pinctrl-0 = <&ssw0pullups>; |
267 | | - |
268 | | - ssw0pullups: pinmux { |
269 | | - bias-pull-up; |
270 | | - pins = "gpio0", "gpio1", "gpio2", "gpio3", |
271 | | - "gpio4", "gpio5", "gpio6", "gpio8", "gpio9"; |
272 | | - }; |
273 | | - |
274 | | - led1 { |
275 | | - gpio-hog; |
276 | | - gpios = <0 GPIO_ACTIVE_LOW>; |
277 | | - output-high; |
278 | | - line-name = "led1-en"; |
279 | | - }; |
280 | | - |
281 | | - led2 { |
282 | | - gpio-hog; |
283 | | - gpios = <1 GPIO_ACTIVE_LOW>; |
284 | | - output-high; |
285 | | - line-name = "led2-en"; |
286 | | - }; |
287 | | - |
288 | | - led3 { |
289 | | - gpio-hog; |
290 | | - gpios = <2 GPIO_ACTIVE_LOW>; |
291 | | - output-high; |
292 | | - line-name = "led3-en"; |
293 | | - }; |
294 | | - |
295 | | - spi2d2-d3 { |
296 | | - gpio-hog; |
297 | | - gpios = <3 GPIO_ACTIVE_LOW>; |
298 | | - output-high; |
299 | | - line-name = "spi2d2-d3-en"; |
300 | | - }; |
301 | | - |
302 | | - spi2flash-cs { |
303 | | - gpio-hog; |
304 | | - gpios = <4 GPIO_ACTIVE_LOW>; |
305 | | - output-high; |
306 | | - line-name = "spi2flash-cs"; |
307 | | - }; |
308 | | - |
309 | | - uart0 { |
310 | | - gpio-hog; |
311 | | - gpios = <5 GPIO_ACTIVE_LOW>; |
312 | | - output-high; |
313 | | - line-name = "uart0-en"; |
314 | | - }; |
315 | | - |
316 | | - uart0-flow-en { |
317 | | - gpio-hog; |
318 | | - gpios = <6 GPIO_ACTIVE_LOW>; |
319 | | - output-low; |
320 | | - line-name = "uart0-flow-en"; |
321 | | - }; |
322 | | - |
323 | | - emmc { |
324 | | - gpio-hog; |
325 | | - gpios = <8 GPIO_ACTIVE_LOW>; |
326 | | - output-high; |
327 | | - line-name = "emmc-en"; |
328 | | - }; |
329 | | - |
330 | | - emmc-som-en { |
331 | | - gpio-hog; |
332 | | - gpios = <9 GPIO_ACTIVE_LOW>; |
333 | | - output-low; |
334 | | - line-name = "emmc-som-en"; |
335 | | - }; |
336 | | - }; |
337 | 220 | }; |
338 | 221 |
|
339 | 222 | &mmc0{ |
|
0 commit comments