[RFC 00/10] Add support for StarFive VisionFive 2 Lite board

Hal Feng
2025-08-29T14:30:32Z

VisionFive 2 Lite is a mini SBC based on the StarFive JH7110S industrial
SoC which can run at -40~85 degrees centigrade and up to 1.25GHz.

Board features:
- JH7110S SoC
- 2/4/8 GiB LPDDR4 DRAM
- AXP15060 PMIC
- 40 pin GPIO header
- 1x USB 3.0 host port
- 3x USB 2.0 host port
- 1x M.2 M-Key (size: 2242)
- 1x MicroSD slot (optional non-removable eMMC)
- 1x QSPI Flash
- 1x I2C EEPROM
- 1x 1Gbps Ethernet port
- SDIO-based Wi-Fi & UART-based Bluetooth
- 1x HDMI port
- 1x 2-lane DSI
- 1x 2-lane CSI

For more details, please see [1].

Note: Patch 1 and 2 are the kernel device tree picked from [2]. If [2] is
merged, they will be no more needed. Please ignore these two patches.

[1] https://www.kickstarter.com/projects/starfive/visionfive-2-lite-unlock-risc-v-sbc-at-199
[2] https://lore.kernel.org/all/20250821100930.71404-1-hal.feng@starfivetech.com/

Hal Feng (10):
riscv: dts: starfive: jh7110-common: Move out some nodes to the board
dts
riscv: dts: starfive: Add VisionFive 2 Lite board device tree
eeprom: starfive: Simplify get_ddr_size_from_eeprom()
eeprom: starfive: Correct get_pcb_revision_from_eeprom()
eeprom: starfive: Update eeprom data format version to 3
pcie: starfive: Add a optional power gpio support
riscv: dts: jh7110: Add StarFive VisionFive 2 Lite u-boot device tree
configs: visionfive2: Add VisionFive 2 Lite DT to OF_LIST
board: starfive: spl: Support VisionFive 2 Lite
board: starfive: visionfive2: Add VisionFive 2 Lite fdt selection

arch/riscv/cpu/jh7110/spl.c | 2 +-
...10s-starfive-visionfive-2-lite-u-boot.dtsi | 7 +
arch/riscv/include/asm/arch-jh7110/eeprom.h | 13 +-
board/starfive/visionfive2/spl.c | 21 ++-
.../visionfive2/starfive_visionfive2.c | 22 +--
.../visionfive2/visionfive2-i2c-eeprom.c | 119 +++++++++-----
configs/starfive_visionfive2_defconfig | 2 +-
drivers/pci/pcie_starfive_jh7110.c | 8 +
.../src/riscv/starfive/jh7110-common.dtsi | 22 ---
.../jh7110-deepcomputing-fml13v01.dts | 49 ++++++
.../src/riscv/starfive/jh7110-milkv-mars.dts | 49 ++++++
.../riscv/starfive/jh7110-pine64-star64.dts | 49 ++++++
.../jh7110-starfive-visionfive-2.dtsi | 46 ++++++
dts/upstream/src/riscv/starfive/jh7110.dtsi | 16 --
.../jh7110s-starfive-visionfive-2-lite.dts | 152 ++++++++++++++++++
15 files changed, 474 insertions(+), 103 deletions(-)
create mode 100644 arch/riscv/dts/jh7110s-starfive-visionfive-2-lite-u-boot.dtsi
create mode 100644 dts/upstream/src/riscv/starfive/jh7110s-starfive-visionfive-2-lite.dts

base-commit: 3dc5e9a0108bb114175b6362f9cb22367402f624
--
2.43.2