xref: /freebsd/sys/contrib/device-tree/Bindings/clock/rockchip,rk3576-cru.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*b2d2a78aSEmmanuel Vadot%YAML 1.2
3*b2d2a78aSEmmanuel Vadot---
4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/rockchip,rk3576-cru.yaml#
5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadottitle: Rockchip rk3576 Family Clock and Reset Control Module
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadotmaintainers:
10*b2d2a78aSEmmanuel Vadot  - Elaine Zhang <zhangqing@rock-chips.com>
11*b2d2a78aSEmmanuel Vadot  - Heiko Stuebner <heiko@sntech.de>
12*b2d2a78aSEmmanuel Vadot  - Detlev Casanova <detlev.casanova@collabora.com>
13*b2d2a78aSEmmanuel Vadot
14*b2d2a78aSEmmanuel Vadotdescription:
15*b2d2a78aSEmmanuel Vadot  The RK3576 clock controller generates the clock and also implements a reset
16*b2d2a78aSEmmanuel Vadot  controller for SoC peripherals. For example it provides SCLK_UART2 and
17*b2d2a78aSEmmanuel Vadot  PCLK_UART2, as well as SRST_P_UART2 and SRST_S_UART2 for the second UART
18*b2d2a78aSEmmanuel Vadot  module.
19*b2d2a78aSEmmanuel Vadot
20*b2d2a78aSEmmanuel Vadotproperties:
21*b2d2a78aSEmmanuel Vadot  compatible:
22*b2d2a78aSEmmanuel Vadot    const: rockchip,rk3576-cru
23*b2d2a78aSEmmanuel Vadot
24*b2d2a78aSEmmanuel Vadot  reg:
25*b2d2a78aSEmmanuel Vadot    maxItems: 1
26*b2d2a78aSEmmanuel Vadot
27*b2d2a78aSEmmanuel Vadot  "#clock-cells":
28*b2d2a78aSEmmanuel Vadot    const: 1
29*b2d2a78aSEmmanuel Vadot
30*b2d2a78aSEmmanuel Vadot  "#reset-cells":
31*b2d2a78aSEmmanuel Vadot    const: 1
32*b2d2a78aSEmmanuel Vadot
33*b2d2a78aSEmmanuel Vadot  clocks:
34*b2d2a78aSEmmanuel Vadot    maxItems: 2
35*b2d2a78aSEmmanuel Vadot
36*b2d2a78aSEmmanuel Vadot  clock-names:
37*b2d2a78aSEmmanuel Vadot    items:
38*b2d2a78aSEmmanuel Vadot      - const: xin24m
39*b2d2a78aSEmmanuel Vadot      - const: xin32k
40*b2d2a78aSEmmanuel Vadot
41*b2d2a78aSEmmanuel Vadotrequired:
42*b2d2a78aSEmmanuel Vadot  - compatible
43*b2d2a78aSEmmanuel Vadot  - reg
44*b2d2a78aSEmmanuel Vadot  - "#clock-cells"
45*b2d2a78aSEmmanuel Vadot  - "#reset-cells"
46*b2d2a78aSEmmanuel Vadot
47*b2d2a78aSEmmanuel VadotadditionalProperties: false
48*b2d2a78aSEmmanuel Vadot
49*b2d2a78aSEmmanuel Vadotexamples:
50*b2d2a78aSEmmanuel Vadot  - |
51*b2d2a78aSEmmanuel Vadot    clock-controller@27200000 {
52*b2d2a78aSEmmanuel Vadot      compatible = "rockchip,rk3576-cru";
53*b2d2a78aSEmmanuel Vadot      reg = <0xfd7c0000 0x5c000>;
54*b2d2a78aSEmmanuel Vadot      #clock-cells = <1>;
55*b2d2a78aSEmmanuel Vadot      #reset-cells = <1>;
56*b2d2a78aSEmmanuel Vadot    };
57