[PATCH v6 03/17] dt-bindings: spi: cdns: Add compatible for AMD Pensando Elba SoC

From: Brad Larson
Date: Sat Aug 20 2022 - 15:58:44 EST


From: Brad Larson <blarson@xxxxxxx>

Document the cadence qspi controller compatible for AMD Pensando
Elba SoC boards. The Elba qspi fifo size is 1024.

Signed-off-by: Brad Larson <blarson@xxxxxxx>
---
.../devicetree/bindings/spi/cdns,qspi-nor.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
index 4707294d8f59..b9e49e90e280 100644
--- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
+++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml
@@ -20,11 +20,23 @@ allOf:
required:
- power-domains

+ - if:
+ properties:
+ compatible:
+ enum:
+ - amd,pensando-elba-qspi
+ then:
+ properties:
+ cdns,fifo-depth:
+ enum: [ 128, 256, 1024 ]
+ default: 1024
+
properties:
compatible:
oneOf:
- items:
- enum:
+ - amd,pensando-elba-qspi
- ti,k2g-qspi
- ti,am654-ospi
- intel,lgm-qspi
--
2.17.1