]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: imx8mp-nominal: Explicitly configure nominal VPU clocks
authorAdam Ford <aford173@gmail.com>
Thu, 12 Jun 2025 00:39:21 +0000 (19:39 -0500)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Jul 2025 08:34:30 +0000 (16:34 +0800)
In preparation for increasing the default VPU clocks to overdrive,
configure the nominal values first to avoid running the nominal
devices out of spec when imx8mp.dtsi is changed.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-nominal.dtsi

index 2ce1860b244d5e3f73eb82429f67391532122d1c..f269f7a004fc017fc891665586462dca63d970bd 100644 (file)
                               <1039500000>;
 };
 
+&vpu_g1 {
+       assigned-clocks = <&clk IMX8MP_CLK_VPU_G1>;
+       assigned-clock-parents = <&clk IMX8MP_VPU_PLL_OUT>;
+       assigned-clock-rates = <600000000>;
+};
+
+&vpu_g2 {
+       assigned-clocks = <&clk IMX8MP_CLK_VPU_G2>;
+       assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_1000M>;
+       assigned-clock-rates = <500000000>;
+};
+
+&vpumix_blk_ctrl {
+       assigned-clocks = <&clk IMX8MP_VPU_PLL>, <&clk IMX8MP_CLK_VPU_BUS>;
+       assigned-clock-parents = <0>, <&clk IMX8MP_VPU_PLL_OUT>;
+       assigned-clock-rates = <600000000>, <600000000>;
+};
+
 /delete-node/ &{noc_opp_table/opp-1000000000};