Skip to contentSkip to conversation

rockchip: rk3588-nanopc-t6-lts: Add missing board -u-boot.dtsi

PATCH In review Jonas Karlman 2 participants 2 messages Jan 6, 2025 – Jan 10, 2025 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rockchip: rk3588-nanopc-t6-lts: Add missing board -u-boot.dtsi

The commit 7cec3e701940 ("rockchip: rk3588-nanopc-t6: Add support for NanoPC-T6 LTS") added support for the LTS variant of NanoPC T6. However, a board specific -u-boot.dtsi file was never added.

Due to the missing -u-boot.dtsi file the LTS fdt included in the FIT is never tagged with bootph props.

When ENV_IS_IN_SPI_FLASH is enabled, not enabled in defconfig, the env can successfully load from SPI flash on the non-LTS variant, something that does not work on the LTS variant due to missing bootph-some-ram props in the LTS fdt.

Fix this by adding a LTS -u-boot.dtsi file that just include the non-LTS -u-boot.dtsi file.

Fixes 7cec3e701940 ("rockchip: rk3588-nanopc-t6: Add support for NanoPC-T6 LTS")
---
 arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi   | 3 +++
 board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi
arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi new file +3 -0
new file mode 100644
index 000000000000..b18f958c8a28
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+#include "rk3588-nanopc-t6-u-boot.dtsi"
board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS +1 -2
index 63ff6fafc8d7..27853188e59e 100644
@@ -5,5 +5,4 @@ S:	Maintained
 F:	board/friendlyelec/nanopc-t6-rk3588
 F:	include/configs/nanopc-t6-rk3588.h
 F:	configs/nanopc-t6-rk3588_defconfig
-F:	arch/arm/dts/rk3588-nanopc-t6.dts
-F:	arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi
+F:	arch/arm/dts/rk3588-nanopc-t6*
Signature · 1 line
2.47.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Jonas Karlman

The commit 7cec3e701940 ("rockchip: rk3588-nanopc-t6: Add support for NanoPC-T6 LTS") added support for the LTS variant of NanoPC T6. However, a board specific -u-boot.dtsi file was never added.

Due to the missing -u-boot.dtsi file the LTS fdt included in the FIT is never tagged with bootph props.

When ENV_IS_IN_SPI_FLASH is enabled, not enabled in defconfig, the env can successfully load from SPI flash on the non-LTS variant, something that does not work on the LTS variant due to missing bootph-some-ram props in the LTS fdt.

Quoted 6 lines

Fix this by adding a LTS -u-boot.dtsi file that just include the non-LTS -u-boot.dtsi file.

Fixes 7cec3e701940 ("rockchip: rk3588-nanopc-t6: Add support for NanoPC-T6 LTS")

Thanks,
- Kever

Quoted 26 lines
---
  arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi   | 3 +++
  board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS | 3 +--
  2 files changed, 4 insertions(+), 2 deletions(-)

create mode 100644 arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi

arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi new file +3 -0
new file mode 100644
index 000000000000..b18f958c8a28
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+#include "rk3588-nanopc-t6-u-boot.dtsi"
board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS +1 -2
index 63ff6fafc8d7..27853188e59e 100644
@@ -5,5 +5,4 @@ S:	Maintained
  F:	board/friendlyelec/nanopc-t6-rk3588
  F:	include/configs/nanopc-t6-rk3588.h
  F:	configs/nanopc-t6-rk3588_defconfig
-F:	arch/arm/dts/rk3588-nanopc-t6.dts
-F:	arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi
+F:	arch/arm/dts/rk3588-nanopc-t6*