[PATCH 03/10] ARM: dts: socfpga: add Mercury+ AA1 for u-boot dts

Marek Vasut marex at denx.de
Mon Oct 14 19:47:23 CEST 2024


On 10/13/24 4:32 PM, Lothar Rubusch wrote:

[...]

> diff --git a/arch/arm/dts/socfpga_arria10_enclustra_mercury_aa1.dts b/arch/arm/dts/socfpga_arria10_enclustra_mercury_aa1.dts
> new file mode 100644
> index 0000000000..1b29ab9358
> --- /dev/null
> +++ b/arch/arm/dts/socfpga_arria10_enclustra_mercury_aa1.dts
> @@ -0,0 +1,86 @@
> +// SPDX-License-Identifier: GPL-2.0+ OR MIT
> +/*
> + * Copyright (C) 2024 Enclustra GmbH - https://www.enclustra.com
> + */
> +
> +/dts-v1/;
> +
> +/* The arria10 family */
> +#include "socfpga/socfpga_arria10_mercury_aa1.dtsi"
> +
> +/ {
> +	aliases {
> +		ethernet0 = &gmac0;
> +		serial0 = &uart0;
> +		serial1 = &uart1;
> +		i2c0 = &i2c1;
> +		i2c1 = &i2c0;
> +		spi0 = &qspi;
> +	};
> +};
> +
> +&qspi {
> +	bootph-all;
> +	status = "okay";
> +	flash0: s25fl512s at 0 {
> +		bootph-all;
> +
> +		cdns,page-size = <256>;
> +		cdns,block-size = <16>;
> +
> +		cdns,tshsl-ns = <200>;
> +		cdns,tsd2d-ns = <255>;
> +		cdns,tchsh-ns = <20>;
> +		cdns,tslch-ns = <20>;
> +	};
> +};
> +
> +/* Carrier board support */
> +#if IS_ENABLED(CONFIG_ENCLUSTRA_PE1)
> +# include "socfpga/socfpga_enclustra_mercury_pe1.dtsi"
> +#elif IS_ENABLED(CONFIG_ENCLUSTRA_PE3)
> +# include "socfpga/socfpga_enclustra_mercury_pe3.dtsi"
> +#elif IS_ENABLED(CONFIG_ENCLUSTRA_ST1)
> +# include "socfpga/socfpga_enclustra_mercury_st1.dtsi"
> +#endif

Can this be moved to socfpga_arria10_mercury_aa1-u-boot.dtsi instead , 
as this is likely not going to be part of the upstream 
socfpga_arria10_mercury_aa1.dts ?

[...]

> diff --git a/board/enclustra/mercury_aa1/MAINTAINERS b/board/enclustra/mercury_aa1/MAINTAINERS
> index 80fcda639a..118968126a 100644
> --- a/board/enclustra/mercury_aa1/MAINTAINERS
> +++ b/board/enclustra/mercury_aa1/MAINTAINERS
> @@ -1,6 +1,8 @@
>   Enclustra Mercury+ AA1
>   M:	Lothar Rubusch <l.rubusch at gmail.com>
>   S:	Maintained
> +F:	arch/arm/dts/socfpga_arria10_enclustra_mercury_aa1.dts
> +F:	arch/arm/dts/socfpga_arria10_mercury_aa1_handoff.h

Are the F:s needed with the N:s below ?

>   F:	board/enclustra/mercury_aa1/
>   F:	board/enclustra/common/
>   F:	configs/socfpga_enclustra_mercury_aa1_defconfig

[...]


More information about the U-Boot mailing list