[PATCH 4/4] board: asus: transformer: add DTSI file for enabling UART over uSD slot
Artur Kowalski
arturkow2000 at gmail.com
Tue Mar 18 09:30:47 CET 2025
It is required to set
CONFIG_DEVICE_TREE_INCLUDES="tegra20-asus-transformer-uart-usd.dtsi"
if CONFIG_TEGRA_ENABLE_UARTA (and only if) is enabled for U-Boot to
boot properly, otherwise only SPL will work, but U-Boot when trying
to use UART that wasn't enabled by SPL.
Signed-off-by: Artur Kowalski <arturkow2000 at gmail.com>
---
.../tegra20-asus-transformer-uart-usd.dtsi | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 arch/arm/dts/tegra20-asus-transformer-uart-usd.dtsi
diff --git a/arch/arm/dts/tegra20-asus-transformer-uart-usd.dtsi b/arch/arm/dts/tegra20-asus-transformer-uart-usd.dtsi
new file mode 100644
index 00000000000..accb086774c
--- /dev/null
+++ b/arch/arm/dts/tegra20-asus-transformer-uart-usd.dtsi
@@ -0,0 +1,31 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
+
+/ {
+ chosen {
+ stdout-path = &uarta;
+ };
+
+ serial at 70006300 {
+ status = "disabled";
+ };
+
+ serial at 70006000 {
+ status = "okay";
+ clock-frequency = <216000000>;
+ };
+
+ sdhci at c8000400 {
+ status = "disabled";
+ };
+
+ pinmux at 70000014 {
+ pinmux {
+ /delete-node/ sdb;
+
+ dbguart {
+ nvidia,pins = "sdb", "sdd";
+ nvidia,function = "uarta";
+ };
+ };
+ };
+};
--
2.48.1
More information about the U-Boot
mailing list