xref: /linux/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml (revision 4fd18fc38757217c746aa063ba9e4729814dc737)
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
7title: Microchip WILC wireless devicetree bindings
8
9maintainers:
10  - Adham Abozaeid <adham.abozaeid@microchip.com>
11  - Ajay Singh <ajay.kathat@microchip.com>
12
13description:
14  The wilc1000 chips can be connected via SPI or SDIO. This document
15  describes the binding to connect wilc devices.
16
17properties:
18  compatible:
19    const: microchip,wilc1000
20
21  reg: true
22
23  spi-max-frequency: true
24
25  interrupts:
26    maxItems: 1
27
28  clocks:
29    description: phandle to the clock connected on rtc clock line.
30    maxItems: 1
31
32  clock-names:
33    const: rtc
34
35required:
36  - compatible
37  - interrupts
38
39additionalProperties: false
40
41examples:
42  - |
43    spi {
44      #address-cells = <1>;
45      #size-cells = <0>;
46      wifi@0 {
47        compatible = "microchip,wilc1000";
48        spi-max-frequency = <48000000>;
49        reg = <0>;
50        interrupt-parent = <&pioC>;
51        interrupts = <27 0>;
52        clocks = <&pck1>;
53        clock-names = "rtc";
54      };
55    };
56
57  - |
58    mmc {
59      #address-cells = <1>;
60      #size-cells = <0>;
61      pinctrl-names = "default";
62      pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
63      non-removable;
64      vmmc-supply = <&vcc_mmc1_reg>;
65      vqmmc-supply = <&vcc_3v3_reg>;
66      bus-width = <4>;
67      wifi@0 {
68        compatible = "microchip,wilc1000";
69        reg = <0>;
70        interrupt-parent = <&pioC>;
71        interrupts = <27 0>;
72        clocks = <&pck1>;
73        clock-names = "rtc";
74      };
75    };
76