summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml
blob: 036d3d37ffc2646630178fca4273210fd47d5d22 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-License-Identifier: (GPL-2.0-only)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/fsl,imx-blk-ctrl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP i.MX BLK_CTRL

description: |
  i.MX BLK_CTRL is a conglomerate of different GPRs that are
  dedicated to a specific subsystem. Because it usually contains
  clocks amongst other things, it needs access to the i.MX clocks
  API. All the other functionalities it provides can work just fine
  from the clock subsystem tree.

maintainers:
  - Abel Vesa <abel.vesa@nxp.com>

properties:
  reg:
    maxItems: 1

  compatible:
    items:
      - const: fsl,imx8mp-blk-ctrl
      - const: syscon

  power-domains:
    maxItems: 1

  '#clock-cells':
    const: 1

  '#reset-cells':
    const: 1

required:
  - compatible
  - reg
  - power-domains
  - '#clock-cells'
  - '#reset-cells'

additionalProperties: false

examples:
  - |
    audio-blk-ctrl: blk-ctrl@30e20000 {
       compatible = "fsl,imx8mp-blk-ctrl", "syscon";
       reg = <0x30e20000 0x10000>;
       power-domains = <&audiomix_pd>;

       #clock-cells = <1>;
       #reset-cells = <1>;
    };