1# 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 12description: 13 This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this 14 node will always be a child of an FSI CFAM node. This FSI2SPI engine provides 15 access to a number of SPI controllers. 16 17properties: 18 compatible: 19 enum: 20 - ibm,fsi2spi 21 22 reg: 23 items: 24 - description: FSI slave address 25 26 "#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 37required: 38 - compatible 39 - reg 40 41additionalProperties: false 42 43examples: 44 - | 45 fsi2spi@1c00 { 46 compatible = "ibm,fsi2spi"; 47 reg = <0x1c00 0x400>; 48 #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 }; 66 }; 67