mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-13 16:07:04 +02:00
Move plat common sources to common directory, so that same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Id2b1822c97cc50e3febaffc2e5f42b4d53809a17
24 lines
544 B
C
24 lines
544 B
C
/*
|
|
* Copyright (c) 2015-2021, Renesas Electronics Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef IIC_DVFS_H
|
|
#define IIC_DVFS_H
|
|
|
|
/* PMIC slave */
|
|
#define PMIC (0x30U)
|
|
#define BKUP_MODE_CNT (0x20U)
|
|
#define DVFS_SET_VID (0x54U)
|
|
#define REG_KEEP10 (0x79U)
|
|
|
|
/* EEPROM slave */
|
|
#define EEPROM (0x50U)
|
|
#define BOARD_ID (0x70U)
|
|
|
|
int32_t rcar_iic_dvfs_receive(uint8_t slave, uint8_t reg, uint8_t *data);
|
|
int32_t rcar_iic_dvfs_send(uint8_t slave, uint8_t regr, uint8_t data);
|
|
|
|
#endif /* IIC_DVFS_H */
|