File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Documentation/devicetree/bindings/gpio Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
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
+
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
+ ...
You can’t perform that action at this time.
0 commit comments