Commit | Line | Data |
---|---|---|
367b9559 AS |
1 | * Microchip WILC wireless SDIO device |
2 | ||
3 | The wilc1000 chips can be connected via SDIO. The node is used to specifiy | |
4 | child node to the SDIO controller that connects the device to the system. | |
5 | ||
6 | Required properties: | |
7 | - compatible : Should be "microchip,wilc1000-spi" | |
8 | - irq-gpios : Connect to a host IRQ | |
9 | - reg : Slot ID used in the controller | |
10 | ||
11 | Optional: | |
12 | - bus-width : Number of data lines wired up the slot. Default 1 bit. | |
ae8779e1 EH |
13 | - rtc_clk : Clock connected on the rtc clock line. Must be assigned |
14 | a frequency with assigned-clocks property, and must be | |
15 | connected to a clock provider. | |
367b9559 AS |
16 | |
17 | Examples: | |
18 | mmc1: mmc@fc000000 { | |
19 | pinctrl-names = "default"; | |
20 | pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>; | |
21 | non-removable; | |
22 | vmmc-supply = <&vcc_mmc1_reg>; | |
23 | vqmmc-supply = <&vcc_3v3_reg>; | |
24 | status = "okay"; | |
25 | ||
26 | wilc_sdio@0 { | |
27 | compatible = "microchip,wilc1000-sdio"; | |
28 | irq-gpios = <&pioC 27 0>; | |
ae8779e1 EH |
29 | clocks = <&pck1>; |
30 | clock-names = "rtc_clk"; | |
31 | assigned-clocks = <&pck1>; | |
32 | assigned-clock-rates = <32768>; | |
367b9559 AS |
33 | status = "okay"; |
34 | reg = <0>; | |
35 | bus-width = <4>; | |
36 | } | |
37 | }; | |
38 | } |