blob: ad5c83f4842558996edfa1864c379e5053dcaeee [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-or-later)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/fsi/ibm,fsi2spi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IBM FSI-attached SPI controllers
8
9maintainers:
10 - Eddie James <eajames@linux.ibm.com>
11
Tom Rini6b642ac2024-10-01 12:20:28 -060012description:
Tom Rini53633a82024-02-29 12:33:36 -050013 This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this
Tom Rini6b642ac2024-10-01 12:20:28 -060014 node will always be a child of an FSI CFAM node. This FSI2SPI engine provides
15 access to a number of SPI controllers.
Tom Rini53633a82024-02-29 12:33:36 -050016
17properties:
18 compatible:
19 enum:
20 - ibm,fsi2spi
21
22 reg:
23 items:
24 - description: FSI slave address
25
Tom Rini6b642ac2024-10-01 12:20:28 -060026 "#address-cells":
27 const: 1
28
29 "#size-cells":
30 const: 0
31
32patternProperties:
33 "^spi@[0-9a-f]+$":
34 type: object
35 $ref: /schemas/spi/ibm,spi-fsi.yaml
36
Tom Rini53633a82024-02-29 12:33:36 -050037required:
38 - compatible
39 - reg
40
41additionalProperties: false
42
43examples:
44 - |
45 fsi2spi@1c00 {
46 compatible = "ibm,fsi2spi";
47 reg = <0x1c00 0x400>;
Tom Rini6b642ac2024-10-01 12:20:28 -060048 #address-cells = <1>;
49 #size-cells = <0>;
50
51 spi@0 {
52 compatible = "ibm,spi-fsi";
53 reg = <0>;
54 #address-cells = <1>;
55 #size-cells = <0>;
56
57 eeprom@0 {
58 compatible = "atmel,at25";
59 reg = <0>;
60 address-width = <24>;
61 pagesize = <256>;
62 size = <0x80000>;
63 spi-max-frequency = <1000000>;
64 };
65 };
Tom Rini53633a82024-02-29 12:33:36 -050066 };