]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: bcm283x: Allow UARTs to work before relocation
authorSimon Glass <sjg@chromium.org>
Mon, 23 Mar 2020 03:15:52 +0000 (21:15 -0600)
committerMatthias Brugger <mbrugger@suse.com>
Tue, 12 May 2020 08:59:12 +0000 (10:59 +0200)
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>
arch/arm/dts/bcm283x-u-boot.dtsi

index 36548dad62c0b12aa63f8a475c56d123fc8af565..68d03627f4ce8f17a6c4a4fa301024635f2056c7 100644 (file)
 &gpio {
        u-boot,dm-pre-reloc;
 };
+
+&uart0_gpio14 {
+       u-boot,dm-pre-reloc;
+};
+
+&uart1_gpio14 {
+       u-boot,dm-pre-reloc;
+};