Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 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-controller.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: FSI Controller Common Properties |
| 8 | |
| 9 | maintainers: |
| 10 | - Eddie James <eajames@linux.ibm.com> |
| 11 | |
| 12 | description: |
| 13 | FSI (FRU (Field Replaceable Unit) Service Interface) is a two wire bus. The |
| 14 | FSI bus is connected to a CFAM (Common FRU Access Macro) which contains |
| 15 | various engines such as I2C controllers, SPI controllers, etc. |
| 16 | |
| 17 | properties: |
| 18 | "#address-cells": |
| 19 | const: 2 |
| 20 | |
| 21 | "#size-cells": |
| 22 | const: 0 |
| 23 | |
| 24 | '#interrupt-cells': |
| 25 | const: 1 |
| 26 | |
| 27 | bus-frequency: |
| 28 | minimum: 1 |
| 29 | maximum: 200000000 |
| 30 | |
| 31 | interrupt-controller: true |
| 32 | |
| 33 | no-scan-on-init: |
| 34 | $ref: /schemas/types.yaml#/definitions/flag |
| 35 | description: |
| 36 | The FSI controller cannot scan the bus during initialization. |
| 37 | |
| 38 | patternProperties: |
| 39 | "cfam@[0-9a-f],[0-9a-f]": |
| 40 | type: object |
| 41 | properties: |
| 42 | chip-id: |
| 43 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 44 | description: |
| 45 | Processor index, a global unique chip ID which is used to identify |
| 46 | the physical location of the chip in a system specific way. |
| 47 | |
| 48 | bus-frequency: |
| 49 | minimum: 1 |
| 50 | maximum: 100000000 |
| 51 | |
| 52 | reg: |
| 53 | maxItems: 1 |
| 54 | |
| 55 | "#address-cells": |
| 56 | const: 1 |
| 57 | |
| 58 | "#size-cells": |
| 59 | const: 1 |
| 60 | |
| 61 | required: |
| 62 | - reg |
| 63 | |
| 64 | additionalProperties: true |
| 65 | |
| 66 | additionalProperties: true |