Skip to content

Commit

Permalink
arm64: dts: imx8mq: Add NOC node
Browse files Browse the repository at this point in the history
Add initial support for dynamic frequency scaling of the main NOC
on imx8mq.

Make DDRC the parent of the NOC (using passive governor) so that the
main NOC is automatically scaled together with DDRC by default.

Support for proactive scaling via interconnect will come on top.

Signed-off-by: Leonard Crestez <[email protected]>
Signed-off-by: Martin Kepplinger <[email protected]>
Acked-by: Georgi Djakov <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
cdleonard authored and Shawn Guo committed Jan 15, 2021
1 parent 6428560 commit f18e6d5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mq.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,30 @@
};
};

noc: interconnect@32700000 {
compatible = "fsl,imx8mq-noc", "fsl,imx8m-noc";
reg = <0x32700000 0x100000>;
clocks = <&clk IMX8MQ_CLK_NOC>;
fsl,ddrc = <&ddrc>;
operating-points-v2 = <&noc_opp_table>;

noc_opp_table: opp-table {
compatible = "operating-points-v2";

opp-133M {
opp-hz = /bits/ 64 <133333333>;
};

opp-400M {
opp-hz = /bits/ 64 <400000000>;
};

opp-800M {
opp-hz = /bits/ 64 <800000000>;
};
};
};

bus@32c00000 { /* AIPS4 */
compatible = "fsl,aips-bus", "simple-bus";
reg = <0x32c00000 0x400000>;
Expand Down

0 comments on commit f18e6d5

Please sign in to comment.