xref: /freebsd/sys/contrib/device-tree/Bindings/spi/xlnx,zynq-qspi.yaml (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/xlnx,zynq-qspi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Xilinx Zynq QSPI controller
8
9description:
10  The Xilinx Zynq QSPI controller is used to access multi-bit serial flash
11  memory devices.
12
13allOf:
14  - $ref: spi-controller.yaml#
15
16maintainers:
17  - Michal Simek <michal.simek@amd.com>
18
19# Everything else is described in the common file
20properties:
21  compatible:
22    const: xlnx,zynq-qspi-1.0
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    maxItems: 1
29
30  clocks:
31    items:
32      - description: reference clock
33      - description: peripheral clock
34
35  clock-names:
36    items:
37      - const: ref_clk
38      - const: pclk
39
40required:
41  - compatible
42  - reg
43  - interrupts
44  - clocks
45  - clock-names
46
47unevaluatedProperties: false
48
49examples:
50  - |
51    spi@e000d000 {
52        compatible = "xlnx,zynq-qspi-1.0";
53        reg = <0xe000d000 0x1000>;
54        interrupt-parent = <&intc>;
55        interrupts = <0 19 4>;
56        clock-names = "ref_clk", "pclk";
57        clocks = <&clkc 10>, <&clkc 43>;
58        num-cs = <1>;
59    };
60