xref: /freebsd/sys/contrib/device-tree/Bindings/clock/brcm,bcm2835-aux-clock.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/brcm,bcm2835-aux-clock.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Broadcom BCM2835 auxiliary peripheral clock
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Stefan Wahren <wahrenst@gmx.net>
11*ae5de77eSEmmanuel Vadot  - Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
12*ae5de77eSEmmanuel Vadot
13*ae5de77eSEmmanuel Vadotdescription:
14*ae5de77eSEmmanuel Vadot  The auxiliary peripherals (UART, SPI1, and SPI2) have a small register
15*ae5de77eSEmmanuel Vadot  area controlling clock gating to the peripherals, and providing an IRQ
16*ae5de77eSEmmanuel Vadot  status register.
17*ae5de77eSEmmanuel Vadot
18*ae5de77eSEmmanuel Vadotproperties:
19*ae5de77eSEmmanuel Vadot  compatible:
20*ae5de77eSEmmanuel Vadot    const: brcm,bcm2835-aux
21*ae5de77eSEmmanuel Vadot
22*ae5de77eSEmmanuel Vadot  reg:
23*ae5de77eSEmmanuel Vadot    maxItems: 1
24*ae5de77eSEmmanuel Vadot
25*ae5de77eSEmmanuel Vadot  "#clock-cells":
26*ae5de77eSEmmanuel Vadot    const: 1
27*ae5de77eSEmmanuel Vadot
28*ae5de77eSEmmanuel Vadot  clocks:
29*ae5de77eSEmmanuel Vadot    maxItems: 1
30*ae5de77eSEmmanuel Vadot
31*ae5de77eSEmmanuel Vadotrequired:
32*ae5de77eSEmmanuel Vadot  - compatible
33*ae5de77eSEmmanuel Vadot  - reg
34*ae5de77eSEmmanuel Vadot  - "#clock-cells"
35*ae5de77eSEmmanuel Vadot  - clocks
36*ae5de77eSEmmanuel Vadot
37*ae5de77eSEmmanuel VadotadditionalProperties: false
38*ae5de77eSEmmanuel Vadot
39*ae5de77eSEmmanuel Vadotexamples:
40*ae5de77eSEmmanuel Vadot  - |
41*ae5de77eSEmmanuel Vadot    #include <dt-bindings/clock/bcm2835.h>
42*ae5de77eSEmmanuel Vadot    clock@7e215000 {
43*ae5de77eSEmmanuel Vadot        compatible = "brcm,bcm2835-aux";
44*ae5de77eSEmmanuel Vadot        reg = <0x7e215000 0x8>;
45*ae5de77eSEmmanuel Vadot        #clock-cells = <1>;
46*ae5de77eSEmmanuel Vadot        clocks = <&clocks BCM2835_CLOCK_VPU>;
47*ae5de77eSEmmanuel Vadot    };
48