1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/gpio/sifive,gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SiFive GPIO controller
10 - Paul Walmsley <paul.walmsley@sifive.com>
16 - sifive,fu540-c000-gpio
17 - sifive,fu740-c000-gpio
26 Interrupt mapping, one per GPIO. Maximum 32 GPIOs.
30 interrupt-controller: true
43 The number of GPIOs available on the controller implementation.
44 It is 16 for the SiFive SoCs and 32 for the Canaan K210.
59 - interrupt-controller
69 - sifive,fu540-c000-gpio
70 - sifive,fu740-c000-gpio
75 additionalProperties: false
79 #include <dt-bindings/clock/sifive-fu540-prci.h>
81 compatible = "sifive,fu540-c000-gpio", "sifive,gpio0";
82 interrupt-parent = <&plic>;
83 interrupts = <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>, <15>, <16>,
84 <17>, <18>, <19>, <20>, <21>, <22>;
85 reg = <0x10060000 0x1000>;
86 clocks = <&tlclk FU540_PRCI_CLK_TLCLK>;
90 #interrupt-cells = <2>;