[U-Boot] [PATCH v4] ARM: am335x: Add phyCORE AM335x R2 support

Marek Vasut marex at denx.de
Fri May 3 11:40:53 UTC 2019


On 5/3/19 1:28 PM, Niel Fourie wrote:
> Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec
> phyBOARD-Wega AM335x.
> 
> CPU  : AM335X-GP rev 2.1
> Model: Phytec AM335x phyBOARD-WEGA
> DRAM:  256 MiB
> NAND:  256 MiB
> MMC:   OMAP SD/MMC: 0
> eth0: ethernet at 4a100000
> 
> Working:
>  - Eth0
>  - i2C
>  - MMC/SD
>  - NAND
>  - UART
>  - USB (host)
> 
> Device trees were taken from Linux mainline:
> commit 37624b58542fb9f2 ("Linux 5.1-rc7")
> 
> Signed-off-by: Niel Fourie <lusus at denx.de>

Changelog is missing.

[...]

> diff --git a/arch/arm/dts/am33xx-u-boot.dtsi b/arch/arm/dts/am33xx-u-boot.dtsi
> index 78f5e2c4d3..a58734e441 100644
> --- a/arch/arm/dts/am33xx-u-boot.dtsi
> +++ b/arch/arm/dts/am33xx-u-boot.dtsi
> @@ -6,6 +6,17 @@
>  
>  / {
>  	ocp {
> +		u-boot,dm-spl;
>  		u-boot,dm-pre-reloc;
>  	};
> +
> +	memory at 80000000 {
> +		u-boot,dm-spl;
> +		u-boot,dm-pre-reloc;
> +	};
> +};
> +
> +&scm {
> +	u-boot,dm-spl;
> +	u-boot,dm-pre-reloc;
>  };

Since this affects other boards, shouldn't this be a separate patch ?
And then clean up arch/arm/dts/am335x-shc-u-boot.dtsi and others, so we
won't have duplicate nodes there.

[...]

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list