Debian Codegraph @

Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.yaml

raw
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
7 title: ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs
8
9 maintainers:
10 - Alexander Shiyan <[email protected]>
11
12 properties:
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
35 required:
36 - compatible
37 - gpio-controller
38 - '#gpio-cells'
39
40 additionalProperties: false
41
42 examples:
43 - |
44 sysgpio: sysgpio {
45 compatible = "cirrus,ep7312-mctrl-gpio",
46 "cirrus,ep7209-mctrl-gpio";
47 gpio-controller;
48 #gpio-cells = <2>;
49 };