[PATCH v2 5/5] arm64: dts: ti: k3-am62l3-evm: Enable Main UART wakeup
Kendall Willis
k-willis at ti.com
Tue Dec 30 18:38:24 PST 2025
The Main UART can resume from suspend to RAM states when PIN_WKUP_EN
is enabled. Add the necessary pins needed to wakeup the system. Add the
system idle states that the Main UART can wakeup the system from.
Signed-off-by: Kendall Willis <k-willis at ti.com>
---
arch/arm64/boot/dts/ti/k3-am62l3-evm.dts | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts b/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts
index cae04cce337366b50928d39b0c888550b14e43d3..911719278e7191d96a886ce1e818f98085dd5d67 100644
--- a/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62l3-evm.dts
@@ -280,14 +280,26 @@ AM62LX_IOPAD(0x0234, PIN_INPUT, 0) /* (B6) MMC1_SDCD */
bootph-all;
};
- uart0_pins_default: uart0-default-pins {
+ uart0_tx_pins_default: uart0-tx-default-pins {
pinctrl-single,pins = <
- AM62LX_IOPAD(0x01b4, PIN_INPUT, 0) /* (D13) UART0_RXD */
AM62LX_IOPAD(0x01b8, PIN_OUTPUT, 0) /* (C13) UART0_TXD */
>;
bootph-all;
};
+ uart0_rx_pins_default: uart0-rx-default-pins {
+ pinctrl-single,pins = <
+ AM62LX_IOPAD(0x01b4, PIN_INPUT, 0) /* (D13) UART0_RXD */
+ >;
+ bootph-all;
+ };
+
+ uart0_rx_pins_wakeup: uart0-rx-wakeup-pins {
+ pinctrl-single,pins = <
+ AM62LX_IOPAD(0x01b4, PIN_INPUT | PIN_WKUP_EN, 0) /* (D13) UART0_RXD */
+ >;
+ };
+
usb1_default_pins: usb1-default-pins {
pinctrl-single,pins = <
AM62LX_IOPAD(0x0248, PIN_INPUT | PIN_DS_PULLUD_ENABLE | PIN_DS_PULL_UP, 0) /* (A5) USB1_DRVVBUS */
@@ -328,8 +340,10 @@ &sdhci1 {
};
&uart0 {
- pinctrl-0 = <&uart0_pins_default>;
- pinctrl-names = "default";
+ pinctrl-0 = <&uart0_tx_pins_default>, <&uart0_rx_pins_default>;
+ pinctrl-1 = <&uart0_tx_pins_default>, <&uart0_rx_pins_wakeup>;
+ pinctrl-names = "default", "wakeup";
+ wakeup-source = <&system_deep_sleep>;
status = "okay";
bootph-all;
};
--
2.34.1
More information about the linux-arm-kernel
mailing list