File Index
Files and directories
Sign in
FILE

cirrus,clps711x-mctrl-gpio.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/gpio/cirrus,clps711x-mctrl-gpio.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs
 8
 9maintainers:
10  - Alexander Shiyan <shc_work@mail.ru>
11
12properties:
13  compatible:
14    oneOf:
15      - items:
16          - const: cirrus,ep7312-mctrl-gpio
17          - const: cirrus,ep7209-mctrl-gpio
18      - const: cirrus,ep7209-mctrl-gpio
19
20  gpio-controller: true
21
22  '#gpio-cells':
23    const: 2
24
25  gpio,syscon-dev:
26    description:
27      Phandle and offset of device's specific registers within the syscon state
28      control registers
29    $ref: /schemas/types.yaml#/definitions/phandle-array
30    items:
31      - items:
32          - description: phandle to syscon
33          - description: register offset within state control registers
34
35required:
36  - compatible
37  - gpio-controller
38  - '#gpio-cells'
39
40additionalProperties: false
41
42examples:
43  - |
44    sysgpio: sysgpio {
45        compatible = "cirrus,ep7312-mctrl-gpio",
46                     "cirrus,ep7209-mctrl-gpio";
47        gpio-controller;
48        #gpio-cells = <2>;
49    };
~/ Read-only file preview.