blob: 6f73961001b75e843a61706fdc64882e392dba02 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
7title: PCA9570 I2C GPO expander
8
9maintainers:
10 - Sungbo Eo <mans0n@gorani.run>
11
12properties:
13 compatible:
14 enum:
15 - dlg,slg7xl45106
16 - nxp,pca9570
17 - nxp,pca9571
18
19 reg:
20 maxItems: 1
21
22 gpio-controller: true
23
24 '#gpio-cells':
25 const: 2
26
27 gpio-line-names:
28 minItems: 4
29 maxItems: 8
30
Tom Rini6bb92fc2024-05-20 09:54:58 -060031 label:
32 description: A descriptive name for this device.
33
Tom Rini53633a82024-02-29 12:33:36 -050034required:
35 - compatible
36 - reg
37 - gpio-controller
38 - "#gpio-cells"
39
40additionalProperties: false
41
42examples:
43 - |
44 i2c {
45 #address-cells = <1>;
46 #size-cells = <0>;
47
48 gpio@24 {
49 compatible = "nxp,pca9570";
50 reg = <0x24>;
51 gpio-controller;
52 #gpio-cells = <2>;
53 };
54 };
55
56...