aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/imx/fsl,imx6qp-prg.yaml
blob: 582da8c489f4569056cae20ce8b98b7dcd5b458b (plain) (blame)
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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/imx/fsl,imx6qp-prg.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale i.MX PRG (Prefetch Resolve Gasket)

maintainers:
  - Frank Li <Frank.Li@nxp.com>

properties:
  compatible:
    const: fsl,imx6qp-prg

  reg:
    maxItems: 1

  clocks:
    maxItems: 2

  clock-names:
    items:
      - const: ipg
      - const: axi

  fsl,pres:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    items:
      maxItems: 1
    description:
      phandles to the PRE units attached to this PRG, with the fixed
      PRE as the first entry and the muxable PREs following.

required:
  - compatible
  - reg
  - clocks
  - clock-names

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/imx6qdl-clock.h>

    prg@21cc000 {
        compatible = "fsl,imx6qp-prg";
        reg = <0x021cc000 0x1000>;
        clocks = <&clks IMX6QDL_CLK_PRG0_APB>, <&clks IMX6QDL_CLK_PRG0_AXI>;
        clock-names = "ipg", "axi";
        fsl,pres = <&pre1>, <&pre2>, <&pre3>;
    };