Age | Commit message (Collapse) | Author | Files | Lines |
|
Visionfive2 Remove uart0/sdio0/sdio1
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Add pinctrl config about sdio0/sdio1/uart0
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
visionfive2 Enable STARFIVE_PINCTRL and PINCTRL_FULL
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
version JH7110_515_SDK_v3.2.0 for JH7110 EVB board
|
|
CR_2709 dt-bindings: pinctrl: Add StarFive JH7110 pinctrl definitions
See merge request sdk/u-boot!18
|
|
Remove usb/sdio0/sdio1 gpio init.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Add pinctrl config about usb/sdio0
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Enable STARFIVE_PINCTRL and PINCTRL_FULL
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Add pinctrl driver for StarFive JH7110 SoC.
Signed-off-by: Kuan Lim Lee <kuanlim.lee@linux.starfivetech.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Add pinctrl definitions for StarFive JH7110 SoC.
Signed-off-by: Kuan Lim Lee <kuanlim.lee@linux.starfivetech.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Modify GPIO_SD_SHIFT to GPIO_DS_SHIFT.
Fix jh7110_gpio_init function.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
CR_2666 board:starfive:Add gpio init
See merge request sbc/u-boot!19
|
|
Fixing don't detect wm8960 occasionally
Set scl/sda gpio output enable
Set drive strength to 12mA
Set gpio pull up
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
version JH7110_515_SDK_v3.0.0-rc3 for JH7110 EVB board
|
|
CR_2555: borad:jh7110:vf2: Modify ramdisk_addr_r/pxefile_addr_r/scriptaddr
See merge request sbc/u-boot!18
|
|
CR_2555: borad:jh7110:evb: Modify ramdisk_addr_r/pxefile_addr_r/scriptaddr
See merge request sdk/u-boot!17
|
|
The jh7110 ddr starts from 0x40000000. Using 0x80000000 may cause the
CMA space to fail
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
The jh7110 ddr starts from 0x40000000. Using 0x80000000 may cause the
CMA space to fail
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Enable CONFIG_CMD_NVEDIT_EFI, CONFIG_CMD_EFIDEBUG, CONFIG_HEXDUMP and CONFIG_EFI_RISCV_BOOT_PROTOCOL.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
This adds support for new RISCV_EFI_BOOT_PROTOCOL to
communicate the boot hart ID to bootloader/kernel on RISC-V
UEFI platforms.
The specification of the protocol is hosted at:
https://github.com/riscv-non-isa/riscv-uefi
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
|
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
0x9 will better match 1.2A gmac0 tx in 1000M
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
add axp15060 pmic dts config for opensbi power managment
used.
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
JH7110A use external rmii_rtx clk for tx clk on 100M/10M mode.
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
0xa will better match gmac0 tx in 1000M
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
Visionfive2 has a 2/4/8G version. You need to read eeprom information in
uboot to obtain the size of mem, and modify the size of mem in linux
dts.
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
JH7110A do not need tx_inverted by YT8531 phy, you need to read the chip
version to determine whether to use it.
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
It is more convenient to dynamically modify uboot dts
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
JH7110B(chip_vision B) need switch gmac tx clk to rgmii phy.
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
Read the chip model from the eerpom and setenv "chip_vision"
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
JH7110B needs switch gmac0/1 tx to rgmii phy.
Signed-off-by: Samin Guo <samin.guo@linux.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@linux.starfivetech.com>
|
|
JH7110B requires a higher IOPAD capability in 1000M mode.
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
JH7110B requires a higher IOPAD capability in 1000M mode.
Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com>
|
|
variable
In order to compatible visionfive2 board with different version,so the
memory size information read from eeprom. and save to environment
variable. The value which saved in environment variable will be used
to update the memory node in dts.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
Enable I2C and EEPROM driver in SPL.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
Add i2c5 device configuration to device tree which used by SPL.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
Memory information has been obtained elsewhere, so remove
fdtdec_setup_mem_size_base call.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
Add basic init before used by other modules in SPL.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
Update memory size information, which read from eeprom.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
Move eeprom macro definition form h file to c.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
Add SYS_I2C_DW driver to support in SPL.
Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
|
|
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Switch the pll2 clk to 1188M with the comm pll interface on JH7110.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
PCB A have two different phy, 1000M yt8531 for gmac0, 100M yt8512 for gmac1.
PCB B have two same phy, 1000M yt8531 for gmac0/gmac1.
Gmac initialization is different when link different phy.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Get bootmode, if bootmode is flash, then default boot from sd card.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
uboot should be placed in partition-2
Signed-off-by: samin <samin.guo@starfivetech.com>
|
|
update sdio emmc uart0 gpio index base on visionfive2 new board A1.1
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
Add saveenv config to Support saveenv
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|