allwinner: Add H616 SoC ID

Change-Id: I557fd05401e24204952135cf3ca26479a43ad1f1
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
Andre Przywara 2020-11-24 11:07:10 +00:00
parent 01cec8f40c
commit bb104f27d4
3 changed files with 5 additions and 0 deletions

View File

@ -17,5 +17,6 @@
#define SUNXI_SOC_A64 0x1689
#define SUNXI_SOC_H5 0x1718
#define SUNXI_SOC_H6 0x1728
#define SUNXI_SOC_H616 0x1823
#endif /* SUNXI_DEF_H */

View File

@ -123,6 +123,9 @@ void bl31_platform_setup(void)
case SUNXI_SOC_H6:
soc_name = "H6";
break;
case SUNXI_SOC_H616:
soc_name = "H616";
break;
default:
soc_name = "unknown";
break;

View File

@ -112,6 +112,7 @@ int sunxi_init_platform_r_twi(uint16_t socid, bool use_rsb)
device_bit = BIT(6);
break;
case SUNXI_SOC_H6:
case SUNXI_SOC_H616:
pin_func = use_rsb ? 0x22 : 0x33;
device_bit = BIT(16);
reset_offset = use_rsb ? 0x1bc : 0x19c;