Skip to contentSkip to conversation

arm64: dts: k3-am625-verdin: enable Verdin UART2

PATCH Applied Parth Pancholi 3 participants 5 messages Nov 21, 2023 – Dec 4, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: k3-am625-verdin: enable Verdin UART2

From: Parth Pancholi <[email protected]>

Enable UART2 for AM62 based SOM's Verdin carrier boards Dahlia, Development and Yavia.
Earlier Verdin UART2 was reserved by R5 DM firmware which can be now configured using boardcfg during U-boot compilation in the latest TI SDKs. In a default config, no one writes to this UART.

---

 arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi | 3 +--
 arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi    | 3 +--
 arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi  | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi +1 -2
index 013357d17d48..bf6d27e70bc4 100644
@@ -214,6 +214,5 @@ &verdin_gpio_keys {
 
 /* Verdin UART_2 */
 &wkup_uart0 {
-	/* FIXME: WKUP UART0 is used by DM firmware */
-	status = "reserved";
+	status = "okay";
 };
arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi +1 -2
index 6701cb8974bb..680071688dcb 100644
@@ -235,6 +235,5 @@ &verdin_gpio_keys {
 
 /* Verdin UART_2 */
 &wkup_uart0 {
-	/* FIXME: WKUP UART0 is used by DM firmware */
-	status = "reserved";
+	status = "okay";
 };
arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi +1 -2
index c685df7deaee..997dfafd27eb 100644
@@ -207,6 +207,5 @@ &verdin_gpio_keys {
 
 /* Verdin UART_2 */
 &wkup_uart0 {
-	/* FIXME: WKUP UART0 is used by DM firmware */
-	status = "reserved";
+	status = "okay";
 };
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 56 lines · Parth Pancholi

From: Parth Pancholi <[email protected]>

Enable UART2 for AM62 based SOM's Verdin carrier boards Dahlia, Development and Yavia.
Earlier Verdin UART2 was reserved by R5 DM firmware which can be now configured using boardcfg during U-boot compilation in the latest TI SDKs. In a default config, no one writes to this UART.

---

 arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi | 3 +--
 arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi    | 3 +--
 arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi  | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi +1 -2
index 013357d17d48..bf6d27e70bc4 100644
@@ -214,6 +214,5 @@ &verdin_gpio_keys {
 
 /* Verdin UART_2 */
 &wkup_uart0 {
-	/* FIXME: WKUP UART0 is used by DM firmware */
-	status = "reserved";
+	status = "okay";
 };
arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi +1 -2
index 6701cb8974bb..680071688dcb 100644
@@ -235,6 +235,5 @@ &verdin_gpio_keys {
 
 /* Verdin UART_2 */
 &wkup_uart0 {
-	/* FIXME: WKUP UART0 is used by DM firmware */
-	status = "reserved";
+	status = "okay";
 };
arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi +1 -2
index c685df7deaee..997dfafd27eb 100644
@@ -207,6 +207,5 @@ &verdin_gpio_keys {
 
 /* Verdin UART_2 */
 &wkup_uart0 {
-	/* FIXME: WKUP UART0 is used by DM firmware */
-	status = "reserved";
+	status = "okay";
 };
Signature · 1 line
2.34.1

Do the &pinctrl_wkup_uart0 in verdin.dtsi hold good through these variants?

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#2 lore raw

Hello Nishanth,

Quoted 13 lines · Nishanth Menon
Quoted 9 lines · Parth Pancholi

/* Verdin UART_2 */
&wkup_uart0 {

arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi +1 -2
-	/* FIXME: WKUP UART0 is used by DM firmware */
-	status = "reserved";
+	status = "okay";
 };
Signature · 1 line
2.34.1

Do the &pinctrl_wkup_uart0 in verdin.dtsi hold good through these variants?

Yes.

Let me add a little bit of context.

In general the way the Verdin AM62 (and Toradex SOM) is designed is that we have a standard pinmuxing on the module edge connector (SODIMM) and normally the carrier board that is mated with just implements it. It's absolutely possible to redefine it all, but to maximize compatibility across the family what we do at most is to reconfigure some pins as GPIO.

Francesco

Reviewed-by on v1 1/1
#3 lore raw
In reply to Parth Pancholi
Quoted 9 lines · Parth Pancholi

From: Parth Pancholi <[email protected]>

Enable UART2 for AM62 based SOM's Verdin carrier boards Dahlia, Development and Yavia.
Earlier Verdin UART2 was reserved by R5 DM firmware which can be now configured using boardcfg during U-boot compilation in the latest TI SDKs. In a default config, no one writes to this UART.

Francesco

maintainer Applied
#4 lore raw
In reply to Parth Pancholi

Hi Parth Pancholi,

Quoted 8 lines · Parth Pancholi

Enable UART2 for AM62 based SOM's Verdin carrier boards Dahlia, Development and Yavia.
Earlier Verdin UART2 was reserved by R5 DM firmware which can be now configured using boardcfg during U-boot compilation in the latest TI SDKs. In a default config, no one writes to this UART.

[...]

I have applied the following to branch ti-k3-dts-next on [1]. Thank you!

[1/1] arm64: dts: k3-am625-verdin: enable Verdin UART2

      commit: 26e0124683c000c2a197204e0fdc68e553298bff

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D