xref: /freebsd/sys/contrib/device-tree/Bindings/ufs/renesas,ufs.yaml (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
1*b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b97ee269SEmmanuel Vadot%YAML 1.2
3*b97ee269SEmmanuel Vadot---
4*b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/ufs/renesas,ufs.yaml#
5*b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b97ee269SEmmanuel Vadot
7*b97ee269SEmmanuel Vadottitle: Renesas R-Car UFS Host Controller
8*b97ee269SEmmanuel Vadot
9*b97ee269SEmmanuel Vadotmaintainers:
10*b97ee269SEmmanuel Vadot  - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
11*b97ee269SEmmanuel Vadot
12*b97ee269SEmmanuel VadotallOf:
13*b97ee269SEmmanuel Vadot  - $ref: ufs-common.yaml
14*b97ee269SEmmanuel Vadot
15*b97ee269SEmmanuel Vadotproperties:
16*b97ee269SEmmanuel Vadot  compatible:
17*b97ee269SEmmanuel Vadot    const: renesas,r8a779f0-ufs
18*b97ee269SEmmanuel Vadot
19*b97ee269SEmmanuel Vadot  reg:
20*b97ee269SEmmanuel Vadot    maxItems: 1
21*b97ee269SEmmanuel Vadot
22*b97ee269SEmmanuel Vadot  clocks:
23*b97ee269SEmmanuel Vadot    maxItems: 2
24*b97ee269SEmmanuel Vadot
25*b97ee269SEmmanuel Vadot  clock-names:
26*b97ee269SEmmanuel Vadot    items:
27*b97ee269SEmmanuel Vadot      - const: fck
28*b97ee269SEmmanuel Vadot      - const: ref_clk
29*b97ee269SEmmanuel Vadot
30*b97ee269SEmmanuel Vadot  power-domains:
31*b97ee269SEmmanuel Vadot    maxItems: 1
32*b97ee269SEmmanuel Vadot
33*b97ee269SEmmanuel Vadot  resets:
34*b97ee269SEmmanuel Vadot    maxItems: 1
35*b97ee269SEmmanuel Vadot
36*b97ee269SEmmanuel Vadotrequired:
37*b97ee269SEmmanuel Vadot  - compatible
38*b97ee269SEmmanuel Vadot  - reg
39*b97ee269SEmmanuel Vadot  - clocks
40*b97ee269SEmmanuel Vadot  - clock-names
41*b97ee269SEmmanuel Vadot  - power-domains
42*b97ee269SEmmanuel Vadot  - resets
43*b97ee269SEmmanuel Vadot
44*b97ee269SEmmanuel VadotunevaluatedProperties: false
45*b97ee269SEmmanuel Vadot
46*b97ee269SEmmanuel Vadotexamples:
47*b97ee269SEmmanuel Vadot  - |
48*b97ee269SEmmanuel Vadot    #include <dt-bindings/clock/r8a779f0-cpg-mssr.h>
49*b97ee269SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
50*b97ee269SEmmanuel Vadot    #include <dt-bindings/power/r8a779f0-sysc.h>
51*b97ee269SEmmanuel Vadot
52*b97ee269SEmmanuel Vadot    ufs: ufs@e686000 {
53*b97ee269SEmmanuel Vadot            compatible = "renesas,r8a779f0-ufs";
54*b97ee269SEmmanuel Vadot            reg = <0xe6860000 0x100>;
55*b97ee269SEmmanuel Vadot            interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
56*b97ee269SEmmanuel Vadot            clocks = <&cpg CPG_MOD 1514>, <&ufs30_clk>;
57*b97ee269SEmmanuel Vadot            clock-names = "fck", "ref_clk";
58*b97ee269SEmmanuel Vadot            freq-table-hz = <200000000 200000000>, <38400000 38400000>;
59*b97ee269SEmmanuel Vadot            power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
60*b97ee269SEmmanuel Vadot            resets = <&cpg 1514>;
61*b97ee269SEmmanuel Vadot    };
62