Skip to content

Initial device tree support for StarFive JH8100 SoC

Sia Jee Heng linux-devicetree linux-riscv lkml 3 versions – Applied

Status from this message: The following commit has been merged into the timers/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 18 repliesApplied
  2. v26 patches 16 repliesSuperseded
  3. v17 patches 16 repliesSuperseded

Changes in v3 from the cover letter

- Resolved CI build error (dtb_warn_rv64.sh) in patch 6.
- Introduced a new line in patch 6 to distinguish between platforms.
- Reordered the CPU sequence in patch 1.
- Corrected a line deletion in patch 2.
- Removed the description and rearranged the sequence of items in patch 5.
- Added 'Acked-by' from Conor for patches 1, 2, 3 and 4.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6dt-bindings: riscv: Add StarFive Dubhe compatiblesDocumentation/devicetree/bindings/riscv/cpus.yaml+2 -00 replies
2/6dt-bindings: riscv: Add StarFive JH8100 SoCDocumentation/devicetree/bindings/riscv/starfive.yaml+4 -07 replies
3/6dt-bindings: timer: Add StarFive JH8100 clintDocumentation/devicetree/bindings/timer/sifive,clint.yaml+1 -01 reply
4/6dt-bindings: interrupt-controller: Add StarFive JH8100 plicDocumentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml+1 -00 replies
5/6dt-bindings: serial: cdns: Add new compatible string for StarFive JH8100 UARTDocumentation/devicetree/bindings/serial/cdns,uart.yaml+3 -01 reply
6/6riscv: dts: starfive: Add initial StarFive JH8100 device treearch/riscv/boot/dts/starfive/Makefile arch/riscv/boot/dts/starfive/jh8100-evb.dts arch/riscv/boot/dts/starfive/jh8100.dtsi+408 -08 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchLey Foon TanConor DooleyEmil Renner Berthing
1/6R-b A-b
2/6R-b A-b
3/6R-b A-b
4/6R-b A-b
5/6R-b A-b
6/6R-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 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/6] Initial device tree support for StarFive JH8100 SoC

StarFive JH8100 SoC consists of 4 RISC-V performance Cores (Dubhe-90) and 2 RISC-V energy efficient cores (Dubhe-80). It also features various interfaces such as DDR4, Gbit-Ether, CAN, USB 3.2, SD/MMC, etc., making it ideal for high-performance computing scenarios.

This patch series introduces initial SoC DTSI support for the StarFive JH8100 SoC. The relevant dt-binding documentation has been updated accordingly. Below is the list of IP blocks added in the initial SoC DTSI, which can be used for booting via initramfs on FPGA:

- StarFive Dubhe-80 CPU
- StarFive Dubhe-90 CPU
- PLIC
- CLINT
- UART

The primary goal is to include foundational patches so that additional drivers can be built on top of this framework.

Changes since v2:
- Resolved CI build error (dtb_warn_rv64.sh) in patch 6.
- Introduced a new line in patch 6 to distinguish between platforms.
- Reordered the CPU sequence in patch 1.
- Corrected a line deletion in patch 2.
- Removed the description and rearranged the sequence of items in patch 5.
- Added 'Acked-by' from Conor for patches 1, 2, 3 and 4.

Changes since v1:
- Dropped patch 5.
- Moved timebase-frequency from .dts to .dtsi.
- Moved soc node from .dts to .dtsi.
- Revised the title for the dt-binding document by removing Xilinx wording.
- Added a full stop to the end of the commit messages.
- Removed extra blank lines.
- Used hyphen for a node name.
- Added more recipients to the mailing list.

Sia Jee Heng (6):
dt-bindings: riscv: Add StarFive Dubhe compatibles
dt-bindings: riscv: Add StarFive JH8100 SoC
dt-bindings: timer: Add StarFive JH8100 clint
dt-bindings: interrupt-controller: Add StarFive JH8100 plic
dt-bindings: serial: cdns: Add new compatible string for StarFive

    JH8100 UART

riscv: dts: starfive: Add initial StarFive JH8100 device tree

 .../sifive,plic-1.0.0.yaml                    |   1 +
 .../devicetree/bindings/riscv/cpus.yaml       |   2 +
 .../devicetree/bindings/riscv/starfive.yaml   |   4 +
 .../devicetree/bindings/serial/cdns,uart.yaml |   3 +
 .../bindings/timer/sifive,clint.yaml          |   1 +
 arch/riscv/boot/dts/starfive/Makefile         |   2 +
 arch/riscv/boot/dts/starfive/jh8100-evb.dts   |  28 ++
 arch/riscv/boot/dts/starfive/jh8100.dtsi      | 378 ++++++++++++++++++
 8 files changed, 419 insertions(+)
 create mode 100644 arch/riscv/boot/dts/starfive/jh8100-evb.dts
 create mode 100644 arch/riscv/boot/dts/starfive/jh8100.dtsi

base-commit: 994d5c58e50e91bb02c7be4a91d5186292a895c8

Signature · 1 line
2.34.1