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 - Yash Shah <yash.shah@sifive.com>
11 - Paul Walmsley <paul.walmsley@sifive.com>
16 - const: sifive,fu540-c000-gpio
24 interrupt mapping one per GPIO. Maximum 16 GPIOs.
28 interrupt-controller: true
45 - interrupt-controller
51 additionalProperties: false
55 #include <dt-bindings/clock/sifive-fu540-prci.h>
57 compatible = "sifive,fu540-c000-gpio", "sifive,gpio0";
58 interrupt-parent = <&plic>;
59 interrupts = <7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22>;
60 reg = <0x0 0x10060000 0x0 0x1000>;
61 clocks = <&tlclk PRCI_CLK_TLCLK>;
65 #interrupt-cells = <2>;