|
26 | 26 | clock-frequency = <24000000>; |
27 | 27 | }; |
28 | 28 | }; |
| 29 | + |
| 30 | + wifi_pwrseq: wifi_pwrseq { |
| 31 | + compatible = "mmc-pwrseq-wilc"; |
| 32 | + reset-gpios = <&pioA PIN_PA27 GPIO_ACTIVE_HIGH>; |
| 33 | + powerdown-gpios = <&pioA PIN_PA29 GPIO_ACTIVE_HIGH>; |
| 34 | + pinctrl-0 = <&pinctrl_wilc_pwrseq>; |
| 35 | + pinctrl-names = "default"; |
| 36 | + status = "okay"; |
| 37 | + }; |
29 | 38 | }; |
30 | 39 |
|
31 | 40 | &flx1 { |
32 | 41 | atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>; |
| 42 | + status = "okay"; |
33 | 43 |
|
34 | 44 | uart6: serial@200 { |
35 | 45 | compatible = "atmel,at91sam9260-usart"; |
|
46 | 56 | clock-names = "usart"; |
47 | 57 | pinctrl-0 = <&pinctrl_flx1_default>; |
48 | 58 | pinctrl-names = "default"; |
| 59 | + status = "okay"; |
49 | 60 | }; |
50 | 61 | }; |
51 | 62 |
|
|
291 | 302 | bias-disable; |
292 | 303 | }; |
293 | 304 |
|
| 305 | + pinctrl_sdmmc1_default: sdmmc1_default { |
| 306 | + cmd-data { |
| 307 | + pinmux = <PIN_PA28__SDMMC1_CMD>, |
| 308 | + <PIN_PA18__SDMMC1_DAT0>, |
| 309 | + <PIN_PA19__SDMMC1_DAT1>, |
| 310 | + <PIN_PA20__SDMMC1_DAT2>, |
| 311 | + <PIN_PA21__SDMMC1_DAT3>; |
| 312 | + bias-disable; |
| 313 | + }; |
| 314 | + |
| 315 | + conf-ck { |
| 316 | + pinmux = <PIN_PA22__SDMMC1_CK>; |
| 317 | + bias-disable; |
| 318 | + }; |
| 319 | + }; |
| 320 | + |
294 | 321 | pinctrl_qspi1_default: qspi1_default { |
295 | 322 | pinmux = <PIN_PB5__QSPI1_SCK>, |
296 | 323 | <PIN_PB6__QSPI1_CS>, |
|
300 | 327 | <PIN_PB10__QSPI1_IO3>; |
301 | 328 | bias-pull-up; |
302 | 329 | }; |
| 330 | + |
| 331 | + pinctrl_wilc_default: wilc_default { |
| 332 | + conf-irq { |
| 333 | + pinmux = <PIN_PB25__GPIO>; |
| 334 | + bias-disable; |
| 335 | + }; |
| 336 | + }; |
| 337 | + |
| 338 | + pinctrl_wilc_pwrseq: wilc_pwrseq { |
| 339 | + conf-ce-nrst { |
| 340 | + pinmux = <PIN_PA27__GPIO>, |
| 341 | + <PIN_PA29__GPIO>; |
| 342 | + bias-disable; |
| 343 | + }; |
| 344 | + conf-rtcclk { |
| 345 | + pinmux = <PIN_PB13__PCK1>; |
| 346 | + bias-disable; |
| 347 | + }; |
| 348 | + }; |
| 349 | +}; |
| 350 | + |
| 351 | +&sdmmc1 { |
| 352 | + #address-cells = <1>; |
| 353 | + #size-cells = <0>; |
| 354 | + bus-width = <4>; |
| 355 | + pinctrl-names = "default"; |
| 356 | + pinctrl-0 = <&pinctrl_sdmmc1_default>; |
| 357 | + mmc-pwrseq = <&wifi_pwrseq>; |
| 358 | + no-1-8-v; |
| 359 | + non-removable; |
| 360 | + status = "okay"; |
| 361 | + |
| 362 | + wilc: wilc@0 { |
| 363 | + reg = <0>; |
| 364 | + bus-width = <4>; |
| 365 | + compatible = "microchip,wilc3000", "microchip,wilc1000"; |
| 366 | + pinctrl-names = "default"; |
| 367 | + pinctrl-0 = <&pinctrl_wilc_default>; |
| 368 | + irq-gpios = <&pioA PIN_PB25 GPIO_ACTIVE_LOW>; |
| 369 | + clocks = <&pmc PMC_TYPE_SYSTEM 9>; |
| 370 | + clock-names = "rtc_clk"; |
| 371 | + assigned-clocks = <&pmc PMC_TYPE_SYSTEM 9>; |
| 372 | + assigned-clock-rates = <32768>; |
| 373 | + status = "okay"; |
| 374 | + }; |
303 | 375 | }; |
304 | 376 |
|
0 commit comments