summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-04-30Merge branch 'CR_10259_add_amp_minda' into 'jh7110-master'HEADJH7110_VF2_6.6_v5.12.0JH7110_VF2_6.1_v5.12.0JH7110_VF2_515_v5.12.0JH7110_VisionFive2_develandy.hu6-3/+177
CR_10259 spl: amp: Enable UART2 and move rtos image to memory See merge request sdk/u-boot!83
2024-04-29dts: Add amp dts node.Minda Chen3-2/+121
Add different domain in dts node for sbi boot and disable gmac1 node. make DEVICE_TREE=starfive_jh7110-amp to build uboot amp image. Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
2024-04-29amp: Set mac addr to share ram while one gmac is disable.Minda Chen1-1/+19
In AMP case, one GMAC is moved to RTOS side. u-boot dts node is disabled, RTOS need to get the MAC address. So u-boot write the MAC address to share RAM. Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
2024-04-26spl: amp: Enable UART2 and move rtos image to memoryMinda Chen2-0/+37
Enable UART2 for rtos and move rtos image to running memory. The image size is 832KB. Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
2024-04-19Merge branch 'CR_9706_vf2_uboot_fix_kernel6.6_mipi_bug_shengyang.chen' into ↵andy.hu2-2/+44
'jh7110-master' CR_9706_vf2_uboot: video: Add mipi remove process and drop dc interrupt See merge request sdk/u-boot!82
2024-04-19video: Add mipi remove process and drop dc interruptshengyang.chen2-2/+44
to fix vf2 kernel 6.6 mipi bug #9706 (startup crash or mipi cannot display) -add mipi remove process to solve bug of mipi display -drop dc interrupt of vf2 uboot to solve startup crash Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
2024-03-13Merge branch 'CR_9727_support_kernel_v6.6_hal.feng' into 'jh7110-master'andy.hu4-9/+51
CR_9727_support_kernel_v6.6_hal.feng See merge request sdk/u-boot!81
2024-03-13configs: starfive_visionfive2: Set default fdt file to ↵Hal Feng1-1/+1
"jh7110-starfive-visionfive-2-v1.3b.dtb" Change the default fdt file from "jh7110-visionfive-v2.dtb" to "jh7110-starfive-visionfive-2-v1.3b.dtb", for sync with linux mainline. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2024-03-13Support the new JH7110 chip A gmac configuration in linux v6.6+Hal Feng3-8/+50
If gmac_conf_new = 1, apply the new gmac configuration in linux v6.6+. If gmac_conf_new = 0, apply the old gmac configuration. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2024-02-23Merge branch 'CR_9215_debian_support_specifying_dtb_hal.feng' into ↵JH7110_VF2_6.1_v5.11.4JH7110_VF2_6.1_v5.11.3JH7110_VF2_515_v5.11.4JH7110_VF2_515_v5.11.3andy.hu7-30/+12
'jh7110-master' CR_9215_debian_support_specifying_dtb_hal.feng See merge request sdk/u-boot!80
2024-02-23Support specifying dtb in ${boot_syslinux_conf}Hal Feng7-30/+12
With this patch, you can specify dtb to bootup kernel, using fdtdir in ${boot_syslinux_conf}. Generally boot_syslinux_conf=extlinux/extlinux.conf Signed-off-by: Yingpeng Liu <yingpeng.liu@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2024-02-23Merge branch 'CR_9208_DEVKITS_EEPROM_ziv.xu' into 'jh7110-master'andy.hu2-3/+4
CR_9208_DEVKITS_EEPROM_ziv.xu See merge request sdk/u-boot!79
2024-02-23Merge branch 'CR_9208_VF2_EEPROM_ziv.xu' into 'jh7110-master'andy.hu2-3/+3
CR_9208_VF2_EEPROM_ziv.xu See merge request sdk/u-boot!77
2024-02-23Merge branch 'CR_6516_CPU_vol_fix_mason.huo' into 'jh7110-master'andy.hu3-3/+8
CR#6516 board: starfive: Add the default cpu max voltage See merge request sdk/u-boot!78
2024-02-18include: configs: devkits: change eeprom write page sizeZiv Xu1-1/+2
change eeprom write page size Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
2024-02-18riscv: dts: change eeprom model for devkitsZiv Xu1-2/+2
change eeprom model for devkits Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
2024-02-07board: starfive: Add the default cpu max voltageMason Huo3-3/+8
The system will read cpu info from OTP, but if the OTP read fails or OTP driver is not enabled, then the cpu voltage script will fail to delete cpu frequencies node in dts file. Add the default cpu max voltage to avoid these corner cases. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2024-02-06riscv: dts: change eeprom model for visionfiveZiv Xu1-2/+2
change eeprom model for visionfive Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
2024-02-06board: starfive: visionfive: change eeprom write pagesizeZiv Xu1-1/+1
change eeprom write pagesize Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
2024-01-19Merge branch 'CR_9038_uboot_32Mflash_ziv.xu' into 'jh7110-master'andy.hu3-0/+3
CR_9038_uboot_32Mflash_ziv.xu See merge request sdk/u-boot!76
2024-01-19configs: disable SPL_SPI_FLASH_TINY in defconfigZiv Xu3-0/+3
disable SPL_SPI_FLASH_TINY in defconfig Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
2023-12-06Merge branch 'CR_8638_dts_i2c5_hal.feng' into 'jh7110-master'JH7110_VF2_6.1_v5.10.3JH7110_VF2_515_v5.10.3andy.hu1-1/+1
CR_8638_dts_i2c5_hal.feng See merge request sdk/u-boot!75
2023-12-05riscv: dts: jh7110: Change the node name "i2c@12050000" to "i2c5@12050000"Hal Feng1-1/+1
So the I2C adapter can be recognized in OpenSBI. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29Merge branch 'CR_6790_MergeUboot_hal.feng' into 'jh7110-master'andy.hu63-771/+7021
CR_6790_MergeUboot_hal.feng See merge request sdk/u-boot!74
2023-11-29video: starfive: Add StarFive JH7110 Devkits board supportHal Feng4-28/+199
Make the code be compatible with the StarFive Devkits board. The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo. Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com> Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29riscv: dts: Change compatible "raydium,rm68200" to "starfive,seeed"Hal Feng2-2/+2
As drivers/video/raydium-rm68200-starfive.c is renamed to drivers/video/starfive_seeed_panel.c, change the dts accordingly. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29video: Rename raydium-rm68200-starfive.c to starfive_seeed_panel.cHal Feng2-10/+25
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo. Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com> Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29video: Add StarFive MIPI2EDP supportHal Feng3-0/+1312
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo. Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com> Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29pci: Add external gpio control for sideband signalMason Huo1-9/+25
For the devkit board, PCIe sideband signals are controled by external gpios, use gpio direct control instead of pinctrl. Signed-off-by: Mason Huo <mason.huo@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29net: phy: motorcomm: Move ytphy_of_config function call to startup functionYanhong Wang1-4/+8
In order to dynamically adjust the phy clock delay configuration, so move ytphy_of_config function call to startup function. Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
2023-11-29pinctrl: starfive: Set up usb overcurrent signalMason Huo1-1/+14
For devkit HW design, there is not GPIO specific for the usb controller overcurrent signal. Config the sys iomux register to hardwire this signal, so that the usb controller can work normally. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-11-29pinctrl: starfive: jh7110: Added suppport for pinctrl in SPLYanhong Wang2-7/+15
Added support for pinctrl driver in SPL. Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
2023-11-29clk: starfive: jh7110: Add full i2c clocksHal Feng1-18/+52
Correct the parent of i2c clocks and add full i2c clocks. The code mainly is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29common: board_r: Enable set_pmic()Hal Feng2-0/+6
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo. Signed-off-by: ziv.xu <ziv.xu@starfive.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29configs: starfive: Add starfive_devkits_defconfigHal Feng1-0/+171
Add a defconfig file for StarFive JH7110 Devkits board. The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29riscv: dts: Add StarFive JH7110 Devkits board device treeHal Feng3-0/+401
Add device tree for StarFive JH7110 Devkits board. The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29riscv: dts: jh7110: Sync with Devkits repoHal Feng2-13/+47
To be compatible with the Devkits board. The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29board: starfive: Add TARGET_STARFIVE_DEVKITS to KconfigHal Feng1-0/+4
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>
2023-11-29board: starfive: Add StarFive Devkits board supportHal Feng7-0/+1880
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>
2023-11-29video: starfive: Add StarFive VisionFive 2 board supportHal Feng3-2/+14
Make the code be compatible with the StarFive VisionFive 2 board. The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo. Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29pci: starfive: Add StarFive VisionFive 2 board supportHal Feng1-0/+9
Make the code be compatible with the StarFive VisionFive 2 board. The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo. Signed-off-by: Mason Huo <mason.huo@starfivetech.com> Signed-off-by: Minda Chen <minda.chen@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29net: dwc_eth_qos: Add StarFive VisionFive 2 board supportHal Feng1-0/+13
Make the code be compatible with the StarFive VisionFive 2 board. The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo. Signed-off-by: Samin Guo <samin.guo@linux.starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29mmc: dw_mmc: Add StarFive VisionFive 2 board supportHal Feng1-0/+4
Make the code be compatible with the StarFive VisionFive 2 board. The code is ported from tag JH7110_VF2_515_v3.9.3 of VF2 repo. Signed-off-by: William Qiu <william.qiu@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29cmd: eeprom: Add StarFive VisionFive 2 board supportJianlong Huang3-28/+44
Rename CONFIG_SYS_DEF_EEPROM_ADDR to CONFIG_SYS_I2C_EEPROM_ADDR based on current usage. Convert CONFIG_SYS_I2C_EEPROM_BUS, CONFIG_SYS_I2C_EEPROM_ADDR_LEN, CONFIG_SYS_EEPROM_SIZE, CONFIG_SYS_EEPROM_PAGE_WRITE_BITS and CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS to Kconfig. Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-11-29cmd/eeprom: fix data type issue for parse_numeric_paramJianlong.Huang1-2/+2
This patch fixs parse_numeric_param issue on some platfrom which has different sizes of int and long, like riscv64. On riscv64, int is 4 bytes, but long is 8 bytes. on this situation: ulong addr = parse_numeric_param(argv[index]); if argv[index] is "0x80000000", this "ulong addr" will be 0xffffffff80000000. Signed-off-by: Jianlong.Huang <jianlong.huang@starfivetech.com> Co-developed-by: Wei Fu <wefu@redhat.com> Signed-off-by: Wei Fu <wefu@redhat.com>
2023-11-29i2c: designware: support SYS_I2C_DW in SPLYanhong Wang2-1/+8
Add SYS_I2C_DW driver to support in SPL. Signed-off-by: Yanhong Wang <yanhong.wang@linux.starfivetech.com>
2023-11-29efi_loader: Enable RISCV_EFI_BOOT_PROTOCOL supportSunil V L7-0/+130
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>
2023-11-29configs: starfive: Add starfive_visionfive2_defconfigHal Feng2-75/+168
Add a defconfig file 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>
2023-11-29riscv: dts: Add StarFive VisionFive 2 board device treeHal Feng4-113/+493
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>
2023-11-29riscv: dts: jh7110: Add a new clock input to gmacHal Feng1-4/+8
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>