summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/include/soc/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/stoneyridge/include/soc/gpio.h')
-rw-r--r--src/soc/amd/stoneyridge/include/soc/gpio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/include/soc/gpio.h b/src/soc/amd/stoneyridge/include/soc/gpio.h
index 47eae84c86..fe8240fb11 100644
--- a/src/soc/amd/stoneyridge/include/soc/gpio.h
+++ b/src/soc/amd/stoneyridge/include/soc/gpio.h
@@ -41,6 +41,10 @@ struct soc_amd_i2c_save {
uint8_t mux_value;
};
+#define GPIO_MASTER_SWITCH 0xFC
+#define GPIO_MASK_STS_EN BIT(28)
+#define GPIO_INTERRUPT_EN BIT(30)
+
#define GPIO_I2C0_SCL BIT(0)
#define GPIO_I2C1_SCL BIT(1)
#define GPIO_I2C2_SCL BIT(2)