Verified Commit 9259def2 authored by Leonard Crestez's avatar Leonard Crestez Committed by Sebastian Krzyszkowiak
Browse files

arm64: dts: imx8m: Add fsl,ddr-pmu to ddrc nodes



The imx8m-ddrc driver can dynamically measure memory usage using ddr
pmu. Enable this by adding a "fsl,ddr-pmu" phandle reference.

Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
parent bed789a7
......@@ -1302,9 +1302,10 @@ ddrc: memory-controller@3d400000 {
<&clk IMX8MM_DRAM_PLL>,
<&clk IMX8MM_CLK_DRAM_ALT>,
<&clk IMX8MM_CLK_DRAM_APB>;
fsl,ddr-pmu = <&ddr_pmu>;
};
ddr-pmu@3d800000 {
ddr_pmu: ddr-pmu@3d800000 {
compatible = "fsl,imx8mm-ddr-pmu", "fsl,imx8m-ddr-pmu";
reg = <0x3d800000 0x400000>;
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
......
......@@ -1055,9 +1055,10 @@ ddrc: memory-controller@3d400000 {
<&clk IMX8MN_DRAM_PLL>,
<&clk IMX8MN_CLK_DRAM_ALT>,
<&clk IMX8MN_CLK_DRAM_APB>;
fsl,ddr-pmu = <&ddr_pmu>;
};
ddr-pmu@3d800000 {
ddr_pmu: ddr-pmu@3d800000 {
compatible = "fsl,imx8mn-ddr-pmu", "fsl,imx8m-ddr-pmu";
reg = <0x3d800000 0x400000>;
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
......
......@@ -1687,9 +1687,10 @@ ddrc: memory-controller@3d400000 {
<&clk IMX8MQ_CLK_AHB>,
<&clk IMX8MQ_CLK_25M>,
<&clk IMX8MQ_SYS2_PLL_333M>;
fsl,ddr-pmu = <&ddr_pmu>;
};
ddr-pmu@3d800000 {
ddr_pmu: ddr-pmu@3d800000 {
compatible = "fsl,imx8mq-ddr-pmu", "fsl,imx8m-ddr-pmu";
reg = <0x3d800000 0x400000>;
interrupt-parent = <&gic>;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment