From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Brugger Date: Mon, 4 May 2020 17:08:47 +0200 Subject: [PATCH v2 1/2] arm: dts: bcm283x: Allow UARTs to work before relocation In-Reply-To: <20200322211547.v2.1.I8dcc15fe45e2ac98b412cfdc230e469d429e628b@changeid> References: <20200322211547.v2.1.I8dcc15fe45e2ac98b412cfdc230e469d429e628b@changeid> Message-ID: <8d1dec35-4cb1-f340-d7fe-76e7cd7defdd@suse.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 23/03/2020 04:15, Simon Glass wrote: > 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 > Fixes: 9821636b64 (bcm2835_pinctrl: Probe pre-reloc) Pushed not to rpi-next, sorry for the delay and thanks for the patch :) > --- > > 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; > +}; >