diff mbox series

[v2,1/5] arm: kirkwood: add DT spi0 alias to LaCie boards

Message ID 20200628170031.441930-2-simon.guinot@sequanux.org
State Accepted
Commit ca6f44ec19b684251f033e2198f4cde4dc0a6006
Headers show
Series Convert LaCie boards to use DM drivers | expand

Commit Message

Simon Guinot June 28, 2020, 5 p.m. UTC
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>
---
 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

Comments

Tom Rini June 28, 2020, 5:29 p.m. UTC | #1
On Sun, Jun 28, 2020 at 07:00:27PM +0200, 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: Tom Rini <trini at konsulko.com>
Stefan Roese June 29, 2020, 6:15 a.m. UTC | #2
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
diff mbox series

Patch

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