xref: /linux/Documentation/devicetree/bindings/display/imx/fsl,imx6qp-prg.yaml (revision e78f70bad29c5ae1e1076698b690b15794e9b81e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/imx/fsl,imx6qp-prg.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX PRG (Prefetch Resolve Gasket)
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    const: fsl,imx6qp-prg
15
16  reg:
17    maxItems: 1
18
19  clocks:
20    maxItems: 2
21
22  clock-names:
23    items:
24      - const: ipg
25      - const: axi
26
27  fsl,pres:
28    $ref: /schemas/types.yaml#/definitions/phandle-array
29    items:
30      maxItems: 1
31    description:
32      phandles to the PRE units attached to this PRG, with the fixed
33      PRE as the first entry and the muxable PREs following.
34
35required:
36  - compatible
37  - reg
38  - clocks
39  - clock-names
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/imx6qdl-clock.h>
46
47    prg@21cc000 {
48        compatible = "fsl,imx6qp-prg";
49        reg = <0x021cc000 0x1000>;
50        clocks = <&clks IMX6QDL_CLK_PRG0_APB>, <&clks IMX6QDL_CLK_PRG0_AXI>;
51        clock-names = "ipg", "axi";
52        fsl,pres = <&pre1>, <&pre2>, <&pre3>;
53    };
54
55