Home
last modified time | relevance | path

Searched hist:"3933 cf6a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/gpio/
H A Dsifive,gpio.yaml3933cf6a Tue Feb 09 23:02:21 CST 2021 Damien Le Moal <damien.lemoal@wdc.com> dt-bindings: fix sifive gpio properties

The sifive gpio IP block supports up to 32 GPIOs. Reflect that in the
interrupts property description and maxItems. Also add the standard
ngpios property to describe the number of GPIOs available on the
implementation.

Also add the "canaan,k210-gpiohs" compatible string to indicate the use
of this gpio controller in the Canaan Kendryte K210 SoC. If this
compatible string is used, do not define the clocks property as
required as the K210 SoC does not have a software controllable clock
for the Sifive gpio IP block.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>