Skip to content

Commit 23ed2be

Browse files
BoughChenmarckleinebudde
authored andcommitted
arm64: dts: imx93: add the Flex-CAN stop mode by GPR
imx93 A0 chip use the internal q-channel handshake signal in LPCG and CCM to automatically handle the Flex-CAN stop mode. But this method meet issue when do the system PM stress test. IC can't fix it easily. So in the new imx93 A1 chip, IC drop this method, and involve back the old way,use the GPR method to trigger the Flex-CAN stop mode signal. Now NXP claim to drop imx93 A0, and only support imx93 A1. So here add the stop mode through GPR. This patch also fix a typo for aonmix_ns_gpr. Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Link: https://lore.kernel.org/all/20230726112458.3524165-1-haibo.chen@nxp.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent a9967c9 commit 23ed2be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
#size-cells = <1>;
186186
ranges;
187187

188-
anomix_ns_gpr: syscon@44210000 {
188+
aonmix_ns_gpr: syscon@44210000 {
189189
compatible = "fsl,imx93-aonmix-ns-syscfg", "syscon";
190190
reg = <0x44210000 0x1000>;
191191
};
@@ -319,6 +319,7 @@
319319
assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>;
320320
assigned-clock-rates = <40000000>;
321321
fsl,clk-source = /bits/ 8 <0>;
322+
fsl,stop-mode = <&aonmix_ns_gpr 0x14 0>;
322323
status = "disabled";
323324
};
324325

@@ -591,6 +592,7 @@
591592
assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>;
592593
assigned-clock-rates = <40000000>;
593594
fsl,clk-source = /bits/ 8 <0>;
595+
fsl,stop-mode = <&wakeupmix_gpr 0x0c 2>;
594596
status = "disabled";
595597
};
596598

0 commit comments

Comments
 (0)