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