| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/clock/brcm,bcm2835-aux-clock.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Broadcom BCM2835 auxiliary peripheral clock |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Stefan Wahren <[email protected]> |
| 11 |
- Raspberry Pi Kernel Maintenance <[email protected]> |
| 12 |
|
| 13 |
description: |
| 14 |
The auxiliary peripherals (UART, SPI1, and SPI2) have a small register |
| 15 |
area controlling clock gating to the peripherals, and providing an IRQ |
| 16 |
status register. |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
const: brcm,bcm2835-aux |
| 21 |
|
| 22 |
reg: |
| 23 |
maxItems: 1 |
| 24 |
|
| 25 |
"#clock-cells": |
| 26 |
const: 1 |
| 27 |
|
| 28 |
clocks: |
| 29 |
maxItems: 1 |
| 30 |
|
| 31 |
required: |
| 32 |
- compatible |
| 33 |
- reg |
| 34 |
- "#clock-cells" |
| 35 |
- clocks |
| 36 |
|
| 37 |
additionalProperties: false |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
#include <dt-bindings/clock/bcm2835.h> |
| 42 |
clock@7e215000 { |
| 43 |
compatible = "brcm,bcm2835-aux"; |
| 44 |
reg = <0x7e215000 0x8>; |
| 45 |
#clock-cells = <1>; |
| 46 |
clocks = <&clocks BCM2835_CLOCK_VPU>; |
| 47 |
}; |