| 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 |
|
| 7 |
title: Rockchip RK3506 Clock and Reset Unit (CRU) |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Finley Xiao <[email protected]> |
| 11 |
- Heiko Stuebner <[email protected]> |
| 12 |
|
| 13 |
description: |
| 14 |
The RK3506 CRU generates the clock and also implements reset for SoC |
| 15 |
peripherals. |
| 16 |
|
| 17 |
properties: |
| 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 |
|
| 36 |
required: |
| 37 |
- compatible |
| 38 |
- reg |
| 39 |
- "#clock-cells" |
| 40 |
- "#reset-cells" |
| 41 |
- clocks |
| 42 |
- clock-names |
| 43 |
|
| 44 |
additionalProperties: false |
| 45 |
|
| 46 |
examples: |
| 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 |
}; |