aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/microchip,wilc1000,sdio.txt
blob: da5235950a70f7598f33ea7a0d6c4719861c6689 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
* Microchip WILC wireless SDIO device

The wilc1000 chips can be connected via SDIO. The node is used to specifiy
child node to the SDIO controller that connects the device to the system.

Required properties:
- compatible	:	Should be "microchip,wilc1000-spi"
- irq-gpios	:	Connect to a host IRQ
- reg		:	Slot ID used in the controller

Optional:
- bus-width	:	Number of data lines wired up the slot. Default 1 bit.
- rtc_clk	:	Clock connected on the rtc clock line. Must be assigned
			a frequency with assigned-clocks property, and must be
			connected to a clock provider.

Examples:
mmc1: mmc@fc000000 {
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
		non-removable;
		vmmc-supply = <&vcc_mmc1_reg>;
		vqmmc-supply = <&vcc_3v3_reg>;
		status = "okay";

		wilc_sdio@0 {
			compatible = "microchip,wilc1000-sdio";
			irq-gpios = <&pioC 27 0>;
			clocks = <&pck1>;
			clock-names = "rtc_clk";
			assigned-clocks = <&pck1>;
			assigned-clock-rates = <32768>;
			status = "okay";
			reg = <0>;
			bus-width = <4>;
		}
	};
}