mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 02:44:37 +00:00

This driver supports the I2C module on the Renesas RZ/G2L (R9A07G044) SoC, also known as the RIIC module. This patch is based on both the u-boot driver in the Renesas RZ BSP 3.0.5 release [1] (commit 7fcc1fdc2534), and the Linux v6.7 driver (commit 0dd3ee311255). Support for deblocking the I2C bus is included as this may be needed after triggering a reset via the Power Management IC (PMIC) over I2C (the PMIC asserts the reset line before the SoC completes the I2C write transaction with obvious bus locking effects). If the SDA line is observed to be low during initialisation, we automatically attempt to deblock. [1]: https://github.com/renesas-rz/renesas-u-boot-cip Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_COUNTER_FREQUENCY=16666666
|
|
CONFIG_SYS_INIT_SP_BSS_OFFSET=1048576
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_RMOBILE=y
|
|
CONFIG_TEXT_BASE=0x50000000
|
|
CONFIG_SYS_MALLOC_LEN=0x4000000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x80000
|
|
CONFIG_ENV_SIZE=0x20000
|
|
CONFIG_ENV_OFFSET=0xFFFE0000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="r9a07g044l2-smarc"
|
|
CONFIG_RZG2L=y
|
|
CONFIG_SYS_MONITOR_LEN=1048576
|
|
CONFIG_SYS_LOAD_ADDR=0x58000000
|
|
CONFIG_REMAKE_ELF=y
|
|
CONFIG_FIT=y
|
|
CONFIG_SUPPORT_RAW_INITRD=y
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_SYS_PBSIZE=2068
|
|
# CONFIG_BOARD_EARLY_INIT_F is not set
|
|
CONFIG_SYS_MALLOC_BOOTPARAMS=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_MAXARGS=64
|
|
CONFIG_CMD_CLK=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PART=y
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_MULTI_DTB_FIT_LZO=y
|
|
CONFIG_MULTI_DTB_FIT_USER_DEFINED_AREA=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SYS_MMC_ENV_PART=2
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_REGMAP=y
|
|
CONFIG_CLK=y
|
|
CONFIG_CLK_RENESAS=y
|
|
# CONFIG_CLK_RCAR_GEN3 is not set
|
|
CONFIG_GPIO_HOG=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_MMC_IO_VOLTAGE=y
|
|
CONFIG_MMC_UHS_SUPPORT=y
|
|
CONFIG_MMC_HS400_SUPPORT=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_REGULATOR_GPIO=y
|