Commit bb104f27 authored by Andre Przywara's avatar Andre Przywara
Browse files

allwinner: Add H616 SoC ID



Change-Id: I557fd05401e24204952135cf3ca26479a43ad1f1
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent 01cec8f4
...@@ -17,5 +17,6 @@ ...@@ -17,5 +17,6 @@
#define SUNXI_SOC_A64 0x1689 #define SUNXI_SOC_A64 0x1689
#define SUNXI_SOC_H5 0x1718 #define SUNXI_SOC_H5 0x1718
#define SUNXI_SOC_H6 0x1728 #define SUNXI_SOC_H6 0x1728
#define SUNXI_SOC_H616 0x1823
#endif /* SUNXI_DEF_H */ #endif /* SUNXI_DEF_H */
...@@ -123,6 +123,9 @@ void bl31_platform_setup(void) ...@@ -123,6 +123,9 @@ void bl31_platform_setup(void)
case SUNXI_SOC_H6: case SUNXI_SOC_H6:
soc_name = "H6"; soc_name = "H6";
break; break;
case SUNXI_SOC_H616:
soc_name = "H616";
break;
default: default:
soc_name = "unknown"; soc_name = "unknown";
break; break;
......
...@@ -112,6 +112,7 @@ int sunxi_init_platform_r_twi(uint16_t socid, bool use_rsb) ...@@ -112,6 +112,7 @@ int sunxi_init_platform_r_twi(uint16_t socid, bool use_rsb)
device_bit = BIT(6); device_bit = BIT(6);
break; break;
case SUNXI_SOC_H6: case SUNXI_SOC_H6:
case SUNXI_SOC_H616:
pin_func = use_rsb ? 0x22 : 0x33; pin_func = use_rsb ? 0x22 : 0x33;
device_bit = BIT(16); device_bit = BIT(16);
reset_offset = use_rsb ? 0x1bc : 0x19c; reset_offset = use_rsb ? 0x1bc : 0x19c;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment