Rockchip rk3588 Family Clock and Reset Control Module

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3588-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3588 clock controller generates the clock and also implements a reset controller for SoC peripherals. For example it provides SCLK_UART2 and PCLK_UART2, as well as SRST_P_UART2 and SRST_S_UART2 for the second UART module. Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All available clock and reset IDs are defined as preprocessor macros in dt-binding headers.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3588-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xin24m"

Item 2

Exact value (const): "xin32k"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to the syscon managing the "general register files". It is used for GRF muxes, if missing any muxes present in the GRF will not be available.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@fd7c0000 {
  compatible = "rockchip,rk3588-cru";
  reg = <0xfd7c0000 0x5c000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page