xref: /linux/Documentation/devicetree/bindings/display/imx/fsl,imx6qp-pre.yaml (revision bf373e4c786bfe989e637195252698f45b157a68)
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-pre.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX PRE (Prefetch Resolve Engine)
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    const: fsl,imx6qp-pre
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  clock-names:
26    items:
27      - const: axi
28  fsl,iram:
29    $ref: /schemas/types.yaml#/definitions/phandle
30    description:
31      phandle pointing to the mmio-sram device node, that should be
32      used for the PRE SRAM double buffer.
33
34required:
35  - compatible
36  - reg
37  - interrupts
38  - clocks
39  - clock-names
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/imx6qdl-clock.h>
46    #include <dt-bindings/interrupt-controller/arm-gic.h>
47
48    pre@21c8000 {
49        compatible = "fsl,imx6qp-pre";
50        reg = <0x021c8000 0x1000>;
51        interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
52        clocks = <&clks IMX6QDL_CLK_PRE0>;
53        clock-names = "axi";
54        fsl,iram = <&ocram2>;
55    };
56