brintos

brintos / linux-shallow public Read only

0
0
Text · 2.3 KiB · 2460ccc Raw
96 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/net/wireless/microchip,wilc1000.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip WILC wireless8 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 document15  describes the binding to connect wilc devices.16 17properties:18  compatible:19    const: microchip,wilc100020 21  reg: true22 23  interrupts:24    maxItems: 125 26  clocks:27    description: phandle to the clock connected on rtc clock line.28    maxItems: 129 30  clock-names:31    const: rtc32 33  enable-gpios:34    maxItems: 135    description: Used by wilc1000-spi to determine the GPIO line36      connected to the ENABLE line.  If specified, reset-gpios37      must be specified as well as otherwise the driver cannot38      ensure the timing required between asserting ENABLE39      and deasserting RESET.  This should be declared as an40      active-high signal.41 42  reset-gpios:43    maxItems: 144    description: Used by wilc1000-spi to determine the GPIO line45      connected to the RESET line.  This should be declared as an46      active-low signal.47 48required:49  - compatible50  - interrupts51 52allOf:53  - $ref: /schemas/spi/spi-peripheral-props.yaml#54 55unevaluatedProperties: false56 57examples:58  - |59    #include <dt-bindings/gpio/gpio.h>60 61    spi {62      #address-cells = <1>;63      #size-cells = <0>;64      wifi@0 {65        compatible = "microchip,wilc1000";66        spi-max-frequency = <48000000>;67        reg = <0>;68        interrupt-parent = <&pioC>;69        interrupts = <27 0>;70        clocks = <&pck1>;71        clock-names = "rtc";72        enable-gpios = <&pioA 5 GPIO_ACTIVE_HIGH>;73        reset-gpios = <&pioA 6 GPIO_ACTIVE_LOW>;74      };75    };76 77  - |78    mmc {79      #address-cells = <1>;80      #size-cells = <0>;81      pinctrl-names = "default";82      pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;83      non-removable;84      vmmc-supply = <&vcc_mmc1_reg>;85      vqmmc-supply = <&vcc_3v3_reg>;86      bus-width = <4>;87      wifi@0 {88        compatible = "microchip,wilc1000";89        reg = <0>;90        interrupt-parent = <&pioC>;91        interrupts = <27 0>;92        clocks = <&pck1>;93        clock-names = "rtc";94      };95    };96