mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 02:22:28 -04:00
Another round of wack-a-mole. The json-schema default is additional unknown properties are allowed, but for DT all properties should be defined. Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Stephen Boyd <sboyd@kernel.org> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Baolin Wang <baolin.wang7@gmail.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-By: Vinod Koul <vkoul@kernel.org> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # for iio Acked-by: Thierry Reding <treding@nvidia.com> Acked-by: Mark Brown <broonie@kernel.org> Reviewd-by: Corey Minyard <cminyard@mvista.com> Acked-by: Pavel Machek <pavel@ucw.cz> Acked-by: Sebastian Reichel <sre@kernel.org> Link: https://lore.kernel.org/r/20201002234143.3570746-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
76 lines
1.6 KiB
YAML
76 lines
1.6 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 devicetree bindings
|
|
|
|
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
|
|
|
|
spi-max-frequency: true
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
description: phandle to the clock connected on rtc clock line.
|
|
maxItems: 1
|
|
|
|
clock-names:
|
|
const: rtc
|
|
|
|
required:
|
|
- compatible
|
|
- interrupts
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
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";
|
|
};
|
|
};
|
|
|
|
- |
|
|
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";
|
|
};
|
|
};
|