xref: /freebsd/sys/contrib/device-tree/Bindings/spi/xlnx,zynq-qspi.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/spi/xlnx,zynq-qspi.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Xilinx Zynq QSPI controller
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotdescription:
105def4c47SEmmanuel Vadot  The Xilinx Zynq QSPI controller is used to access multi-bit serial flash
115def4c47SEmmanuel Vadot  memory devices.
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel VadotallOf:
14cb7aa33aSEmmanuel Vadot  - $ref: spi-controller.yaml#
155def4c47SEmmanuel Vadot
165def4c47SEmmanuel Vadotmaintainers:
17*f126890aSEmmanuel Vadot  - Michal Simek <michal.simek@amd.com>
185def4c47SEmmanuel Vadot
195def4c47SEmmanuel Vadot# Everything else is described in the common file
205def4c47SEmmanuel Vadotproperties:
215def4c47SEmmanuel Vadot  compatible:
225def4c47SEmmanuel Vadot    const: xlnx,zynq-qspi-1.0
235def4c47SEmmanuel Vadot
245def4c47SEmmanuel Vadot  reg:
255def4c47SEmmanuel Vadot    maxItems: 1
265def4c47SEmmanuel Vadot
275def4c47SEmmanuel Vadot  interrupts:
285def4c47SEmmanuel Vadot    maxItems: 1
295def4c47SEmmanuel Vadot
305def4c47SEmmanuel Vadot  clocks:
315def4c47SEmmanuel Vadot    items:
325def4c47SEmmanuel Vadot      - description: reference clock
335def4c47SEmmanuel Vadot      - description: peripheral clock
345def4c47SEmmanuel Vadot
355def4c47SEmmanuel Vadot  clock-names:
365def4c47SEmmanuel Vadot    items:
375def4c47SEmmanuel Vadot      - const: ref_clk
385def4c47SEmmanuel Vadot      - const: pclk
395def4c47SEmmanuel Vadot
405def4c47SEmmanuel Vadotrequired:
415def4c47SEmmanuel Vadot  - compatible
425def4c47SEmmanuel Vadot  - reg
435def4c47SEmmanuel Vadot  - interrupts
445def4c47SEmmanuel Vadot  - clocks
455def4c47SEmmanuel Vadot  - clock-names
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel VadotunevaluatedProperties: false
485def4c47SEmmanuel Vadot
495def4c47SEmmanuel Vadotexamples:
505def4c47SEmmanuel Vadot  - |
515def4c47SEmmanuel Vadot    spi@e000d000 {
525def4c47SEmmanuel Vadot        compatible = "xlnx,zynq-qspi-1.0";
535def4c47SEmmanuel Vadot        reg = <0xe000d000 0x1000>;
545def4c47SEmmanuel Vadot        interrupt-parent = <&intc>;
555def4c47SEmmanuel Vadot        interrupts = <0 19 4>;
565def4c47SEmmanuel Vadot        clock-names = "ref_clk", "pclk";
575def4c47SEmmanuel Vadot        clocks = <&clkc 10>, <&clkc 43>;
585def4c47SEmmanuel Vadot        num-cs = <1>;
595def4c47SEmmanuel Vadot    };
60