Renesas EMMA Mobile General Purpose I/O Interface
Schema identifier ($id): "http://devicetree.org/schemas/gpio/renesas,em-gio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Magnus Damm <magnus.damm@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "renesas,em-gio"
reg — required here #
Array item rules (items) #
Item 1
First set of contiguous registers
Item 2
Second set of contiguous registers
interrupts — required here #
Array item rules (items) #
Item 1
Interrupt for the first set of 16 GPIO ports
Item 2
Interrupt for the second set of 16 GPIO ports
gpio-controller — required here #
true — No constraints added by this property rule.
#gpio-cells — required here #
Exact value (const): 2
gpio-ranges — required here #
Maximum number of items (maxItems): 1
ngpios — required here #
Minimum value (minimum): 1
Maximum value (maximum): 32
interrupt-controller — required here #
true — No constraints added by this property rule.
#interrupt-cells — required here #
Exact value (const): 2
Required in this object (required): "compatible", "reg", "interrupts", "gpio-controller", "#gpio-cells", "gpio-ranges", "ngpios", "interrupt-controller", "#interrupt-cells"
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>
gpio0: gpio@e0050000 {
compatible = "renesas,em-gio";
reg = <0xe0050000 0x2c>, <0xe0050040 0x20>;
interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
gpio-controller;
#gpio-cells = <2>;
gpio-ranges = <&pfc 0 0 32>;
ngpios = <32>;
interrupt-controller;
#interrupt-cells = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)