Lantiq SoC External Bus memory mapped GPIO controller
Schema identifier ($id): "http://devicetree.org/schemas/lantiq,gpio-mm-lantiq.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "John Crispin <john@phrozen.org>"
By attaching hardware latches to the EBU it is possible to create output only gpios. This driver configures a special memory address, which when written to outputs 16 bit to the latches.
The node describing the memory mapped GPIOs needs to be a child of the node describing the "lantiq,localbus".
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "lantiq,gpio-mm-lantiq", "lantiq,gpio-mm"
reg — required here #
Maximum number of items (maxItems): 1
#gpio-cells — required here #
Exact value (const): 2
gpio-controller — required here #
true — No constraints added by this property rule.
lantiq,shadow — not listed as required here #
The default value that we shall assume as already set on the shift register cascade.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible", "reg", "#gpio-cells", "gpio-controller"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
gpio@4000000 {
compatible = "lantiq,gpio-mm-lantiq";
reg = <0x4000000 0x10>;
gpio-controller;
#gpio-cells = <2>;
lantiq,shadow = <0x77f>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)