mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-29 05:18:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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>
30 lines
404 B
Plaintext
30 lines
404 B
Plaintext
// 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;
|
|
};
|