[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251230-b4-uart-daisy-chain-dts-v2-5-fa5257ec54bb@ti.com>
Date: Tue, 30 Dec 2025 20:38:24 -0600
From: Kendall Willis <k-willis@...com>
To: Nishanth Menon <nm@...com>, Vignesh Raghavendra <vigneshr@...com>, "Tero
Kristo" <kristo@...nel.org>, Rob Herring <robh@...nel.org>, "Krzysztof
Kozlowski" <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>
CC: <d-gole@...com>, <vishalm@...com>, <sebin.francis@...com>,
<msp@...libre.com>, <khilman@...libre.com>, <a-kaur@...com>,
<s-kochidanadu@...com>, <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>, Kendall Willis
<k-willis@...com>
Subject: [PATCH v2 5/5] arm64: dts: ti: k3-am62l3-evm: Enable Main UART
wakeup
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@...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
Powered by blists - more mailing lists