Documentation / devicetree / bindings / fsi / fsi-master-gpio.yaml


Based on kernel version 6.18. Page generated on 2025-12-02 09:03 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/fsi/fsi-master-gpio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: fsi-master-gpio

maintainers:
  - Eddie James <eajames@linux.ibm.com>

allOf:
  - $ref: /schemas/fsi/fsi-controller.yaml

properties:
  compatible:
    items:
      - const: fsi-master-gpio

  clock-gpios:
    description: GPIO for FSI clock
    maxItems: 1

  data-gpios:
    description: GPIO for FSI data signal
    maxItems: 1

  enable-gpios:
    description: GPIO for enable signal
    maxItems: 1

  trans-gpios:
    description: GPIO for voltage translator enable
    maxItems: 1

  mux-gpios:
    description: GPIO for pin multiplexing with other functions (eg, external
      FSI masters)
    maxItems: 1

  no-gpio-delays:
    description:
      Don't add extra delays between GPIO accesses. This is useful when the HW
      GPIO block is running at a low enough frequency.
    type: boolean

required:
  - compatible
  - clock-gpios
  - data-gpios

unevaluatedProperties: false

examples:
  - |
    fsi-master {
        compatible = "fsi-master-gpio";
        clock-gpios = <&gpio 0>;
        data-gpios = <&gpio 1>;
        enable-gpios = <&gpio 2>;
        trans-gpios = <&gpio 3>;
        mux-gpios = <&gpio 4>;
    };