Age | Commit message (Collapse) | Author | Files | Lines |
|
Add board support for StarFive Devkits.
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add device tree for StarFive VisionFive 2 board.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
To be compatible with the VisionFive 2 board.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add board support for StarFive VisionFive 2.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Add a header to easily use the EEPROM interface.
The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
Add starfive,usb2-only to zero in evb board.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
Add evb USB 3.0 clock dts.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
Updated USB Device Tree Node to support USB Device functionality and is
consistent with Kernel.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
The frequency of cclk_in is limited to 50M, so that it does not do internal
part frequency and goes by-pass mode. And delete syscon node.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
SET_DS/SET_PULL/SET_SLEW can configure the properties of the GPIO
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
dram_init call fdtdec_setup_mem_size_base, so starfive_ddr.c do not
need it.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
CR6604:dram: jh7110: sync from devkits/vf2
See merge request sdk/u-boot!59
|
|
replace mipi&hdmi node , hdmi logo will start begin mipi
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
|
|
The resize-ddr should be board-level code
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
add 1G DDR tuning cfg
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
When eeprom reads, you need to determine whether eeprom supports it.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
In order to read DDR info from eeprom.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
sync from vf2 and add resize DDR info from EEPROM
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Starting from gcc 12.x, csr and fence instructions have been
separated from the base I instruction set. special the
zicsr_zifencei string to DT riscv,isa string
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
|
|
Unify the content format of the copyright section
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
|
|
class 8 and class9 cpu stall cycles hwcounter is
not supported in U74. delete the configuration.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
Add L2 pretcher configuration for starfive jh7110 SoC.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Add gpio-controller for node gpio and gpioa.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
The riscv32 toolchain for GCC-12 provided by kernel.org contains libgcc.a
compiled for double-float. To link to it we have to adjust how we build
U-Boot.
As U-Boot actually does not use floating point at all this should not
make a significant difference for the produced binaries.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
|
|
The following description is copied from the equivalent patch for the
Linux Kernel proposed by Aurelien Jarno:
>From version 2.38, binutils default to ISA spec version 20191213. This
means that the csr read/write (csrr*/csrw*) instructions and fence.i
instruction has separated from the `I` extension, become two standalone
extensions: Zicsr and Zifencei. As the kernel uses those instruction,
this causes the following build failure:
arch/riscv/cpu/mtrap.S: Assembler messages:
arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause'
arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc'
arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval'
arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0'
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Christian Stewart <christian@paral.in>
Reviewed-by: Rick Chen <rick@andestech.com>
|
|
hdmi can show a bitmap logo while uboot start
and the default resolution is 1920x1080@60fps
Signed-off-by: keith.zhao<keith.zhao@statfivetech.com>
|
|
Enable and add pinctrl configuration for PCIe host controller.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
|
|
cache driver enabled by config STARFIVE_JH7110_L2CC_FLUSH
if not , there is a dump on vf2
Signed-off-by:keith.zhao<keith.zhao@statfivetech.com>
|
|
update dts node to support vout mipi driver
Signed-off-by:keith.zhao<keith.zhao@statfivetech.com>
|
|
support flush_dcache_range interface STARFIVE_JH7110_L2CC_FLUSH
Signed-off-by:keith.zhao<keith.zhao@statfivetech.com>
|
|
CR_3238 exclude opensbi memory range in device tree
See merge request sdk/u-boot!27
|
|
This patch explicitly excludes the memory range of the OpenSBI in the
built-in device tree. When booting EFI, the efi loader has to know
about that zone before loading the device tree for Linux, otherwise
it tries to access 0x40000000, leading to an access violation.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
|
|
Provide sysreset driver using the SBI system reset extension.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Samuel Holland <samuel@sholland.org>
|
|
Add the System Reset Extension and the Hart State Management Extension
definitions.
Add missing RFENCE Extension enum values.
The SBI 0.1 extension constants are needed for the sbi command. Remove
an #ifdef.
Cf. https://github.com/riscv/riscv-sbi-doc/blob/master/riscv-sbi.adoc
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
|
boot-hart-id is used by opensbi.
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
CR_3049 dts: add i2c5 and attach pmic configuration
See merge request sdk/u-boot!22
|
|
CR 2708 clk:starfive: Add vout clock driver for StarFive JH7110
See merge request sdk/u-boot!23
|
|
Add vout clock driver for StarFive JH7110
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
|
|
i2c5 and pmic is used by opensbi power management
ops.
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
add 7110 performance monitor for perf use
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
The frequency of pll0 is set to 1000Mhz in the bootrom
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Add pinctrl config about usb/sdio0
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Read the chip model from the rgpio3 and setenv "chip_vision"
1: jh7110B
0: JH7110A
defalut: JH7110A
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
JH7110B needs switch gmac0/1 tx to rgmii phy.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
JH7110B requires tx_inverted_10/100/1000 configuration, and different
parameters
may be required in 10M/100M/1000M mode.
This parameter supports JH7110B+YT8531PHY by default. Other boards can
modify the parameters of the tx_inverted_10/100/1000 to obtain support.
If you do not configure tx_inverted_10/100/1000 in dts, the default is
0.
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Add reset property configuration to DDR control device tree node.
Signed-off-by: Yan Hong Wang <yanhongwang@linux.starfivetech.com>
|
|
Add common interface to set and get pll clk information for jh7110 soc.
Signed-off-by: Yan Hong Wang <yanhong.wang@starfivetech.com>
|
|
Change Model to "StarFive JH7110 EVB", and change riscv,isa to
"rv64imafdcbsux"
Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
|
|
Add SPL_DM_RESET to defconfig, and update uart3-uart5 reset for StarFive
JH7110 SoC.
Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
|