Commit bdd2e317 authored by Marek Belisko's avatar Marek Belisko
Browse files

linux-raspberrypi: Use UART2 for serial console


Signed-off-by: default avatarMarek Belisko <marek.belisko@open-nandra.com>
parent 2000808f
From 116ce9d16e4d9c3642b051bd2826f6540f70af15 Mon Sep 17 00:00:00 2001
From: Marek Belisko <marek.belisko@open-nandra.com>
Date: Tue, 22 Jun 2021 13:52:28 +0200
Subject: [PATCH] dts: bcm2711-rpi-4: Use uart2 for debugging purposes
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
index 21b20e3..e955044 100644
--- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
+++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
@@ -211,6 +211,12 @@
status = "okay";
};
+&uart2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart2_pins>;
+ status = "okay";
+};
+
&vchiq {
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
};
@@ -239,7 +245,7 @@
aliases {
serial0 = &uart1;
- serial1 = &uart0;
+ serial1 = &uart2;
mmc0 = &emmc2;
mmc1 = &mmcnr;
mmc2 = &sdhost;
--
2.7.4
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://0001-dts-bcm2711-rpi-4-Use-uart2-for-debugging-purposes.patch \
"
CMDLINE_append = " console=ttyAMA1,115200N8 "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment