1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2020-21 Cadence
5 $id: "http://devicetree.org/schemas/spi/cdns,xspi.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Cadence XSPI Controller
11 - Parshuram Thombare <pthombar@cadence.com>
14 The XSPI controller allows SPI protocol communication in
15 single, dual, quad or octal wire transmission modes for
16 read/write access to slaves such as SPI-NOR flash.
19 - $ref: "spi-controller.yaml#"
27 - description: address and length of the controller register set
28 - description: address and length of the Slave DMA data port
29 - description: address and length of the auxiliary registers
45 unevaluatedProperties: false
49 #include <dt-bindings/interrupt-controller/irq.h>
57 compatible = "cdns,xspi-nor";
58 reg = <0x0 0xa0010000 0x0 0x1040>,
59 <0x0 0xb0000000 0x0 0x1000>,
60 <0x0 0xa0020000 0x0 0x100>;
61 reg-names = "io", "sdma", "aux";
62 interrupts = <0 90 IRQ_TYPE_LEVEL_HIGH>;
63 interrupt-parent = <&gic>;
66 compatible = "jedec,spi-nor";
67 spi-max-frequency = <75000000>;
72 compatible = "jedec,spi-nor";
73 spi-max-frequency = <75000000>;