[PATCH v2 1/5] arm: kirkwood: add DT spi0 alias to LaCie boards
Stefan Roese
sr at denx.de
Mon Jun 29 08:15:42 CEST 2020
On 28.06.20 19:00, Simon Guinot wrote:
> The spi0 alias is needed by the environment code to retrieve the SPI
> flash. This patch adds some -u-boot.dtsi files, providing the spi0
> aliases, for all the following Kirkwood-based LaCie boards:
>
> - d2 Network v2
> - Internet Space v2
> - 2Big Network v2
> - Network Space v2
> - Network Space Lite v2
> - Network Space Max v2
> - Network Space Mini v2
>
> Note that this -u-boot.dtsi files will be removed as soon as the spi0
> aliases will be available in the upstream Linux dtsi files.
>
> Signed-off-by: Simon Guinot <simon.guinot at sequanux.org>
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
> ---
> arch/arm/dts/kirkwood-d2net-u-boot.dtsi | 7 +++++++
> arch/arm/dts/kirkwood-is2-u-boot.dtsi | 7 +++++++
> arch/arm/dts/kirkwood-net2big-u-boot.dtsi | 7 +++++++
> arch/arm/dts/kirkwood-ns2-u-boot.dtsi | 7 +++++++
> arch/arm/dts/kirkwood-ns2lite-u-boot.dtsi | 7 +++++++
> arch/arm/dts/kirkwood-ns2max-u-boot.dtsi | 7 +++++++
> arch/arm/dts/kirkwood-ns2mini-u-boot.dtsi | 7 +++++++
> board/LaCie/net2big_v2/MAINTAINERS | 6 ++++++
> board/LaCie/netspace_v2/MAINTAINERS | 21 ++++++++++++++-------
> 9 files changed, 69 insertions(+), 7 deletions(-)
> create mode 100644 arch/arm/dts/kirkwood-d2net-u-boot.dtsi
> create mode 100644 arch/arm/dts/kirkwood-is2-u-boot.dtsi
> create mode 100644 arch/arm/dts/kirkwood-net2big-u-boot.dtsi
> create mode 100644 arch/arm/dts/kirkwood-ns2-u-boot.dtsi
> create mode 100644 arch/arm/dts/kirkwood-ns2lite-u-boot.dtsi
> create mode 100644 arch/arm/dts/kirkwood-ns2max-u-boot.dtsi
> create mode 100644 arch/arm/dts/kirkwood-ns2mini-u-boot.dtsi
>
> diff --git a/arch/arm/dts/kirkwood-d2net-u-boot.dtsi b/arch/arm/dts/kirkwood-d2net-u-boot.dtsi
> new file mode 100644
> index 000000000000..1f3b1854795b
> --- /dev/null
> +++ b/arch/arm/dts/kirkwood-d2net-u-boot.dtsi
> @@ -0,0 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +/ {
> + aliases {
> + spi0 = &spi0;
> + };
> +};
> diff --git a/arch/arm/dts/kirkwood-is2-u-boot.dtsi b/arch/arm/dts/kirkwood-is2-u-boot.dtsi
> new file mode 100644
> index 000000000000..1f3b1854795b
> --- /dev/null
> +++ b/arch/arm/dts/kirkwood-is2-u-boot.dtsi
> @@ -0,0 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +/ {
> + aliases {
> + spi0 = &spi0;
> + };
> +};
> diff --git a/arch/arm/dts/kirkwood-net2big-u-boot.dtsi b/arch/arm/dts/kirkwood-net2big-u-boot.dtsi
> new file mode 100644
> index 000000000000..1f3b1854795b
> --- /dev/null
> +++ b/arch/arm/dts/kirkwood-net2big-u-boot.dtsi
> @@ -0,0 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +/ {
> + aliases {
> + spi0 = &spi0;
> + };
> +};
> diff --git a/arch/arm/dts/kirkwood-ns2-u-boot.dtsi b/arch/arm/dts/kirkwood-ns2-u-boot.dtsi
> new file mode 100644
> index 000000000000..1f3b1854795b
> --- /dev/null
> +++ b/arch/arm/dts/kirkwood-ns2-u-boot.dtsi
> @@ -0,0 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +/ {
> + aliases {
> + spi0 = &spi0;
> + };
> +};
> diff --git a/arch/arm/dts/kirkwood-ns2lite-u-boot.dtsi b/arch/arm/dts/kirkwood-ns2lite-u-boot.dtsi
> new file mode 100644
> index 000000000000..1f3b1854795b
> --- /dev/null
> +++ b/arch/arm/dts/kirkwood-ns2lite-u-boot.dtsi
> @@ -0,0 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +/ {
> + aliases {
> + spi0 = &spi0;
> + };
> +};
> diff --git a/arch/arm/dts/kirkwood-ns2max-u-boot.dtsi b/arch/arm/dts/kirkwood-ns2max-u-boot.dtsi
> new file mode 100644
> index 000000000000..1f3b1854795b
> --- /dev/null
> +++ b/arch/arm/dts/kirkwood-ns2max-u-boot.dtsi
> @@ -0,0 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +/ {
> + aliases {
> + spi0 = &spi0;
> + };
> +};
> diff --git a/arch/arm/dts/kirkwood-ns2mini-u-boot.dtsi b/arch/arm/dts/kirkwood-ns2mini-u-boot.dtsi
> new file mode 100644
> index 000000000000..1f3b1854795b
> --- /dev/null
> +++ b/arch/arm/dts/kirkwood-ns2mini-u-boot.dtsi
> @@ -0,0 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +/ {
> + aliases {
> + spi0 = &spi0;
> + };
> +};
> diff --git a/board/LaCie/net2big_v2/MAINTAINERS b/board/LaCie/net2big_v2/MAINTAINERS
> index 8fec70315f5d..7046e1b2c5c7 100644
> --- a/board/LaCie/net2big_v2/MAINTAINERS
> +++ b/board/LaCie/net2big_v2/MAINTAINERS
> @@ -1,6 +1,12 @@
> NET2BIG_V2 BOARD
> M: Simon Guinot <simon.guinot at sequanux.org>
> S: Maintained
> +F: arch/arm/dts/kirkwood-d2net.dts
> +F: arch/arm/dts/kirkwood-d2net-u-boot.dtsi
> +F: arch/arm/dts/kirkwood-d2net.dtsi
> +F: arch/arm/dts/kirkwood-net2big.dts
> +F: arch/arm/dts/kirkwood-net2big-u-boot.dtsi
> +F: arch/arm/dts/kirkwood-netxbig.dtsi
> F: board/LaCie/net2big_v2/
> F: include/configs/lacie_kw.h
> F: configs/d2net_v2_defconfig
> diff --git a/board/LaCie/netspace_v2/MAINTAINERS b/board/LaCie/netspace_v2/MAINTAINERS
> index 55fd50d4eb1b..1cc4f7108b6b 100644
> --- a/board/LaCie/netspace_v2/MAINTAINERS
> +++ b/board/LaCie/netspace_v2/MAINTAINERS
> @@ -1,14 +1,21 @@
> -NETSPACE_V2 BOARD
> +NETSPACE_V2 BOARDS
> M: Simon Guinot <simon.guinot at sequanux.org>
> S: Maintained
> +F: arch/arm/dts/kirkwood-is2.dts
> +F: arch/arm/dts/kirkwood-is2-u-boot.dtsi
> +F: arch/arm/dts/kirkwood-ns2-common.dtsi
> +F: arch/arm/dts/kirkwood-ns2.dts
> +F: arch/arm/dts/kirkwood-ns2lite.dts
> +F: arch/arm/dts/kirkwood-ns2lite-u-boot.dtsi
> +F: arch/arm/dts/kirkwood-ns2max.dts
> +F: arch/arm/dts/kirkwood-ns2max-u-boot.dtsi
> +F: arch/arm/dts/kirkwood-ns2mini.dts
> +F: arch/arm/dts/kirkwood-ns2mini-u-boot.dtsi
> +F: arch/arm/dts/kirkwood-ns2-u-boot.dtsi
> F: board/LaCie/netspace_v2/
> F: include/configs/lacie_kw.h
> F: configs/inetspace_v2_defconfig
> -F: configs/netspace_max_v2_defconfig
> -F: configs/netspace_v2_defconfig
> -
> -NETSPACE_LITE_V2 BOARD
> -#M: -
> -S: Maintained
> F: configs/netspace_lite_v2_defconfig
> +F: configs/netspace_max_v2_defconfig
> F: configs/netspace_mini_v2_defconfig
> +F: configs/netspace_v2_defconfig
>
Viele Grüße,
Stefan
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
More information about the U-Boot
mailing list