xref: /linux/Documentation/devicetree/bindings/clock/rockchip,rk3506-cru.yaml (revision ba65a4e7120a616d9c592750d9147f6dcafedffa)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/rockchip,rk3506-cru.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Rockchip RK3506 Clock and Reset Unit (CRU)
8
9maintainers:
10  - Finley Xiao <finley.xiao@rock-chips.com>
11  - Heiko Stuebner <heiko@sntech.de>
12
13description:
14  The RK3506 CRU generates the clock and also implements reset for SoC
15  peripherals.
16
17properties:
18  compatible:
19    const: rockchip,rk3506-cru
20
21  reg:
22    maxItems: 1
23
24  "#clock-cells":
25    const: 1
26
27  "#reset-cells":
28    const: 1
29
30  clocks:
31    maxItems: 1
32
33  clock-names:
34    const: xin
35
36required:
37  - compatible
38  - reg
39  - "#clock-cells"
40  - "#reset-cells"
41  - clocks
42  - clock-names
43
44additionalProperties: false
45
46examples:
47  - |
48    clock-controller@ff9a0000 {
49      compatible = "rockchip,rk3506-cru";
50      reg = <0xff9a0000 0x20000>;
51      #clock-cells = <1>;
52      #reset-cells = <1>;
53      clocks = <&xin24m>;
54      clock-names = "xin";
55    };
56