Documentation/devicetree/bindings/clock/raspberrypi,rp1-clocks.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/clock/raspberrypi,rp1-clocks.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/clock/raspberrypi,rp1-clocks.yaml
Extension
.yaml
Size
1329 bytes
Lines
59
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/raspberrypi,rp1-clocks.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: RaspberryPi RP1 clock generator

maintainers:
  - A. della Porta <andrea.porta@suse.com>

description: |
  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:
  compatible:
    const: raspberrypi,rp1-clocks

  reg:
    maxItems: 1

  '#clock-cells':
    const: 1
    description:
      The available clocks are defined in
      include/dt-bindings/clock/raspberrypi,rp1-clocks.h.

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - '#clock-cells'
  - clocks

additionalProperties: false

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>;
        };
    };

Annotation

Implementation Notes