diff --git a/arch/arm64/boot/dts/seco/include/e81-pinfunc.h b/arch/arm64/boot/dts/seco/include/e81-pinfunc.h
index 704554fdb1663b05d6b9a1ac20e754d501beec31..131278380dc8b2d7a01075c36771a4b16db5b60e 100644
--- a/arch/arm64/boot/dts/seco/include/e81-pinfunc.h
+++ b/arch/arm64/boot/dts/seco/include/e81-pinfunc.h
@@ -2,7 +2,7 @@
 #ifndef E81_PINFUNC_H
 #define E81_PINFUNC_H
 
-#define STM32_NGPIOS 30
+#define STM32_NGPIOS 31
 
 #define LCD0_VDD_EN_PIN 24
 #define LCD0_VDD_EN &stm32 LCD0_VDD_EN_PIN