15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25956d97fSEmmanuel Vadot%YAML 1.2
35956d97fSEmmanuel Vadot---
45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/spi/spi-zynqmp-qspi.yaml#
55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65956d97fSEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: Xilinx Zynq UltraScale+ MPSoC GQSPI controller
85956d97fSEmmanuel Vadot
95956d97fSEmmanuel Vadotmaintainers:
10*f126890aSEmmanuel Vadot  - Michal Simek <michal.simek@amd.com>
115956d97fSEmmanuel Vadot
125956d97fSEmmanuel VadotallOf:
13cb7aa33aSEmmanuel Vadot  - $ref: spi-controller.yaml#
145956d97fSEmmanuel Vadot
155956d97fSEmmanuel Vadotproperties:
165956d97fSEmmanuel Vadot  compatible:
178bab661aSEmmanuel Vadot    enum:
188bab661aSEmmanuel Vadot      - xlnx,versal-qspi-1.0
198bab661aSEmmanuel Vadot      - xlnx,zynqmp-qspi-1.0
205956d97fSEmmanuel Vadot
215956d97fSEmmanuel Vadot  reg:
225956d97fSEmmanuel Vadot    maxItems: 2
235956d97fSEmmanuel Vadot
245956d97fSEmmanuel Vadot  interrupts:
255956d97fSEmmanuel Vadot    maxItems: 1
265956d97fSEmmanuel Vadot
275956d97fSEmmanuel Vadot  clock-names:
285956d97fSEmmanuel Vadot    items:
295956d97fSEmmanuel Vadot      - const: ref_clk
305956d97fSEmmanuel Vadot      - const: pclk
315956d97fSEmmanuel Vadot
325956d97fSEmmanuel Vadot  clocks:
335956d97fSEmmanuel Vadot    maxItems: 2
345956d97fSEmmanuel Vadot
35*f126890aSEmmanuel Vadot  iommus:
36*f126890aSEmmanuel Vadot    maxItems: 1
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot  power-domains:
39*f126890aSEmmanuel Vadot    maxItems: 1
40*f126890aSEmmanuel Vadot
41b97ee269SEmmanuel Vadotrequired:
42b97ee269SEmmanuel Vadot  - compatible
43b97ee269SEmmanuel Vadot  - reg
44b97ee269SEmmanuel Vadot  - interrupts
45b97ee269SEmmanuel Vadot  - clock-names
46b97ee269SEmmanuel Vadot  - clocks
47b97ee269SEmmanuel Vadot
485956d97fSEmmanuel VadotunevaluatedProperties: false
495956d97fSEmmanuel Vadot
505956d97fSEmmanuel Vadotexamples:
515956d97fSEmmanuel Vadot  - |
525956d97fSEmmanuel Vadot    #include <dt-bindings/clock/xlnx-zynqmp-clk.h>
535956d97fSEmmanuel Vadot    soc {
545956d97fSEmmanuel Vadot      #address-cells = <2>;
555956d97fSEmmanuel Vadot      #size-cells = <2>;
565956d97fSEmmanuel Vadot
575956d97fSEmmanuel Vadot      qspi: spi@ff0f0000 {
585956d97fSEmmanuel Vadot        compatible = "xlnx,zynqmp-qspi-1.0";
595956d97fSEmmanuel Vadot        clocks = <&zynqmp_clk QSPI_REF>, <&zynqmp_clk LPD_LSBUS>;
605956d97fSEmmanuel Vadot        clock-names = "ref_clk", "pclk";
615956d97fSEmmanuel Vadot        interrupts = <0 15 4>;
625956d97fSEmmanuel Vadot        interrupt-parent = <&gic>;
635956d97fSEmmanuel Vadot        reg = <0x0 0xff0f0000 0x0 0x1000>,
645956d97fSEmmanuel Vadot              <0x0 0xc0000000 0x0 0x8000000>;
655956d97fSEmmanuel Vadot      };
665956d97fSEmmanuel Vadot    };
67