Skip to content

Commit d0d9a96

Browse files
Elaine Zhangmmind
authored andcommitted
dt-bindings: clock, reset: Add support for rv1126b
Add clock and reset ID defines for rv1126b. Also add documentation for the rv1126b CRU core. Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20251111025738.869847-3-zhangqing@rock-chips.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 826eaa8 commit d0d9a96

3 files changed

Lines changed: 849 additions & 0 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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,rv1126b-cru.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Rockchip RV1126B Clock and Reset Unit
8+
9+
maintainers:
10+
- Elaine Zhang <zhangqing@rock-chips.com>
11+
- Heiko Stuebner <heiko@sntech.de>
12+
13+
description:
14+
The rv1126b clock controller generates the clock and also implements a
15+
reset controller for SoC peripherals.
16+
17+
properties:
18+
compatible:
19+
enum:
20+
- rockchip,rv1126b-cru
21+
22+
reg:
23+
maxItems: 1
24+
25+
"#clock-cells":
26+
const: 1
27+
28+
"#reset-cells":
29+
const: 1
30+
31+
clocks:
32+
maxItems: 1
33+
34+
clock-names:
35+
const: xin24m
36+
37+
required:
38+
- compatible
39+
- reg
40+
- "#clock-cells"
41+
- "#reset-cells"
42+
43+
additionalProperties: false
44+
45+
examples:
46+
- |
47+
clock-controller@20000000 {
48+
compatible = "rockchip,rv1126b-cru";
49+
reg = <0x20000000 0xc0000>;
50+
#clock-cells = <1>;
51+
#reset-cells = <1>;
52+
};

0 commit comments

Comments
 (0)