Skip to content

Commit

Permalink
arm64: dts: imx8mp: use 800MHz NoC OPP for nominal drive mode
Browse files Browse the repository at this point in the history
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: 255fbd9 ("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>
  • Loading branch information
Ahmad Fatoum authored and Shawn Guo committed May 9, 2025
1 parent 5591ce0 commit 9379508
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mp-nominal.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,5 @@
<0>, <0>, <400000000>,
<1039500000>;
};

/delete-node/ &{noc_opp_table/opp-1000000000};
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1645,6 +1645,12 @@
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>;
};
Expand Down

0 comments on commit 9379508

Please sign in to comment.