hw/mcu/dialog: Add 1MHz high-speed mode to hal i2c

Adds 1MHz i2c speed to the i2c hal. The 1MHz speed requires
high speed mode on the chip. In order for this to work it
appears that the RESTART_EN bit has to be set in the control
register or a tx abort condition occurs (bit 8 in tx abort source reg)
diff --git a/hw/mcu/dialog/da1469x/src/hal_i2c.c b/hw/mcu/dialog/da1469x/src/hal_i2c.c
index d6983b9..53b9c7d 100644
--- a/hw/mcu/dialog/da1469x/src/hal_i2c.c
+++ b/hw/mcu/dialog/da1469x/src/hal_i2c.c
@@ -187,7 +187,8 @@
     i2c_con_reg = i2c->data->I2C_CON_REG;
 
     /* Clear speed register */
-    i2c_con_reg &= ~I2C_I2C_CON_REG_I2C_SPEED_Msk;
+    i2c_con_reg &= ~(I2C_I2C_CON_REG_I2C_SPEED_Msk |
+                     I2C_I2C_CON_REG_I2C_RESTART_EN_Msk);
     switch (frequency) {
     case 100:
         i2c_con_reg |= (1 << I2C_I2C_CON_REG_I2C_SPEED_Pos);
@@ -195,6 +196,10 @@
     case 400:
         i2c_con_reg |= (2 << I2C_I2C_CON_REG_I2C_SPEED_Pos);
         break;
+    case 1000:
+        i2c_con_reg |= ((3 << I2C_I2C_CON_REG_I2C_SPEED_Pos) |
+                        I2C_I2C_CON_REG_I2C_RESTART_EN_Msk);
+        break;
     default:
         return HAL_I2C_ERR_INVAL;
     }