public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Matthias Brugger <mbrugger@suse.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 1/2] arm: dts: bcm283x: Allow UARTs to work before relocation
Date: Mon, 4 May 2020 17:08:47 +0200	[thread overview]
Message-ID: <8d1dec35-4cb1-f340-d7fe-76e7cd7defdd@suse.com> (raw)
In-Reply-To: <20200322211547.v2.1.I8dcc15fe45e2ac98b412cfdc230e469d429e628b@changeid>



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 <sjg@chromium.org>
> 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;
> +};
> 

      parent reply	other threads:[~2020-05-04 15:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23  3:15 [PATCH v2 1/2] arm: dts: bcm283x: Allow UARTs to work before relocation Simon Glass
2020-03-23  3:15 ` [PATCH v2 2/2] arm: bcm283x: serial: Move ofdata reading to probe() method Simon Glass
2020-05-04 15:08   ` Matthias Brugger
2020-04-15  2:23 ` [PATCH v2 1/2] arm: dts: bcm283x: Allow UARTs to work before relocation Simon Glass
2020-04-15 19:59   ` Tom Rini
2020-04-29 20:11     ` Simon Glass
2020-04-30  9:37       ` Matthias Brugger
2020-05-14  8:56     ` Matthias Brugger
2020-05-14 13:49       ` Simon Glass
2020-06-02 13:46         ` Simon Glass
2020-05-04 15:08 ` Matthias Brugger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d1dec35-4cb1-f340-d7fe-76e7cd7defdd@suse.com \
    --to=mbrugger@suse.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox