u-boot/arch/arm/dts/bcm283x-u-boot.dtsi
Simon Glass 6cbb41432d arm: dts: bcm283x: Allow UARTs to work before relocation
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)
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
2020-05-12 10:59:12 +02:00

29 lines
404 B
Text

// SPDX-License-Identifier: GPL-2.0+
/*
* U-Boot addition to keep baudrate set by firmware
* and also initialize before relocation.
*
* (C) Copyright 2016 Fabian Vogt <fvogt@suse.com>
*/
&uart0 {
skip-init;
u-boot,dm-pre-reloc;
};
&uart1 {
skip-init;
u-boot,dm-pre-reloc;
};
&gpio {
u-boot,dm-pre-reloc;
};
&uart0_gpio14 {
u-boot,dm-pre-reloc;
};
&uart1_gpio14 {
u-boot,dm-pre-reloc;
};