Skip to content

Commit a1f65e6

Browse files
openedevmmind
authored andcommitted
dt-bindings: clock: rockchip: Document RV1126 CRU
Document dt-bindings for Rockchip RV1126 clock controller. Cc: [email protected] Cc: Michael Turquette <[email protected]> Cc: Stephen Boyd <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 0424d96 commit a1f65e6

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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,rv1126-cru.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Rockchip RV1126 Clock and Reset Unit
8+
9+
maintainers:
10+
- Jagan Teki <[email protected]>
11+
- Finley Xiao <[email protected]>
12+
- Heiko Stuebner <[email protected]>
13+
14+
description:
15+
The RV1126 clock controller generates the clock and also implements a
16+
reset controller for SoC peripherals.
17+
18+
properties:
19+
compatible:
20+
enum:
21+
- rockchip,rv1126-cru
22+
- rockchip,rv1126-pmucru
23+
24+
reg:
25+
maxItems: 1
26+
27+
"#clock-cells":
28+
const: 1
29+
30+
"#reset-cells":
31+
const: 1
32+
33+
clocks:
34+
maxItems: 1
35+
36+
clock-names:
37+
const: xin24m
38+
39+
rockchip,grf:
40+
$ref: /schemas/types.yaml#/definitions/phandle
41+
description:
42+
Phandle to the syscon managing the "general register files" (GRF),
43+
if missing pll rates are not changeable, due to the missing pll
44+
lock status.
45+
46+
required:
47+
- compatible
48+
- reg
49+
- "#clock-cells"
50+
- "#reset-cells"
51+
52+
additionalProperties: false
53+
54+
examples:
55+
- |
56+
cru: clock-controller@ff490000 {
57+
compatible = "rockchip,rv1126-cru";
58+
reg = <0xff490000 0x1000>;
59+
rockchip,grf = <&grf>;
60+
#clock-cells = <1>;
61+
#reset-cells = <1>;
62+
};

0 commit comments

Comments
 (0)