xref: /linux/Documentation/devicetree/bindings/spi/ibm,spi-fsi.yaml (revision 55d0969c451159cff86949b38c39171cab962069)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/ibm,spi-fsi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IBM FSI-attached SPI Controller
8
9maintainers:
10  - Eddie James <eajames@linux.ibm.com>
11
12description:
13  A SPI controller found on IBM Power processors, accessed over FSI from a
14  service processor. This node will always be a child node of an ibm,fsi2spi
15  node.
16
17properties:
18  compatible:
19    enum:
20      - ibm,spi-fsi
21
22  reg:
23    maxItems: 1
24
25required:
26  - compatible
27  - reg
28
29allOf:
30  - $ref: spi-controller.yaml#
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    fsi {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        spi@0 {
41            compatible = "ibm,spi-fsi";
42            reg = <0>;
43            #address-cells = <1>;
44            #size-cells = <0>;
45
46            eeprom@0 {
47                compatible = "atmel,at25";
48                reg = <0>;
49                size = <0x80000>;
50                address-width = <24>;
51                pagesize = <256>;
52                spi-max-frequency = <1000000>;
53            };
54        };
55    };
56