mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
6cbb41432d
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>
29 lines
404 B
Text
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;
|
|
};
|