]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
xilinx: mbv: Use separate DTB for binman nodes
authorMichal Simek <michal.simek@amd.com>
Tue, 22 Jul 2025 11:03:46 +0000 (13:03 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 14 Aug 2025 06:32:00 +0000 (14:32 +0800)
The commit d92fdb60677b ("binman: Add option for pointing to separate
description") added support for separating binman description to own file
not the be the part of DT for OS.
The main reason is that binman is not passing dt schema validation that's
why want to keep it separated.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Acked-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/dts/Makefile
arch/riscv/dts/xilinx-binman.dts [new file with mode: 0644]
arch/riscv/dts/xilinx-mbv32.dts
arch/riscv/dts/xilinx-mbv64.dts
configs/xilinx_mbv32_defconfig
configs/xilinx_mbv32_smode_defconfig
configs/xilinx_mbv64_defconfig
configs/xilinx_mbv64_smode_defconfig

index 2b10c2d6c019a254278692b545aa91a6a2de399d..68dfe9ce56d34b7c3f37b63bbb684ee37799fa75 100644 (file)
@@ -14,6 +14,7 @@ dtb-$(CONFIG_TARGET_SIPEED_MAIX) += k210-maix-bit.dtb
 dtb-$(CONFIG_TARGET_TH1520_LPI4A) += th1520-lichee-pi-4a.dtb
 dtb-$(CONFIG_TARGET_XILINX_MBV) += xilinx-mbv32.dtb
 dtb-$(CONFIG_TARGET_XILINX_MBV) += xilinx-mbv64.dtb
+dtb-$(CONFIG_TARGET_XILINX_MBV) += xilinx-binman.dtb
 dtb-$(CONFIG_TARGET_ASPEED_AST2700_IBEX) += ast2700-ibex.dtb
 
 include $(srctree)/scripts/Makefile.dts
diff --git a/arch/riscv/dts/xilinx-binman.dts b/arch/riscv/dts/xilinx-binman.dts
new file mode 100644 (file)
index 0000000..715080e
--- /dev/null
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * binman file for AMD MicroBlaze V
+ *
+ * (C) Copyright 2025, Advanced Micro Devices, Inc.
+ *
+ * Michal Simek <michal.simek@amd.com>
+ */
+
+/dts-v1/;
+
+#include "binman.dtsi"
index b426510f34342547c307df3873fdf9be2e1a510c..f7a3e076fd50b383ed0a4befba27f43e7dbc6555 100644 (file)
@@ -9,8 +9,6 @@
 
 /dts-v1/;
 
-#include "binman.dtsi"
-
 / {
        #address-cells = <1>;
        #size-cells = <1>;
index 3762def29f9a8cd164c2f66c165e2523288955e3..e6235ed2f525a86fb3e5fb40fd95b12a0ad6675e 100644 (file)
@@ -9,8 +9,6 @@
 
 /dts-v1/;
 
-#include "binman.dtsi"
-
 / {
        #address-cells = <2>;
        #size-cells = <2>;
index a6268dd1dde7830e031e4752e4d75e17540eae35..e3341179a68291a1c207392da115a260c2130a42 100644 (file)
@@ -41,5 +41,6 @@ CONFIG_DEBUG_UART_SKIP_INIT=y
 CONFIG_XILINX_UARTLITE=y
 CONFIG_XILINX_TIMER=y
 # CONFIG_BINMAN_FDT is not set
+CONFIG_BINMAN_DTB="./arch/riscv/dts/xilinx-binman.dtb"
 CONFIG_PANIC_HANG=y
 CONFIG_SPL_GZIP=y
index 2073bc7109246f743a92fe095673ce55131e803a..c95b44973952cb476f10c1dfdb2e37d6c773a692 100644 (file)
@@ -45,5 +45,6 @@ CONFIG_XILINX_UARTLITE=y
 # CONFIG_RISCV_TIMER is not set
 CONFIG_XILINX_TIMER=y
 # CONFIG_BINMAN_FDT is not set
+CONFIG_BINMAN_DTB="./arch/riscv/dts/xilinx-binman.dtb"
 CONFIG_PANIC_HANG=y
 CONFIG_SPL_GZIP=y
index 3bedec95b77b5cdecddfeca2850f821864ddf9d6..a3cc1a5669e5bc918a65d4a923c5818f8ee1c193 100644 (file)
@@ -42,5 +42,6 @@ CONFIG_DEBUG_UART_SKIP_INIT=y
 CONFIG_XILINX_UARTLITE=y
 CONFIG_XILINX_TIMER=y
 # CONFIG_BINMAN_FDT is not set
+CONFIG_BINMAN_DTB="./arch/riscv/dts/xilinx-binman.dtb"
 CONFIG_PANIC_HANG=y
 CONFIG_SPL_GZIP=y
index e45e4e638bbd18e69cdd75d5f76b426bc5ddb05f..3d49670c60c4177d36eb059489ce7bdba4543bf0 100644 (file)
@@ -46,5 +46,6 @@ CONFIG_XILINX_UARTLITE=y
 # CONFIG_RISCV_TIMER is not set
 CONFIG_XILINX_TIMER=y
 # CONFIG_BINMAN_FDT is not set
+CONFIG_BINMAN_DTB="./arch/riscv/dts/xilinx-binman.dtb"
 CONFIG_PANIC_HANG=y
 CONFIG_SPL_GZIP=y