Broadcom BCM63xx GPIO controller
Schema identifier ($id): "http://devicetree.org/schemas/gpio/brcm,bcm63xx-gpio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>", "Jonas Gorski <jonas.gorski@gmail.com>"
Bindings for Broadcom's BCM63xx memory-mapped GPIO controllers.
These bindings can be used on any BCM63xx SoC. However, BCM6338 and BCM6345 are the only ones which don't need a pinctrl driver.
BCM6338 have 8-bit data and dirout registers, where GPIO state can be read and/or written, and the direction changed from input to output. BCM6318, BCM6328, BCM6358, BCM6362, BCM6368 and BCM63268 have 32-bit data and dirout registers, where GPIO state can be read and/or written, and the direction changed from input to output.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "brcm,bcm6318-gpio", "brcm,bcm6328-gpio", "brcm,bcm6358-gpio", "brcm,bcm6362-gpio", "brcm,bcm6368-gpio", "brcm,bcm63268-gpio"
gpio-controller — required here #
true — No constraints added by this property rule.
#gpio-cells — required here #
Exact value (const): 2
gpio-ranges — not listed as required here #
Maximum number of items (maxItems): 1
native-endian — not listed as required here #
true — No constraints added by this property rule.
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dirout"
Item 2
Exact value (
const):"dat"
Required in this object (required): "compatible", "reg", "reg-names", "gpio-controller", "#gpio-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
gpio@0 {
compatible = "brcm,bcm63268-gpio";
reg-names = "dirout", "dat";
reg = <0x0 0x8>, <0x8 0x8>;
gpio-controller;
gpio-ranges = <&pinctrl 0 0 52>;
#gpio-cells = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause