Blaize BLZP1600 GPIO controller
Schema identifier ($id): "http://devicetree.org/schemas/gpio/blaize,blzp1600-gpio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Blaize BLZP1600 GPIO controller is an implementation of the VeriSilicon APB GPIO v0.2 IP block. It has 32 ports each of which are intended to be represented as child nodes with the generic GPIO-controller properties as described in this binding's file.
Maintainers (maintainers): "Nikolaos Pasaloukos <nikolaos.pasaloukos@blaize.com>", "James Cowgill <james.cowgill@blaize.com>", "Matt Redfearn <matt.redfearn@blaize.com>", "Neil Jones <neil.jones@blaize.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^gpio@[0-9a-f]+$"
compatible — required here #
Allowed values (enum): "blaize,blzp1600-gpio"
reg — required here #
Maximum number of items (maxItems): 1
gpio-controller — required here #
true — No constraints added by this property rule.
#gpio-cells — required here #
Exact value (const): 2
ngpios — not listed as required here #
Default value (default): 32
Minimum value (minimum): 1
Maximum value (maximum): 32
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
gpio-line-names — not listed as required here #
true — No constraints added by this property rule.
interrupt-controller — not listed as required here #
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here #
Exact value (const): 2
Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells"
Property dependencies (dependencies) #
interrupt-controller — applies when this property is present #
Also requires: "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
gpio: gpio@4c0000 {
compatible = "blaize,blzp1600-gpio";
reg = <0x004c0000 0x1000>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <32>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)