xref: /linux/Documentation/devicetree/bindings/ufs/amd,versal2-ufs.yaml (revision 7eb7f5723df50a7d5564aa609e4c147f669a5cb4)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/ufs/amd,versal2-ufs.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: AMD Versal Gen 2 UFS Host Controller
8
9maintainers:
10  - Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
11
12allOf:
13  - $ref: ufs-common.yaml
14
15properties:
16  compatible:
17    const: amd,versal2-ufs
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  clock-names:
26    items:
27      - const: core
28
29  power-domains:
30    maxItems: 1
31
32  resets:
33    maxItems: 2
34
35  reset-names:
36    items:
37      - const: host
38      - const: phy
39
40required:
41  - reg
42  - clocks
43  - clock-names
44  - resets
45  - reset-names
46
47unevaluatedProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/interrupt-controller/arm-gic.h>
52    ufs@f10b0000 {
53        compatible = "amd,versal2-ufs";
54        reg = <0xf10b0000 0x1000>;
55        clocks = <&ufs_core_clk>;
56        clock-names = "core";
57        resets = <&scmi_reset 4>, <&scmi_reset 35>;
58        reset-names = "host", "phy";
59        interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
60        freq-table-hz = <0 0>;
61    };
62