aboutsummaryrefslogtreecommitdiff
path: root/Bindings/fsi/fsi-controller.yaml
blob: ffe191921b268d6d53e320fe924901ca97bb7e42 (plain) (blame)
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
64
65
66
# 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 <eajames@linux.ibm.com>

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