diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2022-08-10 12:28:38 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2022-08-10 12:28:38 +0000 |
commit | b7d8b5635a26610e7758d58c936e44a854797c3c (patch) | |
tree | c7140a7b426e0c100017725ed8e9eafb8d06412e /Bindings/net/wireless/microchip,wilc1000.yaml | |
parent | dec44e532c3bba72c68af7337d74712dd9540aee (diff) | |
download | src-50fe792eb6830dc47084374641d605ddea32c77c.tar.gz src-50fe792eb6830dc47084374641d605ddea32c77c.zip |
Import device-tree files from Linux 5.17vendor/device-tree/5.17
Diffstat (limited to 'Bindings/net/wireless/microchip,wilc1000.yaml')
-rw-r--r-- | Bindings/net/wireless/microchip,wilc1000.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Bindings/net/wireless/microchip,wilc1000.yaml b/Bindings/net/wireless/microchip,wilc1000.yaml index 6c35682377e6..60de78f1bc7b 100644 --- a/Bindings/net/wireless/microchip,wilc1000.yaml +++ b/Bindings/net/wireless/microchip,wilc1000.yaml @@ -32,6 +32,21 @@ properties: 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 @@ -40,6 +55,8 @@ additionalProperties: false examples: - | + #include <dt-bindings/gpio/gpio.h> + spi { #address-cells = <1>; #size-cells = <0>; @@ -51,6 +68,8 @@ examples: interrupts = <27 0>; clocks = <&pck1>; clock-names = "rtc"; + enable-gpios = <&pioA 5 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pioA 6 GPIO_ACTIVE_LOW>; }; }; |