Path: blob/master/Documentation/devicetree/bindings/gpio/blaize,blzp1600-gpio.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/gpio/blaize,blzp1600-gpio.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Blaize BLZP1600 GPIO controller78description:9Blaize BLZP1600 GPIO controller is an implementation of the VeriSilicon10APB GPIO v0.2 IP block. It has 32 ports each of which are intended to be11represented as child nodes with the generic GPIO-controller properties12as described in this binding's file.1314maintainers:15- Nikolaos Pasaloukos <nikolaos.pasaloukos@blaize.com>16- James Cowgill <james.cowgill@blaize.com>17- Matt Redfearn <matt.redfearn@blaize.com>18- Neil Jones <neil.jones@blaize.com>1920properties:21$nodename:22pattern: "^gpio@[0-9a-f]+$"2324compatible:25enum:26- blaize,blzp1600-gpio2728reg:29maxItems: 13031gpio-controller: true3233'#gpio-cells':34const: 23536ngpios:37default: 3238minimum: 139maximum: 324041interrupts:42maxItems: 14344gpio-line-names: true4546interrupt-controller: true4748'#interrupt-cells':49const: 25051required:52- compatible53- reg54- gpio-controller55- '#gpio-cells'5657dependencies:58interrupt-controller: [ interrupts ]5960additionalProperties: false6162examples:63- |64#include <dt-bindings/interrupt-controller/arm-gic.h>6566gpio: gpio@4c0000 {67compatible = "blaize,blzp1600-gpio";68reg = <0x004c0000 0x1000>;69gpio-controller;70#gpio-cells = <2>;71ngpios = <32>;72interrupt-controller;73#interrupt-cells = <2>;74interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;75};76...777879