jh71x0: add new target for StarFive JH7100/7110 SoC
authorZoltan HERPAI <wigyori@uid0.hu>
Sun, 28 May 2023 13:14:02 +0000 (15:14 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Tue, 8 Aug 2023 17:39:18 +0000 (19:39 +0200)
commit5cbd6961f0cfa452c45f9931bc76caec582e054e
treebfe175c4cf53224c2e1c5509e71168ad10193b02
parent5ae3b195a17d3c8a7b25e826928cd73117fbbe57
jh71x0: add new target for StarFive JH7100/7110 SoC

This target adds support for the StarFive JH7100 and JH7110 SoCs, based on
6.1, as well as a couple boards equipped with these.

Specifications:

JH7100:
 - StarFive JH7100 dual-core RISC-V (U74, RC64GC)
 - additional monitoring (S7) and control (E24) cores
 - 2Mb L2 cache

JH7110:
 - StarFive JH7110 quad-core RISC-V (U74, RV64GC)
 - additional monitoring (S7) and control (E24) cores
 - 2Mb L2 cache

VisionFive1:
 - JH7100 @ 1GHz
 - Memory: 8Gb LPDDR4
 - 4x USB3.0
 - 1x GBit ethernet
 - AMPak 6236 wifi / bluetooth
 - audio
 - powered via USB-C

VisionFive2:
 - JH7110 @ 1.5GHz
 - Memory: 2/4/8Gb DDR4
 - 2x Gbit ethernet
 - 2x USB3.0 / 2x USB2.0
 - eMMC / SDIO
 - various multimedia input/outputs (MIPI CSI, HDMI, audio)
 - M.2 key M slot
 - PoE support
 - powered via USB-C

Installation:
Standard SD-card installation via dd-ing the generated image to
an SD-card of at least 256Mb.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
122 files changed:
target/linux/jh71x0/Makefile [new file with mode: 0644]
target/linux/jh71x0/base-files/etc/board.d/01_leds [new file with mode: 0644]
target/linux/jh71x0/base-files/etc/board.d/02_network [new file with mode: 0644]
target/linux/jh71x0/base-files/etc/inittab [new file with mode: 0644]
target/linux/jh71x0/config-6.1 [new file with mode: 0755]
target/linux/jh71x0/generic/target.mk [new file with mode: 0644]
target/linux/jh71x0/image/Config.in [new file with mode: 0644]
target/linux/jh71x0/image/Makefile [new file with mode: 0644]
target/linux/jh71x0/image/gen_starfive_sdcard_img.sh [new file with mode: 0755]
target/linux/jh71x0/image/mmc.bootscript.jh7100 [new file with mode: 0644]
target/linux/jh71x0/image/mmc.bootscript.jh7110 [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0001-dt-bindings-pinctrl-Add-StarFive-JH7110-sys-pinctrl.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0002-dt-bindings-pinctrl-Add-StarFive-JH7110-aon-pinctrl.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0003-pinctrl-starfive-Add-StarFive-JH7110-sys-controller-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0004-pinctrl-starfive-Add-StarFive-JH7110-aon-controller-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0005-dt-bindings-clock-Add-StarFive-JH7110-system-clock-a.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0006-dt-bindings-clock-Add-StarFive-JH7110-always-on-cloc.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0007-clk-starfive-Replace-SOC_STARFIVE-with-ARCH_STARFIVE.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0008-clk-starfive-Factor-out-common-JH7100-and-JH7110-cod.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0009-clk-starfive-Rename-clk-starfive-jh7100.h-to-clk-sta.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0010-clk-starfive-Rename-jh7100-to-jh71x0-for-the-common-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0011-reset-starfive-Replace-SOC_STARFIVE-with-ARCH_STARFI.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0012-reset-Create-subdirectory-for-StarFive-drivers.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0013-reset-starfive-Factor-out-common-JH71X0-reset-code.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0014-reset-starfive-Extract-the-common-JH71X0-reset-code.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0015-reset-starfive-Rename-jh7100-to-jh71x0-for-the-commo.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0016-reset-starfive-jh71x0-Use-32bit-I-O-on-32bit-registe.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0017-clk-starfive-Add-StarFive-JH7110-system-clock-driver.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0018-clk-starfive-Add-StarFive-JH7110-always-on-clock-dri.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0019-reset-starfive-Add-StarFive-JH7110-reset-driver.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0020-dt-bindings-timer-Add-StarFive-JH7110-clint.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0021-dt-bindings-interrupt-controller-Add-StarFive-JH7110.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0022-dt-bindings-riscv-Add-SiFive-S7-compatible.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0023-riscv-dts-starfive-Add-initial-StarFive-JH7110-devic.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0024-riscv-dts-starfive-Add-StarFive-JH7110-pin-function-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0025-riscv-dts-starfive-Add-StarFive-VisionFive-V1-device.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0026-riscv-dts-starfive-Add-StarFive-JH7110-VisionFive-2-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0027-riscv-dts-starfive-jh7110-Correct-the-properties-of-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0028-dt-bindings-power-Add-starfive-jh7110-pmu.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0029-soc-starfive-Add-StarFive-JH71XX-pmu-driver.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0030-dt-bindings-mmc-Add-StarFive-MMC-module.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0031-mmc-starfive-Add-sdio-emmc-driver-support.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0032-riscv-dts-starfive-Add-mmc-node.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0043-dt-bindings-net-snps-dwmac-Add-dwmac-5.20-version.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0044-net-stmmac-platform-Add-snps-dwmac-5.20-IP-compatibl.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0045-dt-bindings-net-snps-dwmac-Add-ahb-reset-reset-name.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0046-dt-bindings-net-Add-support-StarFive-dwmac.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0047-net-stmmac-Add-glue-layer-for-StarFive-JH7110-SoC.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0048-net-stmmac-dwmac-starfive-Add-phy-interface-settings.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0049-dt-bindings-watchdog-Add-watchdog-for-StarFive-JH710.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0050-drivers-watchdog-Add-StarFive-Watchdog-driver.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0051-riscv-dts-starfive-jh7100-Add-watchdog-node.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0052-dt-bindings-rng-Add-StarFive-TRNG-module.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0053-hwrng-starfive-Add-TRNG-driver-for-StarFive-SoC.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0054-riscv-dts-starfive-Add-TRNG-node-for-VisionFive-2.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0055-dt-bindings-clock-Add-StarFive-JH7110-System-Top-Gro.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0056-generic-6.1-change-ARCH_STARFIVE-to-SOC_STARFIVE.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0057-clk-starfive-Add-StarFive-JH7110-System-Top-Group-cl.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0058-dt-bindings-clock-Add-StarFive-JH7110-Image-Signal-P.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0059-clk-starfive-Add-StarFive-JH7110-Image-Signal-Proces.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0060-dt-bindings-clock-Add-StarFive-JH7110-Video-Output-c.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0061-clk-starfive-Add-StarFive-JH7110-Video-Output-clock-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0062-reset-starfive-jh7110-Add-StarFive-STG-ISP-VOUT-rese.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0063-riscv-dts-starfive-jh7110-add-pmu-controller-node.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0064-riscv-dts-starfive-jh7110-Add-DVP-and-HDMI-TX-pixel-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0065-riscv-dts-starfive-jh7110-Add-STGCRG-ISPCRG-VOUTCRG-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0066-dts-6.1-trng-use-correct-reset-clock-identifiers.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0067-generic-6.1-another-set-of-ARCH_STARFIVE-to-SOC_STAR.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0068-dt-bindings-dma-snps-dw-axi-dmac-constrain-the-items.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0069-dts-6.1-mmc-change-starfive-sysreg-to-starfive-sysco.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0070-dts-6.1-disable-jh7100-visionfive-build-for-now.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0071-dt-bindings-phy-Add-StarFive-JH7110-USB-PHY.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0072-dt-bindings-phy-Add-StarFive-JH7110-PCIe-PHY.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0073-phy-starfive-Add-JH7110-USB-2.0-PHY-driver.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0074-phy-starfive-Add-JH7110-PCIE-2.0-PHY-driver.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0075-dt-bindings-usb-Add-StarFive-JH7110-USB-controller.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0076-usb-cdns3-Add-StarFive-JH7110-USB-driver.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0077-riscv-dts-starfive-Add-USB-dts-configuration-for-JH7.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0078-phy-6.1-add-drivers-phy-starfive-for-USB2.0-and-PCIe.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0079-cdns3-6.1-change-ARCH_STARFIVE-to-SOC_STARFIVE.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0087-riscv-dts-starfive-jh7110-Add-syscon-nodes.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0090-dts-6.1-jh7110-syscon-updates.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0091-riscv-dts-starfive-jh7110-Add-ethernet-device-nodes.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0092-riscv-dts-starfive-jh7110-Add-syscon-to-support-phy-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0093-riscv-dts-starfive-visionfive-2-v1.3b-Add-gmac-phy-s.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0094-riscv-dts-starfive-visionfive-2-v1.2a-Add-gmac-phy-s.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0095-riscv-dts-starfive-visionfive-2-Enable-gmac-device-t.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0097-riscv-6.1-jh7110-add-watchdog-node.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0098-clocksource-Add-StarFive-timer-driver.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0099-riscv-6.1-jh7110-add-starfive-timer-node.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0100-starfive-timer-6.1-change-ARCH_STARFIVE-to-SOC_STARF.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0105-dt-bindings-qspi-cdns-qspi-nor-constrain-minItems-ma.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0106-spi-cadence-quadspi-Add-support-for-StarFive-JH7110-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0107-dmaengine-drivers-Use-devm_platform_ioremap_resource.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0108-dmaengine-dw-axi-dmac-Add-support-for-StarFive-JH711.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0109-dmaengine-dw-axi-dmac-Increase-polling-time-to-DMA-t.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0110-dts-6.1-jh7110-add-qspi-node.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0111-dts-6.1-starfive-add-dma-controller-node.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0112-clk-6.1-jh7110-sys-updates.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0113-riscv-dts-starfive-Group-tuples-in-interrupt-propert.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0114-RISC-V-Add-StarFive-JH7100-audio-clock-node.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0115-RISC-V-Mark-StarFive-JH7100-as-having-non-coherent-D.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0116-serial-8250_dw-Add-starfive-jh7100-hsuart-compatible.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0117-drivers-tty-serial-8250-update-driver-for-JH7100.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0118-riscv-dts-starfive-Add-common-DT-for-JH7100-based-bo.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0119-riscv-dts-starfive-Add-StarFive-VisionFive-V1-device.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0120-riscv-dts-Add-full-JH7100-Starlight-and-VisionFive-s.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0121-dts-6.1-jh7100-fixups-remove-audio-blocks.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0122-soc-sifive-ccache-Add-StarFive-JH71x0-support.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0123-soc-sifive-ccache-Add-non-coherent-DMA-handling.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0124-riscv-Implement-non-coherent-DMA-support-via-SiFive-.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0125-dts-6.1-jh7100-disable-USB-for-now-as-it-s-causing-h.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0126-dmaengine-dw-axi-dmac-Handle-xfer-start-while-non-id.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0127-dmaengine-dw-axi-dmac-Add-StarFive-JH7100-support.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0128-pinctrl-starfive-Reset-pinmux-settings.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0129-clk-starfive-Add-flags-argument-to-JH71X0__MUX-macro.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0130-clk-starfive-jh7100-Add-CLK_SET_RATE_PARENT-to-gmac_.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0131-clk-starfive-jh7100-Keep-more-clocks-alive.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0132-net-stmmac-use-GFP_DMA32.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0133-hwrng-Add-StarFive-JH7100-Random-Number-Generator-dr.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0134-hwmon-sfctemp-Add-StarFive-JH71x0-temperature-sensor.patch [new file with mode: 0644]
target/linux/jh71x0/patches-6.1/0135-pwm-sifive-ptc-Add-SiFive-PWM-PTC-driver.patch [new file with mode: 0644]