linux/Documentation/devicetree/bindings/fsi/fsi-controller.yaml

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/fsi/fsi-controller.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: FSI Controller Common Properties

maintainers:
  - Eddie James <[email protected]>

description:
  FSI (FRU (Field Replaceable Unit) Service Interface) is a two wire bus. The
  FSI bus is connected to a CFAM (Common FRU Access Macro) which contains
  various engines such as I2C controllers, SPI controllers, etc.

properties:
  "#address-cells":
    const: 2

  "#size-cells":
    const: 0

  '#interrupt-cells':
    const: 1

  bus-frequency:
    minimum: 1
    maximum: 200000000

  interrupt-controller: true

  no-scan-on-init:
    $ref: /schemas/types.yaml#/definitions/flag
    description:
      The FSI controller cannot scan the bus during initialization.

patternProperties:
  "cfam@[0-9a-f],[0-9a-f]":
    type: object
    properties:
      chip-id:
        $ref: /schemas/types.yaml#/definitions/uint32
        description:
          Processor index, a global unique chip ID which is used to identify
          the physical location of the chip in a system specific way.

      bus-frequency:
        minimum: 1
        maximum: 100000000

      reg:
        maxItems: 1

      "#address-cells":
        const: 1

      "#size-cells":
        const: 1

    required:
      - reg

    additionalProperties: true

additionalProperties: true