summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Gutierrez <juan.gutierrez@nxp.com>2017-01-24 10:30:34 -0600
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:25:46 +0800
commit6c0ee4ed2543fb16b731656fc085f807ada1b0fb (patch)
tree4c51b0d7f76d13d11ec1f65f00fd9430e8738eda
parentf3d1c3037ea790e7c51594b5ed0880f140c334df (diff)
MXSCM-240-2 arm: dts: imx: make mmdc clk accessible from the busfreq driver
The mmdc clk rate needs to be explicitly updated when moving to high audio rate by the busfreq module for the i.mx6q lpddr2 systems. In order to make the mmdc_ch0_axi clk visible by this driver, it needs to be included on the clocks/clock-names list. For the imx6dqscm-1gb-evb systems the clocks list for the busfreq module is originally inherited from imx6q.dtsi. To include the mmdc clk, the full clocks list plus the mmdc clk needs to be overwriten on the individual dts files. Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
-rw-r--r--arch/arm/boot/dts/imx6dqscm-1gb-evb-fix-ldo.dts4
-rw-r--r--arch/arm/boot/dts/imx6dqscm-1gb-evb-interleave-android-ldo.dts4
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6dqscm-1gb-evb-fix-ldo.dts b/arch/arm/boot/dts/imx6dqscm-1gb-evb-fix-ldo.dts
index 1f6c0c3c40a8..560f8ef75418 100644
--- a/arch/arm/boot/dts/imx6dqscm-1gb-evb-fix-ldo.dts
+++ b/arch/arm/boot/dts/imx6dqscm-1gb-evb-fix-ldo.dts
@@ -19,6 +19,10 @@
busfreq {
fsl,max_ddr_freq = <400000000>;
status = "okay";
+ clocks = <&clks 171>, <&clks 6>, <&clks 11>, <&clks 104>, <&clks 172>, <&clks 58>,
+ <&clks 18>, <&clks 60>, <&clks 20>, <&clks 3>, <&clks 140>;
+ clock-names = "pll2_bus", "pll2_pfd2_396m", "pll2_198m", "arm", "pll3_usb_otg", "periph",
+ "periph_pre", "periph_clk2", "periph_clk2_sel", "osc", "mmdc";
};
};
};
diff --git a/arch/arm/boot/dts/imx6dqscm-1gb-evb-interleave-android-ldo.dts b/arch/arm/boot/dts/imx6dqscm-1gb-evb-interleave-android-ldo.dts
index 6b0542195d2a..e0ca32841ced 100644
--- a/arch/arm/boot/dts/imx6dqscm-1gb-evb-interleave-android-ldo.dts
+++ b/arch/arm/boot/dts/imx6dqscm-1gb-evb-interleave-android-ldo.dts
@@ -15,6 +15,10 @@
busfreq {
fsl,max_ddr_freq = <400000000>;
status = "okay";
+ clocks = <&clks 171>, <&clks 6>, <&clks 11>, <&clks 104>, <&clks 172>, <&clks 58>,
+ <&clks 18>, <&clks 60>, <&clks 20>, <&clks 3>, <&clks 140>;
+ clock-names = "pll2_bus", "pll2_pfd2_396m", "pll2_198m", "arm", "pll3_usb_otg", "periph",
+ "periph_pre", "periph_clk2", "periph_clk2_sel", "osc", "mmdc";
};
};
};