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.
55 - interrupt-controller
65 - sifive,fu540-c000-gpio
66 - sifive,fu740-c000-gpio
71 additionalProperties: false
75 #include <dt-bindings/clock/sifive-fu540-prci.h>
77 compatible = "sifive,fu540-c000-gpio", "sifive,gpio0";
78 interrupt-parent = <&plic>;
79 interrupts = <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>, <15>, <16>,
80 <17>, <18>, <19>, <20>, <21>, <22>;
81 reg = <0x10060000 0x1000>;
82 clocks = <&tlclk FU540_PRCI_CLK_TLCLK>;
86 #interrupt-cells = <2>;