The Devicetree bindings document does not have to say in the title that it is a "Devicetree binding", but instead just describe the hardware. Drop trailing "Devicetree bindings" in various forms (also with trailing full stop): find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ -not -name 'trivial-devices.yaml' \ -exec sed -i -e 's/^title: \(.*\) [dD]evice[ -]\?[tT]ree [bB]indings\?\.\?$/title: \1/' {} \; find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ -not -name 'trivial-devices.yaml' \ -exec sed -i -e 's/^title: \(.*\) [dD]evice[ -]\?[nN]ode [bB]indings\?\.\?$/title: \1/' {} \; find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ -not -name 'trivial-devices.yaml' \ -exec sed -i -e 's/^title: \(.*\) [dD][tT] [bB]indings\?\.\?$/title: \1/' {} \; Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # IIO Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # MMC Acked-by: Stephen Boyd <sboyd@kernel.org> # clk Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> # input Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> # media Acked-by: Sebastian Reichel <sre@kernel.org> # power Link: https://lore.kernel.org/r/20221216163815.522628-5-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
96 lines
2.3 KiB
YAML
96 lines
2.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/wireless/microchip,wilc1000.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Microchip WILC wireless
|
|
|
|
maintainers:
|
|
- Adham Abozaeid <adham.abozaeid@microchip.com>
|
|
- Ajay Singh <ajay.kathat@microchip.com>
|
|
|
|
description:
|
|
The wilc1000 chips can be connected via SPI or SDIO. This document
|
|
describes the binding to connect wilc devices.
|
|
|
|
properties:
|
|
compatible:
|
|
const: microchip,wilc1000
|
|
|
|
reg: true
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
description: phandle to the clock connected on rtc clock line.
|
|
maxItems: 1
|
|
|
|
clock-names:
|
|
const: rtc
|
|
|
|
enable-gpios:
|
|
maxItems: 1
|
|
description: 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:
|
|
maxItems: 1
|
|
description: Used by wilc1000-spi to determine the GPIO line
|
|
connected to the RESET line. This should be declared as an
|
|
active-low signal.
|
|
|
|
required:
|
|
- compatible
|
|
- interrupts
|
|
|
|
allOf:
|
|
- $ref: /schemas/spi/spi-peripheral-props.yaml#
|
|
|
|
unevaluatedProperties: false
|
|
|
|
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";
|
|
};
|
|
};
|