xref: /linux/Documentation/devicetree/bindings/fsi/fsi-master-gpio.yaml (revision db4a3f0fbedb0398f77b9047e8b8bb2b49f355bb)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/fsi/fsi-master-gpio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: fsi-master-gpio
8
9maintainers:
10  - Eddie James <eajames@linux.ibm.com>
11
12allOf:
13  - $ref: /schemas/fsi/fsi-controller.yaml
14
15properties:
16  compatible:
17    items:
18      - const: fsi-master-gpio
19
20  clock-gpios:
21    description: GPIO for FSI clock
22    maxItems: 1
23
24  data-gpios:
25    description: GPIO for FSI data signal
26    maxItems: 1
27
28  enable-gpios:
29    description: GPIO for enable signal
30    maxItems: 1
31
32  trans-gpios:
33    description: GPIO for voltage translator enable
34    maxItems: 1
35
36  mux-gpios:
37    description: GPIO for pin multiplexing with other functions (eg, external
38      FSI masters)
39    maxItems: 1
40
41  no-gpio-delays:
42    description:
43      Don't add extra delays between GPIO accesses. This is useful when the HW
44      GPIO block is running at a low enough frequency.
45    type: boolean
46
47required:
48  - compatible
49  - clock-gpios
50  - data-gpios
51
52unevaluatedProperties: false
53
54examples:
55  - |
56    fsi-master {
57        compatible = "fsi-master-gpio";
58        clock-gpios = <&gpio 0>;
59        data-gpios = <&gpio 1>;
60        enable-gpios = <&gpio 2>;
61        trans-gpios = <&gpio 3>;
62        mux-gpios = <&gpio 4>;
63    };
64