summaryrefslogtreecommitdiff
path: root/board
AgeCommit message (Collapse)AuthorFilesLines
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 Chen1-0/+34
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-02-23Merge branch 'CR_9208_VF2_EEPROM_ziv.xu' into 'jh7110-master'andy.hu1-1/+1
CR_9208_VF2_EEPROM_ziv.xu See merge request sdk/u-boot!77
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-06board: starfive: visionfive: change eeprom write pagesizeZiv Xu1-1/+1
change eeprom write pagesize Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
2023-11-29board: starfive: Add StarFive Devkits board supportHal Feng6-0/+1475
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 VisionFive 2 board supportHal Feng9-304/+1580
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>
2023-08-16riscv: starfive: evb: add get_boot_modeSamin Guo1-0/+8
add get_boot_mode function to support Multi-device boot Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-28spl: starfive: modify driver strength and slew rateWilliam Qiu1-0/+11
Set eMMC/sd clk's DR to 2 and set its SR to 1. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-07-19board: starfive: evb: Add dynamic CMA adjustment schemeSamin Guo1-0/+8
Synchronize from vf2 to the dynamic CMA scheme Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-19board: starfive: evb: Add resize-ddr functionSamin Guo1-0/+47
Add board-level resize-DDR function for evb Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-06-05board: starfive: jh7110: Add support for 1.25GHz chipsMason Huo1-11/+3
Remove max cpu voltages: 1.12v, 1.10v, 1.08v. Set the cpu max frequency to 1.25G per OTP value. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-04-23board: starfive: copyright: Standardize the copyright formatYanhong Wang6-6/+6
Unify the content format of the copyright section Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
2023-04-07Merge branch 'CR_4563_memcpy_samin.guo' into 'jh7110-master'andy.hu1-22/+0
CR4563:Configure the l2 prefetcher parameter See merge request sdk/u-boot!48
2023-04-07board: starfive: jh7110: Modify cpu voltage set commandsMason Huo1-7/+11
Update the cpu voltage set commands per binning information from OTP. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-04-03board: starfive: jh7110-evb: remove l2 pretcher in borad cfgSamin Guo1-22/+0
It should be configured in L2. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-03-17Merge branch 'CR_4094_evb_515_uboot_logo_keith.zhao' into 'jh7110-master'andy.hu1-1/+2
CR_4094 display: update uboot logo display function: See merge request sdk/u-boot!42
2023-03-17CR_4094 display: update uboot logo display function:keith.zhao1-1/+2
2023-03-09board: starfive: jh7110: Add 1.1 & 1.02v max cpu voltageMason Huo1-1/+9
Add two more binning IC types, and set add their max cpu voltage accordingly. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-02-28board: starfive: jh7110: Add cpu voltage set commandsmason.huo1-0/+36
Get the binning information from OTP, and set change the cpu max voltage accordingly. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
2023-02-17board:riscv:jh7110: modify config for starfive JH7110 boardkeith.zhao1-0/+20
add board_late_init to init display memory config the bitmap picture Signed-off-by:keith.zhao<keith.zhao@statfivetech.com>
2023-01-03misc: OTP: Starfive-jh7110: update the return value of starfive_otp_readYanhong Wang2-2/+2
Update the return value to match the function prototype definition. Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
2022-12-16board:starfive:jh7110: Set the CPU default frequency to 1000MHzSamin Guo1-2/+2
Set to 1000M to ensure the CPU can work normally under 0.8V` voltage Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-11-23board:starfive:Remove usb/sdio0/sdio1 gpio initJianlong Huang1-21/+0
Remove usb/sdio0/sdio1 gpio init. Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-02driver:qspi: Switch the QSPI parent clock to pll0Samin Guo1-1/+4
Switch the QSPI parent clock to pll0 to improve the QSPI speed Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-11-01spl:starfive:jh7110: Improved GMAC0/1 TX I/O PAD capabilitySamin Guo1-15/+30
JH7110B requires a higher IOPAD capability in 1000M mode. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-11-01board:starfive:evb: add get_chip_typeSamin Guo1-1/+27
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>
2022-11-01board:starfive:evb: add jh7110_gmac_sel_tx_to_rgmiiSamin Guo1-0/+18
JH7110B needs switch gmac0/1 tx to rgmii phy. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-10-18spl: starfive: jh7110: switch pll2 to 1188MYan Hong Wang1-165/+11
Switch the pll2 clk to 1188M with the comm pll interface on JH7110. Signed-off-by: Yan Hong Wang <yanhong.wang@starfivetech.com>
2022-10-18spl:jh7110: Modify cpu frequency should be before switching pllsamin1-3/+3
Signed-off-by: samin <samin.guo@starfivetech.com>
2022-10-18spl:starfive: Add support for different CPU frequencies.samin1-0/+157
The cpu uses 1.25G by default. Lists of frequencies(MHz): -375/500/625/750/875/1000/1250 -1375/1500/1625/1750/1800 Note: Some frequencies require voltage regulation. Signed-off-by: samin <samin.guo@starfivetech.com>
2022-10-18spl:starfive: remove function spl_cpu_fre_150/125samin1-33/+0
replace them with spl_cpu_set_rate. Signed-off-by: samin <samin.guo@starfivetech.com>
2022-10-18SPL:starfive-jh7110: Modify the default division factor of sdcard clkyanhong.wang1-0/+5
Modify the default division factor of sdcard clk to 4. Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2022-10-18board:starfive:evb: add usb init configyanhong.wang1-24/+65
Add usb init config for starfive EVB board. Default set to USB2.0 Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2022-10-18spl: satrfive: bus_root switch to pll2.samin1-4/+0
High-speed emmc/sdio support Signed-off-by: samin <samin.guo@starfivetech.com>
2022-10-18spl:gpio: Set GPIO domain0-3 voltage to 1.8Vsamin1-1/+1
The default GPIO domian0-3 voltage is 3.3V, which is controlled by 4 bits. 0 means 3.3.V, 1 means 1.8V. Signed-off-by: samin <samin.guo@starfivetech.com>
2022-10-18board:starfive:evb: modify the GPIO configuration for sd moduleyanhong.wang2-9/+15
Modify the GPIO configuration for sd&emmc module, switch the clk of sd&emmc to high frequency Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2022-10-18SPL:riscv:starfive-jh7110: Adjust CPU working frequencyyanhong.wang1-1/+34
Adjust CPU working frequency from 1G to 1.25G for starfive EVB board. Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2022-10-18board:starfive: enable prefetcher and add two macaddress configurationyanhong.wang1-6/+10
Add two macaddress for gmac0 and gmac1. Enable prefetcher for EVB board. Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2022-10-18board:starfive: add clk inityanhong.wang2-25/+31
Add clk init for ddr on JH7110 board Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2022-10-18board:starfive: add starfive evb board supportyanhong.wang5-0/+361
Add board support for StarFive EVB. Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2022-10-18board:starfive: add rtc timer inityanhong.wang1-1/+37
The rtc timer is used early in kernel, but the clk&reset driver is not ready,so some clk&reset init is placed here. Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2022-10-18board:starfive: add starfive visionfive board supportyanhong.wang5-0/+324
Add board support for StarFive VisionFive. Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2021-09-27arm: mvebu: turris_omnia: fix leaked mtd deviceMarek Behún1-0/+3
After getting MTD device via get_mtd_device_nm(), we need to put it with put_mtd_device(), otherwise we get Removing MTD device #0 (mx25l6405d) with use count 1 before booting kernel. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Pali Rohár <pali@kernel.org> Tested-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
2021-09-24arm: orion5x: edminiv2: change maintainerSimon Guinot1-1/+1
Since Albert Aribaud is not maintaining anymore the LaCie Ethernet Disk mini V2 board, then I am taking over. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Stefan Roese <sr@denx.de>
2021-09-24Taking over responsibility for GE boards from SebastianMartyn Welch3-3/+3
I am taking over responsibility for the GE board from Sebastian Reichel. Updating the MAINTAINERS files to reflect this. Signed-off-by: Martyn Welch <martyn.welch@collabora.com> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2021-09-22arm: socfpga: vining: Let DWMAC configure PHY reset GPIOMarek Vasut1-7/+0
The DM DWMAC driver is perfectly capable of configuring the ethernet PHY reset GPIO, let the driver do it instead of doing it in the board file. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Siew Chin Lim <elly.siew.chin.lim@intel.com> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Cc: Tien Fong Chee <tien.fong.chee@intel.com>
2021-09-18Revert "efi_capsule: Move signature from DTB to .rodata"Simon Glass1-0/+1
This was unfortunately applied despite much discussion about it beiong the wrong way to implement this feature. Revert it before too many other things are built on top of it. This reverts commit ddf67daac39de76d2697d587148f4c2cb768f492. Signed-off-by: Simon Glass <sjg@chromium.org>
2021-09-15rpi: Conditionally add simple-framebuffer nodeIvan T. Ivanov1-6/+5
It appears that RPi firmware has already added framebuffer node under /chosen, at least on RPi 2 versions. So check for this and don't add duplicate node. Signed-off-by: Ivan T. Ivanov <iivanov@suse.de> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
2021-09-14pci: Drop DM_PCISimon Glass2-2/+0
This option has not effect now. Drop it, using PCI instead where needed. Signed-off-by: Simon Glass <sjg@chromium.org>