Rockchip RK3528 Clock and Reset Controller

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

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

Maintainers (maintainers): "Yao Zi <ziyao@disroot.org>"

The RK3528 clock controller generates the clock and also implements a reset controller for SoC peripherals. For example, it provides SCLK_UART0 and PCLK_UART0 as well as SRST_P_UART0 and SRST_S_UART0 for the first UART module. Each clock is assigned an identifier, consumer nodes can use it to specify the clock. All available clock and reset IDs are defined in dt-binding headers.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rockchip,rk3528-cru"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

External 24MHz oscillator clock

Item 2

50MHz clock generated by PHY module, for generating GMAC0 clocks only.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xin24m"

Item 2

Exact value (const): "gmac0"

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller@ff4a0000 {
    compatible = "rockchip,rk3528-cru";
    reg = <0xff4a0000 0x30000>;
    clocks = <&xin24m>, <&gmac0_clk>;
    clock-names = "xin24m", "gmac0";
    #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