summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/qualcomm/sc7280/include/soc/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/qualcomm/sc7280/include/soc/gpio.h b/src/soc/qualcomm/sc7280/include/soc/gpio.h
index 6d6d0cd04c..8d95c913cd 100644
--- a/src/soc/qualcomm/sc7280/include/soc/gpio.h
+++ b/src/soc/qualcomm/sc7280/include/soc/gpio.h
@@ -8,7 +8,7 @@
#include <soc/gpio_common.h>
#define PIN(index, func1, func2, func3, func4) \
-GPIO##index##_ADDR = TLMM_TILE_BASE + (index * 0x1000), \
+GPIO##index##_ADDR = TLMM_TILE_BASE + (index * TLMM_GPIO_OFF_DELTA), \
GPIO##index##_FUNC_##func1 = 1, \
GPIO##index##_FUNC_##func2 = 2, \
GPIO##index##_FUNC_##func3 = 3, \