Path: blob/master/Documentation/devicetree/bindings/gpio/lantiq,gpio-mm-lantiq.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/lantiq,gpio-mm-lantiq.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Lantiq SoC External Bus memory mapped GPIO controller78maintainers:9- John Crispin <john@phrozen.org>1011description: |12By attaching hardware latches to the EBU it is possible to create output13only gpios. This driver configures a special memory address, which when14written to outputs 16 bit to the latches.1516The node describing the memory mapped GPIOs needs to be a child of the node17describing the "lantiq,localbus".1819properties:20compatible:21enum:22- lantiq,gpio-mm-lantiq23- lantiq,gpio-mm2425reg:26maxItems: 12728'#gpio-cells':29const: 23031gpio-controller: true3233lantiq,shadow:34description: The default value that we shall assume as already set on the shift register cascade.35$ref: /schemas/types.yaml#/definitions/uint323637required:38- compatible39- reg40- '#gpio-cells'41- gpio-controller4243additionalProperties: false4445examples:46- |47gpio@4000000 {48compatible = "lantiq,gpio-mm-lantiq";49reg = <0x4000000 0x10>;50gpio-controller;51#gpio-cells = <2>;52lantiq,shadow = <0x77f>;53};545556