1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/spi/cdns,qspi-nor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cadence Quad SPI controller
10 - Pratyush Yadav <p.yadav@ti.com>
13 - $ref: spi-controller.yaml#
23 - const: cdns,qspi-nor
24 - const: cdns,qspi-nor
28 - description: the controller register set
29 - description: the controller data area
39 Size of the data FIFO in words.
40 $ref: "/schemas/types.yaml#/definitions/uint32"
45 $ref: /schemas/types.yaml#/definitions/uint32
47 Bus width of the data FIFO in bytes.
51 $ref: /schemas/types.yaml#/definitions/uint32
53 32-bit indirect AHB trigger address.
58 Flag to indicate whether decoder is used to select different chip select
59 for different memory regions.
64 Flag to indicate that QSPI return clock is used to latch the read
65 data rather than the QSPI clock. Make sure that QSPI return clock
66 is populated on the board before using this property.
75 enum: [ qspi, qspi-ocp ]
77 # subnode's properties
82 Flash device uses the below defined properties in the subnode.
86 $ref: /schemas/types.yaml#/definitions/uint32
88 Delay for read capture logic, in clock cycles.
92 Delay in nanoseconds for the length that the master mode chip select
93 outputs are de-asserted between transactions.
97 Delay in nanoseconds between one chip select being de-activated
98 and the activation of another.
102 Delay in nanoseconds between last bit of current transaction and
103 deasserting the device chip select (qspi_n_ss_out).
107 Delay in nanoseconds between setting qspi_n_ss_out low and
117 - cdns,trigger-address
121 unevaluatedProperties: false
126 compatible = "cdns,qspi-nor";
127 #address-cells = <1>;
129 reg = <0xff705000 0x1000>,
131 interrupts = <0 151 4>;
132 clocks = <&qspi_clk>;
133 cdns,fifo-depth = <128>;
134 cdns,fifo-width = <4>;
135 cdns,trigger-address = <0x00000000>;
136 resets = <&rst 0x1>, <&rst 0x2>;
137 reset-names = "qspi", "qspi-ocp";
140 compatible = "jedec,spi-nor";