- Feb 13, 2025
-
-
Nicolas Frattaroli authored
The Sige5 uses two fusb302 controllers, one of which is on the USB Type C power input connector. Add this controller to the Sige5's u-boot specific tree, as it is critical that it is initialised before Linux takes over, so that it does not kill the power input once someone adds the fusb302 node to its device tree. Also enable the necessary FUSB302 u-boot driver in the Sige5's defconfig. Signed-off-by:
Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
-
Nicolas Frattaroli authored
The proprietary USB loader as provided by rkbin is useful for a variety of tasks, such as wiping the factory image off eMMC with rockusb. Build it, and ship it as part of the CI pipeline. Signed-off-by:
Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
-
Nicolas Frattaroli authored
Replace the upstream u-boot gitlab CI with our own that is solely focused on building for the sige5 board. Signed-off-by:
Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
-
- Feb 10, 2025
-
-
Jonas Karlman authored
Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
Unsupported value 13, using default (13) Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
The BootROM on RK3576 has an issue loading boot images from an SD-card. This issue can be worked around by injecting an initial boot image before TPL that: writel(0x3ffff800, 0x3ff803b0) Prepend an image containing binary code that does this and return to BootROM to load next image, TPL. TODO: embed the binary code into rkcommon.c Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
Features tested on a ArmSoM Sige5 v1.1: - SD-card boot - eMMC boot - Ethernet Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
Add a minimal generic RK3576 board that only have eMMC and SDMMC enabled. This defconfig can be used to boot from eMMC or SD-card on most RK3576 boards that follow reference board design. Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
- drop mmc-hs200-1_8v, already implied by mmc-hs400-1_8v in dts/upstream - fix config name to match model in DT - fix spelling - drop BOARD_LATE_INIT, already selected by SoC symbol - update Kconfig options, fix load address, drop implied and unused - add Kconfig options, button, motorcomm phy, pmic and psci reset - include common header after ROCKCHIP_DEVICE_SETTINGS
-
Heiko Stuebner authored
The ROC-RK3576-PC is a SBC made by Firefly, designed around the RK3576 SoC. This adds the needed board infrastructure and config for it. Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Heiko Stuebner authored
As the name implies, it is built around the RK3576 SoC with 4x Cortex-A72 cores, four Cortex-A53 cores and Mali-G52 MC3 GPU. Storage options are EMMC, SD-Card, a 2242 M.2 slot and the possibility to use UFS 2.0 storage. Video Output options are a HDMI port, a DSI connector as well as Display- Port via the TypeC connector (all of them not yet supported). Networking options are a Low-profile Gigabit Ethernet RJ45 port with Motorcomm YT8531 PHY as well as WiFi via an AMPAK AP6256 module. USB ports on the board are 1x USB 3.0 port, 1x USB 2.0 port, 1x USB Type-C and it comes with 40-pin GPIO header Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Jonas Karlman authored
- use code based on mainline Linux driver
-
Heiko Stuebner authored
Add rk_gmac_ops and other special handling that is needed for GMAC to work on RK3576. Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Heiko Stuebner authored
The rk3576 uses a different base-compatible, as starting with this generation, the clock phase tuning is done via registers inside the mmc controller and not from inside the CRU. In U-Boot we do not tune at all, so no other code changes are necessary. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
-
Jonas Karlman authored
- add missing tap and delay num added in rk3528 series, see [1] - after [2] and these new tap and delay values HS200 mode should work [1] https://patchwork.ozlabs.org/patch/2038152/ [2] https://patchwork.ozlabs.org/patch/2038155/
-
Heiko Stuebner authored
Add support for RK3576 to the rockchip sdhci driver. It's pretty similar to its cousins found in the RK3568 and RK3588 and the specific hs400-tx-tap number was taken from the vendor-u-boot. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
-
Heiko Stuebner authored
Add support for RK3588 compatible. The RK3576 OTP uses the same read mechanism as the RK3588, just with different values for offset and size. Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Jonas Karlman authored
- change to use regmap_update_bits() to closer match linux - remove debug() calls, pinctrl-rockchip-core.c has similar debug()
-
Steven Liu authored
Add support for the rk3576 variant of pinctrl. Signed-off-by:
Steven Liu <steven.liu@rock-chips.com> [adapted to mainline u-boot] Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Elaine Zhang authored
The current DT bindings for the rk3576 clock use a different ID than the one that is supposed to be written to the hardware registers. Thus, we cannot use directly the id provided in the phandle, but rather use a lookup table to correctly setup the hardware. This follows the implementation done in the Linux-Kernel and also how the rk3588 does this both in the Linux-Kernel as well as U-Boot. Signed-off-by:
Elaine Zhang <zhangqing@rock-chips.com> [adapted from mainline Linux code for u-boot] Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Jonas Karlman authored
- remove unused clk info struct - remove unused grf reference in cru priv struct - add ref_clk0_out_pll from header in latest vendor tag
-
Elaine Zhang authored
Add clock driver support for Rockchip RK3576 SoC. Signed-off-by:
Elaine Zhang <zhangqing@rock-chips.com> [adapted to mainline u-boot] Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Jonas Karlman authored
- remove probe, no need to cache ram_info - read sdram size direct in get_info callback - remove syscon dependancy and use define for base addr and reg
-
Heiko Stuebner authored
Add ddr driver for rk3576 to get the ram capacity. Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Jonas Karlman authored
- add basic checkboard() to read cpu code from otp, should be extended to check cpu variant in future, i.e. RK3576J
-
Jonas Karlman authored
- remove unused grf header - remove unused ioc header
-
Jonas Karlman authored
- remove unused syscon types, GRF and PMUGRF could probably also be removed - rename driver to be more consistent
-
Jonas Karlman authored
- use defined cru base address, simplify code and saves a few ms during boot
-
Jonas Karlman authored
- remove unused spl, grf and ioc header include - remove invalidate cache workaround, sdhci invalidate and ram_base has been fixed in [1] and [2] - use defines for HP TIMER config - use SPL_BUILD instead of !TPL_BUILD && XPL_BUILD for arch_cpu_init() [1] https://patchwork.ozlabs.org/patch/2038102/ [2] https://patchwork.ozlabs.org/patch/2039037/
-
Jonas Karlman authored
- add minimal rng node, see [1] for driver - add minimal otp node instead of picking an unmerged dts/upstream patch - add missing emmc_rstnout, sdmmc0_pwren and pcfg_pull_up_drv_level_3 pinctrl nodes - add missing ioc_grf to fix use of pinctrl in SPL - remove bootph props from unreferenced pcfg_pull_down and php_grf nodes - adjust bootph for uart pinctrl to save a few ms boot time [1] https://patchwork.ozlabs.org/patch/2038156/
-
Jonas Karlman authored
- drop SCMI related options - imply common options under SoC symbol instead of each board defconfig - use ROCKCHIP_COMMON_STACK_ADDR after [1] - add SYS_CONFIG_NAME to allow adding a board defconfig without a TARGET [1] https://patchwork.ozlabs.org/patch/2039045/
-
Jonas Karlman authored
- add missing CFG_CPUID_OFFSET, 0xa instead of default 0x10 - limit SDRAM_MAX_SIZE to space below the 4G address boundary - allow ROCKCHIP_DEVICE_SETTINGS to be undefined - remove the legacy partitions env var, the recommentation is to use a single or two partitions, first starting at 16+ MiB offset
-
Xuhui Lin authored
The Rockchip RK3588 is a ARM-based SoC with quad-core Cortex-A72 and quad-core Cortex-A53 including 6TOPS NPU, Mali-G52 MC3, HDMI Out, DP, eDP, MIPI DSI, MIPI CSI2, LPDDR4/4X/5, eMMC5.1, SD3.0/MMC4.5, UFS, USB OTG 3.0, Type-C, USB 2.0, PCIe 2.1, SATA 3, Ethernet, SDIO3.0, I2C, UART, SPI, GPIO and PWM. Add arch core support for it. Signed-off-by:
Xuhui Lin <xuhui.lin@rock-chips.com> [adapted for mainline u-boot] Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Xuhui Lin authored
Add support for rk3576 package header in mkimage tool. Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Jonas Karlman authored
- use CFG_SYS_SDRAM_BASE + SZ_2M consistently - change to use SZ_2M and SZ_32M for TF-A/OP-TEE
-
Heiko Stuebner authored
Currently the sdram code for arm64 expects CFG_SYS_SDRAM_BASE to be 0. The ram being in front and the device-area behind it. The upcoming RK3576 uses a different layout, with the device area in front the ram, which then also extends past the 4G mark. Adapt both the generic zone definitions as well as the ATAG parser to be usable on devices where CFG_SYS_SDRAM_BASE is not 0. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Reviewed-by:
Quentin Schulz <quentin.schulz@cherry.de>
-
Jonas Karlman authored
The Radxa E20C is an ultra-compact network computer with a RK3528A SoC that offers a wide range of networking capabilities. Features tested on a Radxa E20C v1.104: - SD-card boot - eMMC boot - Ethernet - USB host Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
Add a minimal generic RK3528 board that only have eMMC and SDMMC enabled. This defconfig can be used to boot from eMMC or SD-card on most RK3528 boards that follow reference board design. Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-
Jonas Karlman authored
Add a rk3528-u-boot.dtsi extending the basic dts/upstream rk3528.dtsi with bare minimum nodes to have a booting system from eMMC and SD-card. Signed-off-by:
Jonas Karlman <jonas@kwiboo.se>
-