arm: kirkwood: add DT spi0 alias to LaCie boards
authorSimon Guinot <simon.guinot@sequanux.org>
Sun, 28 Jun 2020 17:00:27 +0000 (19:00 +0200)
committerStefan Roese <sr@denx.de>
Thu, 9 Jul 2020 04:51:20 +0000 (06:51 +0200)
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@sequanux.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/dts/kirkwood-d2net-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/kirkwood-is2-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/kirkwood-net2big-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/kirkwood-ns2-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/kirkwood-ns2lite-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/kirkwood-ns2max-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/kirkwood-ns2mini-u-boot.dtsi [new file with mode: 0644]
board/LaCie/net2big_v2/MAINTAINERS
board/LaCie/netspace_v2/MAINTAINERS

diff --git a/arch/arm/dts/kirkwood-d2net-u-boot.dtsi b/arch/arm/dts/kirkwood-d2net-u-boot.dtsi
new file mode 100644 (file)
index 0000000..1f3b185
--- /dev/null
@@ -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 (file)
index 0000000..1f3b185
--- /dev/null
@@ -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 (file)
index 0000000..1f3b185
--- /dev/null
@@ -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 (file)
index 0000000..1f3b185
--- /dev/null
@@ -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 (file)
index 0000000..1f3b185
--- /dev/null
@@ -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 (file)
index 0000000..1f3b185
--- /dev/null
@@ -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 (file)
index 0000000..1f3b185
--- /dev/null
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
+
+/ {
+       aliases {
+               spi0 = &spi0;
+       };
+};
index 8fec703..7046e1b 100644 (file)
@@ -1,6 +1,12 @@
 NET2BIG_V2 BOARD
 M:     Simon Guinot <simon.guinot@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
index 55fd50d..1cc4f71 100644 (file)
@@ -1,14 +1,21 @@
-NETSPACE_V2 BOARD
+NETSPACE_V2 BOARDS
 M:     Simon Guinot <simon.guinot@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