All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm: dts: bcm283x: Allow UARTs to work before relocation
@ 2020-03-23  3:15 Simon Glass
  2020-03-23  3:15 ` [PATCH v2 2/2] arm: bcm283x: serial: Move ofdata reading to probe() method Simon Glass
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Simon Glass @ 2020-03-23  3:15 UTC (permalink / raw)
  To: u-boot

At present the pinctrl nodes are not enabled in pre-relocation U-Boot so
the UARTs do not correctly select the pinconfig to enable the UART pins.
Fix this so that the U-Boot banner is printed.

This fixes serial output on rpi_3b_32b with the following config.txt
options:

   enable_uart=1
   gpu_freq=250

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 9821636b64 (bcm2835_pinctrl: Probe pre-reloc)
---

Changes in v2:
- Update commit message

 arch/arm/dts/bcm283x-u-boot.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/bcm283x-u-boot.dtsi b/arch/arm/dts/bcm283x-u-boot.dtsi
index 36548dad62..68d03627f4 100644
--- a/arch/arm/dts/bcm283x-u-boot.dtsi
+++ b/arch/arm/dts/bcm283x-u-boot.dtsi
@@ -19,3 +19,11 @@
 &gpio {
 	u-boot,dm-pre-reloc;
 };
+
+&uart0_gpio14 {
+	u-boot,dm-pre-reloc;
+};
+
+&uart1_gpio14 {
+	u-boot,dm-pre-reloc;
+};
-- 
2.25.1.696.g5e7596f4ac-goog

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-06-02 13:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23  3:15 [PATCH v2 1/2] arm: dts: bcm283x: Allow UARTs to work before relocation Simon Glass
2020-03-23  3:15 ` [PATCH v2 2/2] arm: bcm283x: serial: Move ofdata reading to probe() method Simon Glass
2020-05-04 15:08   ` Matthias Brugger
2020-04-15  2:23 ` [PATCH v2 1/2] arm: dts: bcm283x: Allow UARTs to work before relocation Simon Glass
2020-04-15 19:59   ` Tom Rini
2020-04-29 20:11     ` Simon Glass
2020-04-30  9:37       ` Matthias Brugger
2020-05-14  8:56     ` Matthias Brugger
2020-05-14 13:49       ` Simon Glass
2020-06-02 13:46         ` Simon Glass
2020-05-04 15:08 ` Matthias Brugger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.