Skip to content

Commit 9379508

Browse files
a3fShawn Guo
authored andcommitted
arm64: dts: imx8mp: use 800MHz NoC OPP for nominal drive mode
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 <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 5591ce0 commit 9379508

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

arch/arm64/boot/dts/freescale/imx8mp-nominal.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,5 @@
8888
<0>, <0>, <400000000>,
8989
<1039500000>;
9090
};
91+
92+
/delete-node/ &{noc_opp_table/opp-1000000000};

arch/arm64/boot/dts/freescale/imx8mp.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,6 +1645,12 @@
16451645
opp-hz = /bits/ 64 <200000000>;
16461646
};
16471647

1648+
/* Nominal drive mode maximum */
1649+
opp-800000000 {
1650+
opp-hz = /bits/ 64 <800000000>;
1651+
};
1652+
1653+
/* Overdrive mode maximum */
16481654
opp-1000000000 {
16491655
opp-hz = /bits/ 64 <1000000000>;
16501656
};

0 commit comments

Comments
 (0)