Merge tag 'for-5.13-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / gpio / gpio-pca9570.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/gpio-pca9570.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: PCA9570 I2C GPO expander
8
9 maintainers:
10   - Sungbo Eo <mans0n@gorani.run>
11
12 properties:
13   compatible:
14     enum:
15       - nxp,pca9570
16
17   reg:
18     maxItems: 1
19
20   gpio-controller: true
21
22   '#gpio-cells':
23     const: 2
24
25 required:
26   - compatible
27   - reg
28   - gpio-controller
29   - "#gpio-cells"
30
31 additionalProperties: false
32
33 examples:
34   - |
35     i2c0 {
36         #address-cells = <1>;
37         #size-cells = <0>;
38
39         gpio@24 {
40             compatible = "nxp,pca9570";
41             reg = <0x24>;
42             gpio-controller;
43             #gpio-cells = <2>;
44         };
45     };
46
47 ...