xref: /linux/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml (revision 99a7fa0e75a3a595a577fb5efa4b84a491f664a2)
1c58db2abSNobuhiro Iwamatsu# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c58db2abSNobuhiro Iwamatsu%YAML 1.2
3c58db2abSNobuhiro Iwamatsu---
4c58db2abSNobuhiro Iwamatsu$id: http://devicetree.org/schemas/spi/spi-zynqmp-qspi.yaml#
5c58db2abSNobuhiro Iwamatsu$schema: http://devicetree.org/meta-schemas/core.yaml#
6c58db2abSNobuhiro Iwamatsu
7dd3cb467SAndrew Lunntitle: Xilinx Zynq UltraScale+ MPSoC GQSPI controller
8c58db2abSNobuhiro Iwamatsu
9c58db2abSNobuhiro Iwamatsumaintainers:
10c58db2abSNobuhiro Iwamatsu  - Michal Simek <michal.simek@xilinx.com>
11c58db2abSNobuhiro Iwamatsu
12c58db2abSNobuhiro IwamatsuallOf:
13*99a7fa0eSKrzysztof Kozlowski  - $ref: spi-controller.yaml#
14c58db2abSNobuhiro Iwamatsu
15c58db2abSNobuhiro Iwamatsuproperties:
16c58db2abSNobuhiro Iwamatsu  compatible:
1782459024SAmit Kumar Mahapatra    enum:
1882459024SAmit Kumar Mahapatra      - xlnx,versal-qspi-1.0
1982459024SAmit Kumar Mahapatra      - xlnx,zynqmp-qspi-1.0
20c58db2abSNobuhiro Iwamatsu
21c58db2abSNobuhiro Iwamatsu  reg:
22c58db2abSNobuhiro Iwamatsu    maxItems: 2
23c58db2abSNobuhiro Iwamatsu
24c58db2abSNobuhiro Iwamatsu  interrupts:
25c58db2abSNobuhiro Iwamatsu    maxItems: 1
26c58db2abSNobuhiro Iwamatsu
27c58db2abSNobuhiro Iwamatsu  clock-names:
28c58db2abSNobuhiro Iwamatsu    items:
29c58db2abSNobuhiro Iwamatsu      - const: ref_clk
30c58db2abSNobuhiro Iwamatsu      - const: pclk
31c58db2abSNobuhiro Iwamatsu
32c58db2abSNobuhiro Iwamatsu  clocks:
33c58db2abSNobuhiro Iwamatsu    maxItems: 2
34c58db2abSNobuhiro Iwamatsu
35acfc34f0SKrzysztof Kozlowskirequired:
36acfc34f0SKrzysztof Kozlowski  - compatible
37acfc34f0SKrzysztof Kozlowski  - reg
38acfc34f0SKrzysztof Kozlowski  - interrupts
39acfc34f0SKrzysztof Kozlowski  - clock-names
40acfc34f0SKrzysztof Kozlowski  - clocks
41acfc34f0SKrzysztof Kozlowski
42c58db2abSNobuhiro IwamatsuunevaluatedProperties: false
43c58db2abSNobuhiro Iwamatsu
44c58db2abSNobuhiro Iwamatsuexamples:
45c58db2abSNobuhiro Iwamatsu  - |
46c58db2abSNobuhiro Iwamatsu    #include <dt-bindings/clock/xlnx-zynqmp-clk.h>
47c58db2abSNobuhiro Iwamatsu    soc {
48c58db2abSNobuhiro Iwamatsu      #address-cells = <2>;
49c58db2abSNobuhiro Iwamatsu      #size-cells = <2>;
50c58db2abSNobuhiro Iwamatsu
51c58db2abSNobuhiro Iwamatsu      qspi: spi@ff0f0000 {
52c58db2abSNobuhiro Iwamatsu        compatible = "xlnx,zynqmp-qspi-1.0";
53c58db2abSNobuhiro Iwamatsu        clocks = <&zynqmp_clk QSPI_REF>, <&zynqmp_clk LPD_LSBUS>;
54c58db2abSNobuhiro Iwamatsu        clock-names = "ref_clk", "pclk";
55c58db2abSNobuhiro Iwamatsu        interrupts = <0 15 4>;
56c58db2abSNobuhiro Iwamatsu        interrupt-parent = <&gic>;
57c58db2abSNobuhiro Iwamatsu        reg = <0x0 0xff0f0000 0x0 0x1000>,
58c58db2abSNobuhiro Iwamatsu              <0x0 0xc0000000 0x0 0x8000000>;
59c58db2abSNobuhiro Iwamatsu      };
60c58db2abSNobuhiro Iwamatsu    };
61