Microchip WILC wireless
Schema identifier ($id): "http://devicetree.org/schemas/net/wireless/microchip,wilc1000.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Adham Abozaeid <adham.abozaeid@microchip.com>", "Ajay Singh <ajay.kathat@microchip.com>"
The wilc1000 chips can be connected via SPI or SDIO. This document describes the binding to connect wilc devices.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"microchip,wilc3000"Item 2
Exact value (
const):"microchip,wilc1000"
Rule 2
Exact value (
const):"microchip,wilc1000"
reg — not listed as required here #
true — No constraints added by this property rule.
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
phandle to the clock connected on rtc clock line.
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "rtc"
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Used by wilc1000-spi to determine the GPIO line connected to the ENABLE line. If specified, reset-gpios must be specified as well as otherwise the driver cannot ensure the timing required between asserting ENABLE and deasserting RESET. This should be declared as an active-high signal.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Used by wilc1000-spi to determine the GPIO line connected to the RESET line. This should be declared as an active-low signal.
Required in this object (required): "compatible", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
wifi@0 {
compatible = "microchip,wilc1000";
spi-max-frequency = <48000000>;
reg = <0>;
interrupt-parent = <&pioC>;
interrupts = <27 0>;
clocks = <&pck1>;
clock-names = "rtc";
enable-gpios = <&pioA 5 GPIO_ACTIVE_HIGH>;
reset-gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
};
};
mmc {
#address-cells = <1>;
#size-cells = <0>;
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>;
bus-width = <4>;
wifi@0 {
compatible = "microchip,wilc1000";
reg = <0>;
interrupt-parent = <&pioC>;
interrupts = <27 0>;
clocks = <&pck1>;
clock-names = "rtc";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)