Merge tag 'nios2-v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan...
[linux-2.6-microblaze.git] / drivers / staging / wilc1000 / microchip,wilc1000.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/net/wireless/microchip,wilc1000.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Microchip WILC wireless devicetree bindings
8
9 maintainers:
10   - Adham Abozaeid <adham.abozaeid@microchip.com>
11   - Ajay Singh <ajay.kathat@microchip.com>
12
13 description:
14   The wilc1000 chips can be connected via SPI or SDIO. This document
15   describes the binding to connect wilc devices.
16
17 properties:
18   compatible:
19     const: microchip,wilc1000
20
21   spi-max-frequency: true
22
23   interrupts:
24     maxItems: 1
25
26   clocks:
27     description: phandle to the clock connected on rtc clock line.
28     maxItems: 1
29
30   clock-names:
31     const: rtc
32
33 required:
34   - compatible
35   - interrupts
36
37 examples:
38   - |
39     spi {
40       #address-cells = <1>;
41       #size-cells = <0>;
42       wifi@0 {
43         compatible = "microchip,wilc1000";
44         spi-max-frequency = <48000000>;
45         reg = <0>;
46         interrupt-parent = <&pioC>;
47         interrupts = <27 0>;
48         clocks = <&pck1>;
49         clock-names = "rtc";
50       };
51     };
52
53   - |
54     mmc {
55       #address-cells = <1>;
56       #size-cells = <0>;
57       pinctrl-names = "default";
58       pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
59       non-removable;
60       vmmc-supply = <&vcc_mmc1_reg>;
61       vqmmc-supply = <&vcc_3v3_reg>;
62       bus-width = <4>;
63       wifi@0 {
64         compatible = "microchip,wilc1000";
65         reg = <0>;
66         interrupt-parent = <&pioC>;
67         interrupts = <27 0>;
68         clocks = <&pck1>;
69         clock-names = "rtc";
70       };
71     };