dt-bindings: perf: imx8-ddr: add imx8qxp ddr performance monitor
authorFrank Li <frank.li@nxp.com>
Wed, 1 May 2019 18:43:26 +0000 (18:43 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 13 Jun 2019 09:38:02 +0000 (10:38 +0100)
Add binding documentation for the imx8qxp DDR performance monitor unit.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
[will: Removed trailing newline]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt
new file mode 100644 (file)
index 0000000..d77e3f2
--- /dev/null
@@ -0,0 +1,21 @@
+* Freescale(NXP) IMX8 DDR performance monitor
+
+Required properties:
+
+- compatible: should be one of:
+       "fsl,imx8-ddr-pmu"
+       "fsl,imx8m-ddr-pmu"
+
+- reg: physical address and size
+
+- interrupts: single interrupt
+       generated by the control block
+
+Example:
+
+       ddr-pmu@5c020000 {
+               compatible = "fsl,imx8-ddr-pmu";
+               reg = <0x5c020000 0x10000>;
+               interrupt-parent = <&gic>;
+               interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
+       };