]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: imx8mp: use 800MHz NoC OPP for nominal drive mode
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Tue, 22 Apr 2025 07:12:35 +0000 (09:12 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 9 May 2025 09:53:20 +0000 (17:53 +0800)
When running in nominal drive mode, the maximum allowed frequency for
the NoC is 800MHz, but the OPP table for the i.MX8MP interconnect device
listed the 1GHz operating point for the NoC, regardless of the active
mode.

The newly introduced imx8mp-nominal.dtsi header reconfigures the clock
controller to observe nominal drive mode limits, so have it modify the
maximum NoC OPP as well.

Fixes: 255fbd9eabe7 ("arm64: dts: imx8mp: Add optional nominal drive mode DTSI")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-nominal.dtsi
arch/arm64/boot/dts/freescale/imx8mp.dtsi

index dc0ccd723c6d92e7946ebd52bac535e4175498d0..2ce1860b244d5e3f73eb82429f67391532122d1c 100644 (file)
@@ -88,3 +88,5 @@
                               <0>, <0>, <400000000>,
                               <1039500000>;
 };
+
+/delete-node/ &{noc_opp_table/opp-1000000000};
index ce6793b2d57eef9489645f498a89f4bd8f3388d5..7c1c87eab54cc632643f206bd80ce7b7b49505de 100644 (file)
                                        opp-hz = /bits/ 64 <200000000>;
                                };
 
+                               /* Nominal drive mode maximum */
+                               opp-800000000 {
+                                       opp-hz = /bits/ 64 <800000000>;
+                               };
+
+                               /* Overdrive mode maximum */
                                opp-1000000000 {
                                        opp-hz = /bits/ 64 <1000000000>;
                                };