summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/include/soc/iomap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/include/soc/iomap.h')
-rw-r--r--src/soc/amd/picasso/include/soc/iomap.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/include/soc/iomap.h b/src/soc/amd/picasso/include/soc/iomap.h
index 4e11cbd4c8..ad0e7c4609 100644
--- a/src/soc/amd/picasso/include/soc/iomap.h
+++ b/src/soc/amd/picasso/include/soc/iomap.h
@@ -44,9 +44,16 @@
#define ALINK_AHB_ADDRESS 0xfedc0000
/* I2C fixed address */
-#define I2C_BASE_ADDRESS 0xfedc2000
+#define APU_I2C2_BASE 0xfedc4000
+#define APU_I2C3_BASE 0xfedc5000
+#define APU_I2C4_BASE 0xfedc6000
+#define APU_I2C_MIN_BUS 2
+#define APU_I2C_MAX_BUS 4
+#define APU_I2C_BLOCK_SIZE 0x1000
+#define I2C_BASE_ADDRESS APU_I2C2_BASE
#define I2C_DEVICE_SIZE 0x00001000
-#define I2C_DEVICE_COUNT 4
+#define I2C_DEVICE_COUNT 3
+
#if CONFIG(HPET_ADDRESS_OVERRIDE)
#error HPET address override is not allowed and must be fixed at 0xfed00000