[U-Boot] [PATCH 2/6] arm: socfpga: fix device trees to work with DM serial

Marek Vasut marex at denx.de
Thu Aug 9 21:43:05 UTC 2018


On 08/09/2018 09:04 PM, Simon Goldschmidt wrote:
> Device trees need to have the serial console device available
> before relocation and require a stdout-path in chosen at least
> for SPL to have a console.
> 
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> ---
> v2: no changes
> 
>  arch/arm/dts/socfpga.dtsi                      | 1 +
>  arch/arm/dts/socfpga_arria5_socdk.dts          | 1 +
>  arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts     | 1 +
>  arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts | 1 +
>  arch/arm/dts/socfpga_cyclone5_de10_nano.dts    | 1 +
>  arch/arm/dts/socfpga_cyclone5_de1_soc.dts      | 1 +
>  arch/arm/dts/socfpga_cyclone5_is1.dts          | 1 +
>  arch/arm/dts/socfpga_cyclone5_socdk.dts        | 1 +
>  arch/arm/dts/socfpga_cyclone5_sockit.dts       | 1 +
>  arch/arm/dts/socfpga_cyclone5_socrates.dts     | 6 ++++++
>  arch/arm/dts/socfpga_cyclone5_sr1500.dts       | 1 +
>  arch/arm/dts/socfpga_cyclone5_vining_fpga.dts  | 1 +
>  12 files changed, 17 insertions(+)
> 
> diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
> index 314449478d..0e5445cd1b 100644
> --- a/arch/arm/dts/socfpga.dtsi
> +++ b/arch/arm/dts/socfpga.dtsi
> @@ -738,6 +738,7 @@
>  			reg-io-width = <4>;
>  			clocks = <&l4_sp_clk>;
>  			clock-frequency = <100000000>;
> +			u-boot,dm-pre-reloc;

This is board-specific, not all boards use uart0 .

>  		};
>  
>  		uart1: serial1 at ffc03000 {
[...]

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list