aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/raspberrypi,firmware-clocks.yaml
blob: d37bc311321dec5f5ad6aad75089af2e515daf22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/raspberrypi,firmware-clocks.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: RaspberryPi Firmware Clocks Device Tree Bindings

maintainers:
  - Maxime Ripard <mripard@kernel.org>

properties:
  "#clock-cells":
    const: 1

  compatible:
    const: raspberrypi,firmware-clocks

  raspberrypi,firmware:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: >
      Phandle to the mailbox node to communicate with the firmware.

required:
  - "#clock-cells"
  - compatible
  - raspberrypi,firmware

additionalProperties: false

examples:
  - |
    firmware_clocks: firmware-clocks {
        compatible = "raspberrypi,firmware-clocks";
        raspberrypi,firmware = <&firmware>;
        #clock-cells = <1>;
    };

...