RaspberryPi RP1 clock generator

Schema identifier ($id): "http://devicetree.org/schemas/clock/raspberrypi,rp1-clocks.yaml#"

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

Maintainers (maintainers): "A. della Porta <andrea.porta@suse.com>"

The RP1 contains a clock generator designed as three PLLs (CORE, AUDIO, VIDEO), and each PLL output can be programmed through dividers to generate the clocks to drive the sub-peripherals embedded inside the chipset.

Link to datasheet: https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "raspberrypi,rp1-clocks"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

The available clocks are defined in include/dt-bindings/clock/raspberrypi,rp1-clocks.h.

clocks — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/raspberrypi,rp1-clocks.h>

rp1 {
    #address-cells = <2>;
    #size-cells = <2>;

    clocks@c040018000 {
        compatible = "raspberrypi,rp1-clocks";
        reg = <0xc0 0x40018000 0x0 0x10038>;
        #clock-cells = <1>;
        clocks = <&clk_rp1_xosc>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page