Skip to content

Add support for StarFive VisionFive 2 Lite board

Hal Feng linux-devicetree linux-pci linux-riscv lkml 4 versions – Applied

Status from this message: Applied to riscv-dt-for-next, thanks! No patch 1 of course, since that's

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 18 repliesApplied 5/6
  2. v35 patches 10 repliesSuperseded
  3. v28 patches 27 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v19 patches15 repliesSuperseded

Changes in v4 from the cover letter

patch 1:
- Enable PCIe slot 3V3 power using regulator APIs instead of GPIO APIs. patch 3: (reuse the dts structure implemented in v1)
- Add a new patch to move out the uncommon nodes in jh7110-common.dtsi.
- Include "jh7110-common.dtsi" instead of "jh7110.dtsi".
- Add the regulator-vcc-3v3-pcie node and reference it in the pcie1 node. patch 3, 4, 5:
- Use "jh7110" instead of "jh7110s" as the device tree filename prefix.

Patches in v4 Applied · 5/6

#Subject and filesSizeRepliesApplied
1/6PCI: starfive: Use regulator APIs instead of GPIO APIs to enable the 3V3 power supply of PCIe slotsdrivers/pci/controller/plda/pcie-starfive.c+15 -1010 replies
2/6dt-bindings: riscv: Add StarFive JH7110S SoC and VisionFive 2 Lite boardDocumentation/devicetree/bindings/riscv/starfive.yaml+6 -00 repliesApplied
3/6riscv: dts: starfive: jh7110-common: Move out some nodes to the board dtsarch/riscv/boot/dts/starfive/jh7110-common.dtsi arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dts +4 more+63 -80 repliesApplied
4/6riscv: dts: starfive: Add common board dtsi for VisionFive 2 Lite variantsarch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dtsi+161 -05 repliesApplied
5/6riscv: dts: starfive: Add VisionFive 2 Lite board device treearch/riscv/boot/dts/starfive/Makefile arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dts+21 -01 replyApplied
6/6riscv: dts: starfive: Add VisionFive 2 Lite eMMC board device treearch/riscv/boot/dts/starfive/Makefile arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite-emmc.dts+23 -01 replyApplied

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)Matthias BruggerHeinrich SchuchardtEmil Renner BerthingKevin Xie
1/6T-b T-b A-b
2/6A-b T-b R-b
3/6T-b
4/6T-b A-b
5/6T-b A-b
6/6T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/6] Add support for StarFive VisionFive 2 Lite board

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
- 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 64GiB 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

VisionFive 2 Lite schematics: https://doc-en.rvspace.org/VisionFive2Lite/PDF/VF2_LITE_V1.10_TF_20250818_SCH.pdf
VisionFive 2 Lite Quick Start Guide: https://doc-en.rvspace.org/VisionFive2Lite/VisionFive2LiteQSG/index.html
More documents: https://doc-en.rvspace.org/Doc_Center/visionfive_2_lite.html

Changes since v3:
patch 1:
- Enable PCIe slot 3V3 power using regulator APIs instead of GPIO APIs. patch 3: (reuse the dts structure implemented in v1)
- Add a new patch to move out the uncommon nodes in jh7110-common.dtsi.
- Include "jh7110-common.dtsi" instead of "jh7110.dtsi".
- Add the regulator-vcc-3v3-pcie node and reference it in the pcie1 node. patch 3, 4, 5:
- Use "jh7110" instead of "jh7110s" as the device tree filename prefix.

Changes since v2:
- Drop patch 3, 4, 5.
patch 6:
- jh7110s-starfive-visionfive-2-lite.dtsi directly includes "jh7110.dtsi" instead of "jh7110s-common.dtsi".

Changes since v1:
- Drop patch 1 because it is applied.
- Rename jh7110.dtsi to jh711x.dtsi.
- Move the content of jh7110-common.dtsi to the new file jh711x-common.dtsi and move opp table to jh7110-common.dtsi.
patch 4:
- Move the uncommon nodes to jh7110-common.dtsi instead of board dts. patch 5:
- Add jh7110s-common.dtsi and include it in jh7110s-starfive-visionfive-2-lite.dtsi.

Changes since RFC:
- Add jh7110s compatible to the generic cpufreq driver.
- Fix the dtbs_check error by adding the missing "enable-gpios" property in jh7110 pcie dt-bindings.
- Rebase on the latest mainline.
- Add VisionFive 2 Lite eMMC board device tree and add a common board dtsi for VisionFive 2 Lite variants.
- Add usb switch pin configuration (GPIO62).
- Improve the commit messages.

History:
v3: https://lore.kernel.org/all/[email protected]/
v2: https://lore.kernel.org/all/[email protected]/
v1: https://lore.kernel.org/all/[email protected]/
RFC: https://lore.kernel.org/all/[email protected]/

Hal Feng (6):
PCI: starfive: Use regulator APIs instead of GPIO APIs to enable the
3V3 power supply of PCIe slots
dt-bindings: riscv: Add StarFive JH7110S SoC and VisionFive 2 Lite
board
riscv: dts: starfive: jh7110-common: Move out some nodes to the board
dts
riscv: dts: starfive: Add common board dtsi for VisionFive 2 Lite
variants
riscv: dts: starfive: Add VisionFive 2 Lite board device tree
riscv: dts: starfive: Add VisionFive 2 Lite eMMC board device tree

 .../devicetree/bindings/riscv/starfive.yaml   |   6 +
 arch/riscv/boot/dts/starfive/Makefile         |   2 +
 .../boot/dts/starfive/jh7110-common.dtsi      |   8 -
 .../jh7110-deepcomputing-fml13v01.dts         |  14 ++
 .../boot/dts/starfive/jh7110-milkv-mars.dts   |  14 ++
 .../dts/starfive/jh7110-milkv-marscm-emmc.dts |   9 +
 .../dts/starfive/jh7110-milkv-marscm-lite.dts |   1 +
 .../dts/starfive/jh7110-pine64-star64.dts     |  14 ++
 ...jh7110-starfive-visionfive-2-lite-emmc.dts |  22 +++
 .../jh7110-starfive-visionfive-2-lite.dts     |  20 +++
 .../jh7110-starfive-visionfive-2-lite.dtsi    | 161 ++++++++++++++++++
 .../jh7110-starfive-visionfive-2.dtsi         |  11 ++
 drivers/pci/controller/plda/pcie-starfive.c   |  25 +--
 13 files changed, 289 insertions(+), 18 deletions(-)
 create mode 100644 arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite-emmc.dts
 create mode 100644 arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dts
 create mode 100644 arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dtsi

base-commit: 422f3140bbcb657e1b86c484296972ab76f6d1ff

Signature · 1 line
2.43.2