File tree Expand file tree Collapse file tree
Documentation/devicetree/bindings/gpio Expand file tree Collapse file tree 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-adg1414.yaml#
5+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6+
7+ title : ADG1414 SPST Switch Driver
8+
9+ maintainers :
10+ -
Kim Seer Paller <[email protected] > 11+
12+ description :
13+ The ADG1414 is a 9.5 Ω RON ±15 V/+12 V/±5 V iCMOS Serially-Controlled
14+ Octal SPST Switches
15+
16+ properties :
17+ compatible :
18+ enum :
19+ - adi,adg1414
20+
21+ reg :
22+ maxItems : 1
23+
24+ spi-max-frequency :
25+ maximum : 50000000
26+
27+ spi-cpha : true
28+
29+ gpio-controller : true
30+
31+ ' #gpio-cells ' :
32+ const : 2
33+
34+ reset-gpios :
35+ description : GPIO specifier that resets the device.
36+ maxItems : 1
37+
38+ daisy-chained0-devices :
39+ description : The number of daisy-chained devices.
40+ default : 1
41+ minimum : 1
42+ maximum : 4
43+
44+ required :
45+ - compatible
46+ - reg
47+ - spi-max-frequency
48+ - spi-cpha
49+
50+ additionalProperties : false
51+
52+ examples :
53+ - |
54+ #include <dt-bindings/gpio/gpio.h>
55+ spi0 {
56+ #address-cells = <1>;
57+ #size-cells = <0>;
58+
59+ adg1414@0 {
60+ compatible = "adi,adg1414";
61+ reg = <0>;
62+ spi-max-frequency = <1000000>;
63+ spi-cpha;
64+ reset-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
65+ };
66+ };
67+
68+ ...
You can’t perform that action at this time.
0 commit comments