diff mbox series

[U-Boot,v2,3/3] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

Message ID 20190724150959.22918-4-igor.opaniuk@gmail.com
State Changes Requested
Delegated to: Stefano Babic
Headers show
Series imx6ull: Fix missing initial output from UART | expand

Commit Message

Igor Opaniuk July 24, 2019, 3:09 p.m. UTC
From: Igor Opaniuk <igor.opaniuk@toradex.com>

Add u-boot,dm-pre-reloc properties for uart pinmux configuration
nodes, which enables UART as early as possible (before relocation).

Without this we miss almost the half of output (U-boot version,
CPU defails, Reset cause, DRAM details etc.).

Fixes: cd69e8ef9b ("colibri-imx6ull: migrate pinctrl and regulators to dtb/dm")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
---

 arch/arm/dts/imx6ull-colibri-u-boot.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Fabio Estevam July 24, 2019, 3:31 p.m. UTC | #1
On Wed, Jul 24, 2019 at 12:10 PM Igor Opaniuk <igor.opaniuk@gmail.com> wrote:
>
> From: Igor Opaniuk <igor.opaniuk@toradex.com>
>
> Add u-boot,dm-pre-reloc properties for uart pinmux configuration
> nodes, which enables UART as early as possible (before relocation).
>
> Without this we miss almost the half of output (U-boot version,
> CPU defails, Reset cause, DRAM details etc.).
>
> Fixes: cd69e8ef9b ("colibri-imx6ull: migrate pinctrl and regulators to dtb/dm")
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Oleksandr Suvorov July 25, 2019, 6:16 a.m. UTC | #2
On Wed, Jul 24, 2019 at 6:12 PM Igor Opaniuk <igor.opaniuk@gmail.com> wrote:
>
> From: Igor Opaniuk <igor.opaniuk@toradex.com>
>
> Add u-boot,dm-pre-reloc properties for uart pinmux configuration
> nodes, which enables UART as early as possible (before relocation).
>
> Without this we miss almost the half of output (U-boot version,
> CPU defails, Reset cause, DRAM details etc.).
>
> Fixes: cd69e8ef9b ("colibri-imx6ull: migrate pinctrl and regulators to dtb/dm")
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>

Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>

> ---
>
>  arch/arm/dts/imx6ull-colibri-u-boot.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/dts/imx6ull-colibri-u-boot.dtsi b/arch/arm/dts/imx6ull-colibri-u-boot.dtsi
> index 7d68fb178e..5cef4f3efc 100644
> --- a/arch/arm/dts/imx6ull-colibri-u-boot.dtsi
> +++ b/arch/arm/dts/imx6ull-colibri-u-boot.dtsi
> @@ -2,3 +2,11 @@
>  /*
>   * Copyright 2019 Toradex AG
>   */
> +
> +&pinctrl_uart1 {
> +       u-boot,dm-pre-reloc;
> +};
> +
> +&pinctrl_uart1_ctrl1 {
> +       u-boot,dm-pre-reloc;
> +};
> --
> 2.17.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
diff mbox series

Patch

diff --git a/arch/arm/dts/imx6ull-colibri-u-boot.dtsi b/arch/arm/dts/imx6ull-colibri-u-boot.dtsi
index 7d68fb178e..5cef4f3efc 100644
--- a/arch/arm/dts/imx6ull-colibri-u-boot.dtsi
+++ b/arch/arm/dts/imx6ull-colibri-u-boot.dtsi
@@ -2,3 +2,11 @@ 
 /*
  * Copyright 2019 Toradex AG
  */
+
+&pinctrl_uart1 {
+	u-boot,dm-pre-reloc;
+};
+
+&pinctrl_uart1_ctrl1 {
+	u-boot,dm-pre-reloc;
+};