[PATCH v3 5/7] riscv: licheerv_nano: Use upstream devicetree
Zhuxu Ran via U-Boot <[email protected]> Thu, 06 Aug 2026 20:13:25 +0800
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <20260806-milkv-duo-upstream-dts-v3-5-917cf70a2337__37856.3060004794$1786021535$gmane$org@zohomail.com> |
Switch LicheeRV Nano to the upstream SG2002 devicetree by enabling CONFIG_OF_UPSTREAM and selecting sophgo/sg2002-licheerv-nano-b. The SG2002 clock and MMC compatible strings used by the upstream devicetree are now supported by the existing U-Boot drivers. Signed-off-by: Zhuxu Ran <[email protected]> --- configs/sipeed_licheerv_nano_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/sipeed_licheerv_nano_defconfig b/configs/sipeed_licheerv_nano_defconfig index ab29f327d7a..6754f3c0f7c 100644 --- a/configs/sipeed_licheerv_nano_defconfig +++ b/configs/sipeed_licheerv_nano_defconfig @@ -4,7 +4,8 @@ CONFIG_SYS_MALLOC_F_LEN=0x8000 CONFIG_NR_DRAM_BANKS=1 CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x82300000 -CONFIG_DEFAULT_DEVICE_TREE="sg2002-licheerv-nano-b" +CONFIG_DEFAULT_DEVICE_TREE="sophgo/sg2002-licheerv-nano-b" +CONFIG_OF_UPSTREAM=y CONFIG_SYS_LOAD_ADDR=0x80080000 CONFIG_IDENT_STRING="licheerv_nano" CONFIG_TARGET_LICHEERV_NANO=y -- 2.55.0