Skip to content

riscv: dts: starfive: add Milkv Mars board device tree

Jisheng Zhang linux-devicetree linux-riscv lkml 4 versions – Applied

Status from this message: Applied to riscv-dt-for-next, thanks! I fixed up the nits of Emil's in

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 5 repliesApplied
  2. v36 patches 14 repliesSuperseded
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch2 repliesSuperseded

Changes in v4 from the cover letter

- collect Reviewed-by tag
- rename the common dtsi to jh7110-common.dtsi
- mv cd-gpios and disable-wp into jh7110-common.dtsi
- fix "gmac1-rgmii-rxin-clock: 'clock-frequency' is a required property" warning

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/8riscv: dts: starfive: add 'cpus' label to jh7110 and jh7100 soc dtsiarch/riscv/boot/dts/starfive/jh7100.dtsi arch/riscv/boot/dts/starfive/jh7110.dtsi+2 -20 replies
2/8dt-bindings: riscv: starfive: add Milkv Mars boardDocumentation/devicetree/bindings/riscv/starfive.yaml+1 -00 replies
3/8riscv: dts: starfive: visionfive 2: update sound and codec dt node namearch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi+2 -20 replies
4/8riscv: dts: starfive: visionfive 2: use cpus label for timebase freqarch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi+4 -40 replies
5/8riscv: dts: starfive: visionfive 2: add tf cd-gpiosarch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi+1 -11 reply
6/8riscv: dts: starfive: visionfive 2: add "disable-wp" for tfcardarch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi+1 -01 reply
7/8riscv: dts: starfive: introduce a common board dtsi for jh7110 based boardsarch/riscv/boot/dts/starfive/jh7110-common.dtsi arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi+600 -5841 reply
8/8riscv: dts: starfive: add Milkv Mars board device treearch/riscv/boot/dts/starfive/Makefile arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dts+31 -01 reply

Reviews trailers per patch

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

PatchEmil Renner BerthingKrzysztof Kozlowski
1/8R-b
2/8R-b A-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/8] riscv: dts: starfive: add Milkv Mars board device tree

The Milkv Mars is a development board based on the Starfive JH7110 SoC. The board features:

- JH7110 SoC
- 1/2/4/8 GiB LPDDR4 DRAM
- AXP15060 PMIC
- 40 pin GPIO header
- 3x USB 3.0 host port
- 1x USB 2.0 host port
- 1x M.2 E-Key
- 1x eMMC slot
- 1x MicroSD slot
- 1x QSPI Flash
- 1x 1Gbps Ethernet port
- 1x HDMI port
- 1x 2-lane DSI and 1x 4-lane DSI
- 1x 2-lane CSI

patch1 adds 'cpus' label
patch2 adds "milkv,mars" board dt-binding
patch3 ~ patch4 adopt Krzysztof's suggestions to DT node names patch5 introduces a board common dtsi for visionfive2 and mars patch3 adds the mars board dts file describing the currently supported features:
Namely PMIC, UART, I2C, GPIO, SD card, QSPI Flash, eMMC and Ethernet.

Since v3:
- collect Reviewed-by tag
- rename the common dtsi to jh7110-common.dtsi
- mv cd-gpios and disable-wp into jh7110-common.dtsi
- fix "gmac1-rgmii-rxin-clock: 'clock-frequency' is a required property" warning

Since v2:
- add a common board file which can be used by vf2 and mars

Since v1:
- add two new patches which add "cpus" label and board dt-binding
- adopt Krzysztof's suggestions, thanks

Jisheng Zhang (8):
riscv: dts: starfive: add 'cpus' label to jh7110 and jh7100 soc dtsi
dt-bindings: riscv: starfive: add Milkv Mars board
riscv: dts: starfive: visionfive 2: update sound and codec dt node
name
riscv: dts: starfive: visionfive 2: use cpus label for timebase freq
riscv: dts: starfive: visionfive 2: add tf cd-gpios
riscv: dts: starfive: visionfive 2: add "disable-wp" for tfcard
riscv: dts: starfive: introduce a common board dtsi for jh7110 based
boards
riscv: dts: starfive: add Milkv Mars board device tree

 .../devicetree/bindings/riscv/starfive.yaml   |   1 +
 arch/riscv/boot/dts/starfive/Makefile         |   1 +
 arch/riscv/boot/dts/starfive/jh7100.dtsi      |   2 +-
 .../boot/dts/starfive/jh7110-common.dtsi      | 599 ++++++++++++++++++
 .../boot/dts/starfive/jh7110-milkv-mars.dts   |  30 +
 .../jh7110-starfive-visionfive-2.dtsi         | 584 +----------------
 arch/riscv/boot/dts/starfive/jh7110.dtsi      |   2 +-
 7 files changed, 634 insertions(+), 585 deletions(-)
 create mode 100644 arch/riscv/boot/dts/starfive/jh7110-common.dtsi
 create mode 100644 arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dts
Signature · 1 line
2.43.0