From 5fd3c2481b7c0f81adfd6f7f6f7667fdda89df79 Mon Sep 17 00:00:00 2001
From: Oreeeee <oree3ee@gmail.com>
Date: Tue, 21 Oct 2025 02:02:41 +0200
Subject: [PATCH 4/4] Pregenerate DrvGen's output

Included DrvGen executable was a 32-bit x86 binary, which
had problems on pmOS's CI pipeline. However, its output
can be pregenerated.

Note: cust_eint.dtsi had to be moved manually as I couldn't get
it to add to include path properly for some reason.
---
 arch/arm64/Makefile                           |    2 -
 arch/arm64/boot/dts/cust_eint.dtsi            |   68 +
 drivers/misc/mediatek/Makefile.custom         |    2 +-
 .../connectivity/combo/common/Makefile        |    2 +-
 .../lcsh8735_6tb_a8_l/dct/dct/cust_eint.dtsi  |   68 +
 .../lcsh8735_6tb_a8_l/dct/dct/inc/cust_adc.h  |   18 +
 .../dct/dct/inc/cust_clk_buf.h                |   22 +
 .../lcsh8735_6tb_a8_l/dct/dct/inc/cust_eint.h |   74 +
 .../dct/dct/inc/cust_eint_md1.h               |   56 +
 .../dct/dct/inc/cust_gpio_boot.h              | 1693 +++++++++++++++++
 .../dct/dct/inc/cust_gpio_usage.h             |  630 ++++++
 .../lcsh8735_6tb_a8_l/dct/dct/inc/cust_i2c.h  |   78 +
 .../lcsh8735_6tb_a8_l/dct/dct/inc/cust_kpd.h  |  111 ++
 .../dct/dct/inc/cust_power.h                  |   12 +
 .../lcsh8735_6tb_a8_l/dct/dct/inc/pmic_drv.h  |   69 +
 .../lcsh8735_6tb_a8_l/dct/dct/pmic_drv.c      |   22 +
 16 files changed, 2923 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm64/boot/dts/cust_eint.dtsi
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/cust_eint.dtsi
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_adc.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_clk_buf.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_eint.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_eint_md1.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_gpio_boot.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_gpio_usage.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_i2c.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_kpd.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_power.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/pmic_drv.h
 create mode 100644 drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/pmic_drv.c

diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index a7760154..f1968ba7 100755
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -57,8 +57,6 @@ export MTK_PLATFORM MTK_PROJECT MTK_TARGET_PROJECT
 
 all:	$(KBUILD_IMAGE) $(KBUILD_DTBS)
 
--include $(srctree)/scripts/drvgen/drvgen.mk
-
 boot := arch/arm64/boot
 
 Image Image.gz: vmlinux
diff --git a/arch/arm64/boot/dts/cust_eint.dtsi b/arch/arm64/boot/dts/cust_eint.dtsi
new file mode 100644
index 00000000..fc3d2f9e
--- /dev/null
+++ b/arch/arm64/boot/dts/cust_eint.dtsi
@@ -0,0 +1,68 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:35 2025
+ * Do Not Modify the File.
+ */
+
+/*************************
+ * EINT DTSI File
+*************************/
+
+&eintc {
+	IRQ_NFC@2 {
+		compatible = "mediatek, IRQ_NFC-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <2 4>;
+		debounce = <2 0>;
+	};
+
+	MSDC1_INS@5 {
+		compatible = "mediatek, MSDC1_INS-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <5 8>;
+		debounce = <5 1000>;
+	};
+
+	ACCDET@6 {
+		compatible = "mediatek, ACCDET-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <6 8>;
+		debounce = <6 256000>;
+	};
+
+	TOUCH_PANEL@10 {
+		compatible = "mediatek, TOUCH_PANEL-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <10 2>;
+		debounce = <10 0>;
+	};
+
+	ALS@65 {
+		compatible = "mediatek, ALS-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <65 8>;
+		debounce = <65 0>;
+	};
+
+	GSE_1@66 {
+		compatible = "mediatek, GSE_1-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <66 8>;
+		debounce = <66 0>;
+	};
+
+	GYRO@67 {
+		compatible = "mediatek, GYRO-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <67 8>;
+		debounce = <67 0>;
+	};
+
+	EXT_BUCK_OC@78 {
+		compatible = "mediatek, EXT_BUCK_OC-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <78 4>;
+		debounce = <78 0>;
+	};
+
+};
diff --git a/drivers/misc/mediatek/Makefile.custom b/drivers/misc/mediatek/Makefile.custom
index 459069b3..bf01232b 100755
--- a/drivers/misc/mediatek/Makefile.custom
+++ b/drivers/misc/mediatek/Makefile.custom
@@ -35,7 +35,7 @@ ccflags-y += -I$(MTK_PLATFORM_PATH_ROOT)/include \
              -I$(MTK_PROJECT_PATH_ROOT)/sound/inc \
              -I$(MTK_PROJECT_PATH_ROOT)/touchpanel/ft5406_82 \
              -I$(MTK_PROJECT_PATH_ROOT)/vibrator \
-	         -I$(DRVGEN_OUT)/inc
+	         -I$(MTK_PROJECT_PATH_ROOT)/dct/dct/inc
 
 ccflags-y += -I$(MTK_CUSTOM_PATH)/accdet/$(MTK_PLATFORM) \
              -I$(MTK_CUSTOM_PATH)/accelerometer/inc \
diff --git a/drivers/misc/mediatek/connectivity/combo/common/Makefile b/drivers/misc/mediatek/connectivity/combo/common/Makefile
index 8522f8b4..eb995ad1 100755
--- a/drivers/misc/mediatek/connectivity/combo/common/Makefile
+++ b/drivers/misc/mediatek/connectivity/combo/common/Makefile
@@ -6,7 +6,7 @@ subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/eccci/
 subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/eemcs/
 subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/conn_md/include
 #subdir-ccflags-y += -I$(srctree)/arch/arm/mach-$(MTK_PLATFORM)/$(ARCH_MTK_PROJECT)/dct/dct
-subdir-ccflags-y += -I$(DRVGEN_OUT)/inc
+subdir-ccflags-y += -I$(MTK_PROJECT_PATH_ROOT)/dct/dct/inc
 subdir-ccflags-y += -DWMT_UART_RX_MODE_WORK=0 # 1. work thread 0. tasklet
 subdir-ccflags-y += -DREMOVE_MK_NODE=1
 subdir-ccflags-y += -DWMT_SDIO_MODE=1
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/cust_eint.dtsi b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/cust_eint.dtsi
new file mode 100644
index 00000000..fc3d2f9e
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/cust_eint.dtsi
@@ -0,0 +1,68 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:35 2025
+ * Do Not Modify the File.
+ */
+
+/*************************
+ * EINT DTSI File
+*************************/
+
+&eintc {
+	IRQ_NFC@2 {
+		compatible = "mediatek, IRQ_NFC-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <2 4>;
+		debounce = <2 0>;
+	};
+
+	MSDC1_INS@5 {
+		compatible = "mediatek, MSDC1_INS-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <5 8>;
+		debounce = <5 1000>;
+	};
+
+	ACCDET@6 {
+		compatible = "mediatek, ACCDET-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <6 8>;
+		debounce = <6 256000>;
+	};
+
+	TOUCH_PANEL@10 {
+		compatible = "mediatek, TOUCH_PANEL-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <10 2>;
+		debounce = <10 0>;
+	};
+
+	ALS@65 {
+		compatible = "mediatek, ALS-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <65 8>;
+		debounce = <65 0>;
+	};
+
+	GSE_1@66 {
+		compatible = "mediatek, GSE_1-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <66 8>;
+		debounce = <66 0>;
+	};
+
+	GYRO@67 {
+		compatible = "mediatek, GYRO-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <67 8>;
+		debounce = <67 0>;
+	};
+
+	EXT_BUCK_OC@78 {
+		compatible = "mediatek, EXT_BUCK_OC-eint";
+		interrupt-parent = <&eintc>;
+		interrupts = <78 4>;
+		debounce = <78 0>;
+	};
+
+};
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_adc.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_adc.h
new file mode 100644
index 00000000..c4b01b82
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_adc.h
@@ -0,0 +1,18 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6 for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:34 2025
+ * Do Not Modify the File.
+ */
+
+#ifndef __CUST_AUXADC_TOOL_H
+#define __CUST_AUXADC_TOOL_H
+
+
+#define AUXADC_TEMPERATURE_CHANNEL     0
+#define AUXADC_TEMPERATURE1_CHANNEL     1
+#define AUXADC_ADC_FDD_RF_PARAMS_DYNAMIC_CUSTOM_CH_CHANNEL     12
+
+
+#endif //_CUST_AUXADC_TOOL_H
+
+
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_clk_buf.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_clk_buf.h
new file mode 100644
index 00000000..b0397891
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_clk_buf.h
@@ -0,0 +1,22 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:35 2025
+ * Do Not Modify the File.
+ */
+
+#ifndef __CUST_CLK_BUF_H__
+#define __CUST_CLK_BUF_H__
+typedef enum{
+	CLOCK_BUFFER_DISABLE,
+	CLOCK_BUFFER_SW_CONTROL,
+	CLOCK_BUFFER_HW_CONTROL
+}MTK_CLK_BUF_STATUS;
+
+#define CLK_BUF1_STATUS	CLOCK_BUFFER_HW_CONTROL
+#define CLK_BUF2_STATUS	CLOCK_BUFFER_SW_CONTROL
+#define CLK_BUF3_STATUS	CLOCK_BUFFER_SW_CONTROL
+#define CLK_BUF4_STATUS	CLOCK_BUFFER_SW_CONTROL
+
+
+
+#endif
\ No newline at end of file
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_eint.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_eint.h
new file mode 100644
index 00000000..9d1bdf43
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_eint.h
@@ -0,0 +1,74 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:34 2025
+ * Do Not Modify the File.
+ */
+
+#ifndef __CUST_EINTH
+#define __CUST_EINTH
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define CUST_EINTF_TRIGGER_RISING     			1    //High Polarity and Edge Sensitive
+#define CUST_EINTF_TRIGGER_FALLING    			2    //Low Polarity and Edge Sensitive
+#define CUST_EINTF_TRIGGER_HIGH      				4    //High Polarity and Level Sensitive
+#define CUST_EINTF_TRIGGER_LOW       				8    //Low Polarity and Level Sensitive
+
+#define CUST_EINT_DEBOUNCE_DISABLE          0
+#define CUST_EINT_DEBOUNCE_ENABLE           1
+
+//////////////////////////////////////////////////////////////////////////////
+
+
+#define CUST_EINT_IRQ_NFC_NUM              2
+#define CUST_EINT_IRQ_NFC_DEBOUNCE_CN      0
+#define CUST_EINT_IRQ_NFC_TYPE							CUST_EINTF_TRIGGER_HIGH
+#define CUST_EINT_IRQ_NFC_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_DISABLE
+
+#define CUST_EINT_MSDC1_INS_NUM              5
+#define CUST_EINT_MSDC1_INS_DEBOUNCE_CN      1
+#define CUST_EINT_MSDC1_INS_TYPE							CUST_EINTF_TRIGGER_LOW
+#define CUST_EINT_MSDC1_INS_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_ENABLE
+
+#define CUST_EINT_ACCDET_NUM              6
+#define CUST_EINT_ACCDET_DEBOUNCE_CN      256
+#define CUST_EINT_ACCDET_TYPE							CUST_EINTF_TRIGGER_LOW
+#define CUST_EINT_ACCDET_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_ENABLE
+
+#define CUST_EINT_TOUCH_PANEL_NUM              10
+#define CUST_EINT_TOUCH_PANEL_DEBOUNCE_CN      0
+#define CUST_EINT_TOUCH_PANEL_TYPE							CUST_EINTF_TRIGGER_FALLING
+#define CUST_EINT_TOUCH_PANEL_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_DISABLE
+
+#define CUST_EINT_ALS_NUM              65
+#define CUST_EINT_ALS_DEBOUNCE_CN      0
+#define CUST_EINT_ALS_TYPE							CUST_EINTF_TRIGGER_LOW
+#define CUST_EINT_ALS_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_DISABLE
+
+#define CUST_EINT_GSE_1_NUM              66
+#define CUST_EINT_GSE_1_DEBOUNCE_CN      0
+#define CUST_EINT_GSE_1_TYPE							CUST_EINTF_TRIGGER_LOW
+#define CUST_EINT_GSE_1_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_DISABLE
+
+#define CUST_EINT_GYRO_NUM              67
+#define CUST_EINT_GYRO_DEBOUNCE_CN      0
+#define CUST_EINT_GYRO_TYPE							CUST_EINTF_TRIGGER_LOW
+#define CUST_EINT_GYRO_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_DISABLE
+
+#define CUST_EINT_EXT_BUCK_OC_NUM              78
+#define CUST_EINT_EXT_BUCK_OC_DEBOUNCE_CN      0
+#define CUST_EINT_EXT_BUCK_OC_TYPE							CUST_EINTF_TRIGGER_HIGH
+#define CUST_EINT_EXT_BUCK_OC_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_DISABLE
+
+
+
+//////////////////////////////////////////////////////////////////////////////
+#ifdef __cplusplus
+}
+
+#endif
+#endif //_CUST_EINT_H
+
+
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_eint_md1.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_eint_md1.h
new file mode 100644
index 00000000..30695819
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_eint_md1.h
@@ -0,0 +1,56 @@
+/*
+ * Generated by MTK SP DrvGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:35 2025
+ * Do Not Modify the File.
+ */
+
+#define CUST_EINT_MD_LEVEL_SENSITIVE        0
+#define CUST_EINT_MD_EDGE_SENSITIVE         1
+
+
+
+
+#define PAD_ANT_SEL1            2
+#define PAD_ANT_SEL2            1
+#define PAD_CMDAT1            0
+#define PAD_EINT1            0
+#define PAD_EINT2            0
+#define PAD_EINT3            0
+#define PAD_EINT8            1
+#define PAD_EINT9            2
+#define PAD_EINT10            0
+#define PAD_EINT11            1
+#define PAD_EINT12            2
+#define PAD_SCL3            1
+#define PAD_SDA3            2
+
+
+#define CUST_EINT_POLARITY_LOW              0
+#define CUST_EINT_POLARITY_HIGH             1
+#define CUST_EINT_EDGE_SENSITIVE            0
+#define CUST_EINT_LEVEL_SENSITIVE           1
+
+
+
+
+#define CUST_EINT_MD1_0_NAME             "MD1_SIM1_HOT_PLUG_EINT"
+#define CUST_EINT_MD1_0_NUM              0
+#define CUST_EINT_MD1_0_DEBOUNCE_CN      100
+#define CUST_EINT_MD1_0_POLARITY         CUST_EINT_POLARITY_HIGH
+#define CUST_EINT_MD1_0_SENSITIVE        CUST_EINT_MD_LEVEL_SENSITIVE
+#define CUST_EINT_MD1_0_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_ENABLE
+#define CUST_EINT_MD1_0_DEDICATED_EN      0
+#define CUST_EINT_MD1_0_SRCPIN             PAD_EINT8
+
+#define CUST_EINT_MD1_1_NAME             "MD1_SIM2_HOT_PLUG_EINT"
+#define CUST_EINT_MD1_1_NUM              1
+#define CUST_EINT_MD1_1_DEBOUNCE_CN      100
+#define CUST_EINT_MD1_1_POLARITY         CUST_EINT_POLARITY_HIGH
+#define CUST_EINT_MD1_1_SENSITIVE        CUST_EINT_MD_LEVEL_SENSITIVE
+#define CUST_EINT_MD1_1_DEBOUNCE_EN      CUST_EINT_DEBOUNCE_ENABLE
+#define CUST_EINT_MD1_1_DEDICATED_EN      0
+#define CUST_EINT_MD1_1_SRCPIN             PAD_EINT9
+
+#define CUST_EINT_MD1_CNT      2
+
+
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_gpio_boot.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_gpio_boot.h
new file mode 100644
index 00000000..a5dc8533
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_gpio_boot.h
@@ -0,0 +1,1693 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:34 2025
+ * Do Not Modify the File.
+ */
+
+#ifndef __CUST_GPIO_BOOT_H__
+#define __CUST_GPIO_BOOT_H__
+
+
+//Configuration for GPIO SMT(Schmidt Trigger) Group output start
+#define GPIO_SMT_GROUP_1   0
+#define GPIO_SMT_GROUP_2   1
+#define GPIO_SMT_GROUP_3   1
+#define GPIO_SMT_GROUP_4   0
+#define GPIO_SMT_GROUP_5   0
+#define GPIO_SMT_GROUP_6   0
+#define GPIO_SMT_GROUP_7   0
+#define GPIO_SMT_GROUP_8   0
+#define GPIO_SMT_GROUP_9   0
+#define GPIO_SMT_GROUP_10   0
+#define GPIO_SMT_GROUP_11   0
+#define GPIO_SMT_GROUP_12   0
+#define GPIO_SMT_GROUP_13   0
+#define GPIO_SMT_GROUP_14   0
+#define GPIO_SMT_GROUP_15   0
+#define GPIO_SMT_GROUP_16   0
+#define GPIO_SMT_GROUP_17   0
+#define GPIO_SMT_GROUP_18   0
+#define GPIO_SMT_GROUP_19   0
+#define GPIO_SMT_GROUP_20   0
+#define GPIO_SMT_GROUP_21   0
+#define GPIO_SMT_GROUP_22   1
+#define GPIO_SMT_GROUP_23   1
+#define GPIO_SMT_GROUP_24   0
+#define GPIO_SMT_GROUP_25   0
+#define GPIO_SMT_GROUP_26   0
+#define GPIO_SMT_GROUP_27   0
+#define GPIO_SMT_GROUP_28   0
+#define GPIO_SMT_GROUP_29   0
+#define GPIO_SMT_GROUP_30   0
+#define GPIO_SMT_GROUP_31   0
+#define GPIO_SMT_GROUP_32   0
+#define GPIO_SMT_GROUP_33   0
+#define GPIO_SMT_GROUP_34   0
+#define GPIO_SMT_GROUP_35   0
+#define GPIO_SMT_GROUP_36   0
+#define GPIO_SMT_GROUP_37   0
+#define GPIO_SMT_GROUP_38   0
+#define GPIO_SMT_GROUP_39   0
+#define GPIO_SMT_GROUP_40   0
+#define GPIO_SMT_GROUP_41   0
+#define GPIO_SMT_GROUP_42   0
+#define GPIO_SMT_GROUP_43   0
+#define GPIO_SMT_GROUP_44   0
+//Configuration for GPIO SMT(Schmidt Trigger) Group output end
+//Configureation for Pin 0
+#define GPIO0_MODE      GPIO_MODE_01
+#define GPIO0_DIR       GPIO_DIR_IN
+#define GPIO0_PULLEN    GPIO_PULL_ENABLE
+#define GPIO0_PULL      GPIO_PULL_UP
+#define GPIO0_DATAOUT   GPIO_OUT_ZERO
+#define GPIO0_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 1
+#define GPIO1_MODE      GPIO_MODE_00
+#define GPIO1_DIR       GPIO_DIR_OUT
+#define GPIO1_PULLEN    GPIO_PULL_ENABLE
+#define GPIO1_PULL      GPIO_PULL_DOWN
+#define GPIO1_DATAOUT   GPIO_OUT_ZERO
+#define GPIO1_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 2
+#define GPIO2_MODE      GPIO_MODE_00
+#define GPIO2_DIR       GPIO_DIR_IN
+#define GPIO2_PULLEN    GPIO_PULL_ENABLE
+#define GPIO2_PULL      GPIO_PULL_UP
+#define GPIO2_DATAOUT   GPIO_OUT_ZERO
+#define GPIO2_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 3
+#define GPIO3_MODE      GPIO_MODE_00
+#define GPIO3_DIR       GPIO_DIR_OUT
+#define GPIO3_PULLEN    GPIO_PULL_ENABLE
+#define GPIO3_PULL      GPIO_PULL_DOWN
+#define GPIO3_DATAOUT   GPIO_OUT_ZERO
+#define GPIO3_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 4
+#define GPIO4_MODE      GPIO_MODE_00
+#define GPIO4_DIR       GPIO_DIR_IN
+#define GPIO4_PULLEN    GPIO_PULL_DISABLE
+#define GPIO4_PULL      GPIO_PULL_DOWN
+#define GPIO4_DATAOUT   GPIO_OUT_ZERO
+#define GPIO4_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 5
+#define GPIO5_MODE      GPIO_MODE_00
+#define GPIO5_DIR       GPIO_DIR_IN
+#define GPIO5_PULLEN    GPIO_PULL_ENABLE
+#define GPIO5_PULL      GPIO_PULL_UP
+#define GPIO5_DATAOUT   GPIO_OUT_ZERO
+#define GPIO5_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 6
+#define GPIO6_MODE      GPIO_MODE_00
+#define GPIO6_DIR       GPIO_DIR_IN
+#define GPIO6_PULLEN    GPIO_PULL_ENABLE
+#define GPIO6_PULL      GPIO_PULL_UP
+#define GPIO6_DATAOUT   GPIO_OUT_ZERO
+#define GPIO6_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 7
+#define GPIO7_MODE      GPIO_MODE_00
+#define GPIO7_DIR       GPIO_DIR_IN
+#define GPIO7_PULLEN    GPIO_PULL_ENABLE
+#define GPIO7_PULL      GPIO_PULL_UP
+#define GPIO7_DATAOUT   GPIO_OUT_ZERO
+#define GPIO7_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 8
+#define GPIO8_MODE      GPIO_MODE_05
+#define GPIO8_DIR       GPIO_DIR_IN
+#define GPIO8_PULLEN    GPIO_PULL_ENABLE
+#define GPIO8_PULL      GPIO_PULL_UP
+#define GPIO8_DATAOUT   GPIO_OUT_ZERO
+#define GPIO8_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 9
+#define GPIO9_MODE      GPIO_MODE_00
+#define GPIO9_DIR       GPIO_DIR_IN
+#define GPIO9_PULLEN    GPIO_PULL_ENABLE
+#define GPIO9_PULL      GPIO_PULL_DOWN
+#define GPIO9_DATAOUT   GPIO_OUT_ZERO
+#define GPIO9_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 10
+#define GPIO10_MODE      GPIO_MODE_00
+#define GPIO10_DIR       GPIO_DIR_IN
+#define GPIO10_PULLEN    GPIO_PULL_ENABLE
+#define GPIO10_PULL      GPIO_PULL_UP
+#define GPIO10_DATAOUT   GPIO_OUT_ZERO
+#define GPIO10_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 11
+#define GPIO11_MODE      GPIO_MODE_00
+#define GPIO11_DIR       GPIO_DIR_IN
+#define GPIO11_PULLEN    GPIO_PULL_ENABLE
+#define GPIO11_PULL      GPIO_PULL_UP
+#define GPIO11_DATAOUT   GPIO_OUT_ZERO
+#define GPIO11_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 12
+#define GPIO12_MODE      GPIO_MODE_00
+#define GPIO12_DIR       GPIO_DIR_IN
+#define GPIO12_PULLEN    GPIO_PULL_ENABLE
+#define GPIO12_PULL      GPIO_PULL_UP
+#define GPIO12_DATAOUT   GPIO_OUT_ZERO
+#define GPIO12_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 13
+#define GPIO13_MODE      GPIO_MODE_01
+#define GPIO13_DIR       GPIO_DIR_OUT
+#define GPIO13_PULLEN    GPIO_PULL_ENABLE
+#define GPIO13_PULL      GPIO_PULL_DOWN
+#define GPIO13_DATAOUT   GPIO_OUT_ZERO
+#define GPIO13_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 14
+#define GPIO14_MODE      GPIO_MODE_01
+#define GPIO14_DIR       GPIO_DIR_OUT
+#define GPIO14_PULLEN    GPIO_PULL_ENABLE
+#define GPIO14_PULL      GPIO_PULL_DOWN
+#define GPIO14_DATAOUT   GPIO_OUT_ZERO
+#define GPIO14_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 15
+#define GPIO15_MODE      GPIO_MODE_01
+#define GPIO15_DIR       GPIO_DIR_OUT
+#define GPIO15_PULLEN    GPIO_PULL_ENABLE
+#define GPIO15_PULL      GPIO_PULL_DOWN
+#define GPIO15_DATAOUT   GPIO_OUT_ZERO
+#define GPIO15_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 16
+#define GPIO16_MODE      GPIO_MODE_01
+#define GPIO16_DIR       GPIO_DIR_OUT
+#define GPIO16_PULLEN    GPIO_PULL_ENABLE
+#define GPIO16_PULL      GPIO_PULL_DOWN
+#define GPIO16_DATAOUT   GPIO_OUT_ZERO
+#define GPIO16_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 17
+#define GPIO17_MODE      GPIO_MODE_01
+#define GPIO17_DIR       GPIO_DIR_OUT
+#define GPIO17_PULLEN    GPIO_PULL_ENABLE
+#define GPIO17_PULL      GPIO_PULL_DOWN
+#define GPIO17_DATAOUT   GPIO_OUT_ZERO
+#define GPIO17_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 18
+#define GPIO18_MODE      GPIO_MODE_01
+#define GPIO18_DIR       GPIO_DIR_OUT
+#define GPIO18_PULLEN    GPIO_PULL_ENABLE
+#define GPIO18_PULL      GPIO_PULL_DOWN
+#define GPIO18_DATAOUT   GPIO_OUT_ZERO
+#define GPIO18_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 19
+#define GPIO19_MODE      GPIO_MODE_06
+#define GPIO19_DIR       GPIO_DIR_OUT
+#define GPIO19_PULLEN    GPIO_PULL_ENABLE
+#define GPIO19_PULL      GPIO_PULL_DOWN
+#define GPIO19_DATAOUT   GPIO_OUT_ZERO
+#define GPIO19_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 20
+#define GPIO20_MODE      GPIO_MODE_06
+#define GPIO20_DIR       GPIO_DIR_IN
+#define GPIO20_PULLEN    GPIO_PULL_ENABLE
+#define GPIO20_PULL      GPIO_PULL_UP
+#define GPIO20_DATAOUT   GPIO_OUT_ZERO
+#define GPIO20_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 21
+#define GPIO21_MODE      GPIO_MODE_00
+#define GPIO21_DIR       GPIO_DIR_IN
+#define GPIO21_PULLEN    GPIO_PULL_ENABLE
+#define GPIO21_PULL      GPIO_PULL_DOWN
+#define GPIO21_DATAOUT   GPIO_OUT_ZERO
+#define GPIO21_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 22
+#define GPIO22_MODE      GPIO_MODE_01
+#define GPIO22_DIR       GPIO_DIR_IN
+#define GPIO22_PULLEN    GPIO_PULL_ENABLE
+#define GPIO22_PULL      GPIO_PULL_DOWN
+#define GPIO22_DATAOUT   GPIO_OUT_ZERO
+#define GPIO22_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 23
+#define GPIO23_MODE      GPIO_MODE_01
+#define GPIO23_DIR       GPIO_DIR_IN
+#define GPIO23_PULLEN    GPIO_PULL_ENABLE
+#define GPIO23_PULL      GPIO_PULL_DOWN
+#define GPIO23_DATAOUT   GPIO_OUT_ZERO
+#define GPIO23_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 24
+#define GPIO24_MODE      GPIO_MODE_01
+#define GPIO24_DIR       GPIO_DIR_IN
+#define GPIO24_PULLEN    GPIO_PULL_ENABLE
+#define GPIO24_PULL      GPIO_PULL_DOWN
+#define GPIO24_DATAOUT   GPIO_OUT_ZERO
+#define GPIO24_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 25
+#define GPIO25_MODE      GPIO_MODE_01
+#define GPIO25_DIR       GPIO_DIR_IN
+#define GPIO25_PULLEN    GPIO_PULL_ENABLE
+#define GPIO25_PULL      GPIO_PULL_DOWN
+#define GPIO25_DATAOUT   GPIO_OUT_ZERO
+#define GPIO25_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 26
+#define GPIO26_MODE      GPIO_MODE_01
+#define GPIO26_DIR       GPIO_DIR_IN
+#define GPIO26_PULLEN    GPIO_PULL_ENABLE
+#define GPIO26_PULL      GPIO_PULL_DOWN
+#define GPIO26_DATAOUT   GPIO_OUT_ZERO
+#define GPIO26_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 27
+#define GPIO27_MODE      GPIO_MODE_01
+#define GPIO27_DIR       GPIO_DIR_IN
+#define GPIO27_PULLEN    GPIO_PULL_ENABLE
+#define GPIO27_PULL      GPIO_PULL_DOWN
+#define GPIO27_DATAOUT   GPIO_OUT_ZERO
+#define GPIO27_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 28
+#define GPIO28_MODE      GPIO_MODE_01
+#define GPIO28_DIR       GPIO_DIR_IN
+#define GPIO28_PULLEN    GPIO_PULL_ENABLE
+#define GPIO28_PULL      GPIO_PULL_DOWN
+#define GPIO28_DATAOUT   GPIO_OUT_ZERO
+#define GPIO28_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 29
+#define GPIO29_MODE      GPIO_MODE_01
+#define GPIO29_DIR       GPIO_DIR_IN
+#define GPIO29_PULLEN    GPIO_PULL_ENABLE
+#define GPIO29_PULL      GPIO_PULL_DOWN
+#define GPIO29_DATAOUT   GPIO_OUT_ZERO
+#define GPIO29_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 30
+#define GPIO30_MODE      GPIO_MODE_01
+#define GPIO30_DIR       GPIO_DIR_IN
+#define GPIO30_PULLEN    GPIO_PULL_ENABLE
+#define GPIO30_PULL      GPIO_PULL_DOWN
+#define GPIO30_DATAOUT   GPIO_OUT_ZERO
+#define GPIO30_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 31
+#define GPIO31_MODE      GPIO_MODE_01
+#define GPIO31_DIR       GPIO_DIR_IN
+#define GPIO31_PULLEN    GPIO_PULL_ENABLE
+#define GPIO31_PULL      GPIO_PULL_DOWN
+#define GPIO31_DATAOUT   GPIO_OUT_ZERO
+#define GPIO31_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 32
+#define GPIO32_MODE      GPIO_MODE_01
+#define GPIO32_DIR       GPIO_DIR_IN
+#define GPIO32_PULLEN    GPIO_PULL_ENABLE
+#define GPIO32_PULL      GPIO_PULL_DOWN
+#define GPIO32_DATAOUT   GPIO_OUT_ZERO
+#define GPIO32_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 33
+#define GPIO33_MODE      GPIO_MODE_01
+#define GPIO33_DIR       GPIO_DIR_IN
+#define GPIO33_PULLEN    GPIO_PULL_ENABLE
+#define GPIO33_PULL      GPIO_PULL_DOWN
+#define GPIO33_DATAOUT   GPIO_OUT_ZERO
+#define GPIO33_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 34
+#define GPIO34_MODE      GPIO_MODE_00
+#define GPIO34_DIR       GPIO_DIR_IN
+#define GPIO34_PULLEN    GPIO_PULL_ENABLE
+#define GPIO34_PULL      GPIO_PULL_DOWN
+#define GPIO34_DATAOUT   GPIO_OUT_ZERO
+#define GPIO34_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 35
+#define GPIO35_MODE      GPIO_MODE_00
+#define GPIO35_DIR       GPIO_DIR_IN
+#define GPIO35_PULLEN    GPIO_PULL_ENABLE
+#define GPIO35_PULL      GPIO_PULL_DOWN
+#define GPIO35_DATAOUT   GPIO_OUT_ZERO
+#define GPIO35_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 36
+#define GPIO36_MODE      GPIO_MODE_01
+#define GPIO36_DIR       GPIO_DIR_IN
+#define GPIO36_PULLEN    GPIO_PULL_ENABLE
+#define GPIO36_PULL      GPIO_PULL_DOWN
+#define GPIO36_DATAOUT   GPIO_OUT_ZERO
+#define GPIO36_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 37
+#define GPIO37_MODE      GPIO_MODE_01
+#define GPIO37_DIR       GPIO_DIR_IN
+#define GPIO37_PULLEN    GPIO_PULL_ENABLE
+#define GPIO37_PULL      GPIO_PULL_DOWN
+#define GPIO37_DATAOUT   GPIO_OUT_ZERO
+#define GPIO37_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 38
+#define GPIO38_MODE      GPIO_MODE_01
+#define GPIO38_DIR       GPIO_DIR_IN
+#define GPIO38_PULLEN    GPIO_PULL_ENABLE
+#define GPIO38_PULL      GPIO_PULL_DOWN
+#define GPIO38_DATAOUT   GPIO_OUT_ZERO
+#define GPIO38_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 39
+#define GPIO39_MODE      GPIO_MODE_01
+#define GPIO39_DIR       GPIO_DIR_IN
+#define GPIO39_PULLEN    GPIO_PULL_ENABLE
+#define GPIO39_PULL      GPIO_PULL_DOWN
+#define GPIO39_DATAOUT   GPIO_OUT_ZERO
+#define GPIO39_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 40
+#define GPIO40_MODE      GPIO_MODE_01
+#define GPIO40_DIR       GPIO_DIR_IN
+#define GPIO40_PULLEN    GPIO_PULL_ENABLE
+#define GPIO40_PULL      GPIO_PULL_DOWN
+#define GPIO40_DATAOUT   GPIO_OUT_ZERO
+#define GPIO40_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 41
+#define GPIO41_MODE      GPIO_MODE_01
+#define GPIO41_DIR       GPIO_DIR_IN
+#define GPIO41_PULLEN    GPIO_PULL_ENABLE
+#define GPIO41_PULL      GPIO_PULL_DOWN
+#define GPIO41_DATAOUT   GPIO_OUT_ZERO
+#define GPIO41_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 42
+#define GPIO42_MODE      GPIO_MODE_00
+#define GPIO42_DIR       GPIO_DIR_IN
+#define GPIO42_PULLEN    GPIO_PULL_ENABLE
+#define GPIO42_PULL      GPIO_PULL_DOWN
+#define GPIO42_DATAOUT   GPIO_OUT_ZERO
+#define GPIO42_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 43
+#define GPIO43_MODE      GPIO_MODE_00
+#define GPIO43_DIR       GPIO_DIR_IN
+#define GPIO43_PULLEN    GPIO_PULL_ENABLE
+#define GPIO43_PULL      GPIO_PULL_DOWN
+#define GPIO43_DATAOUT   GPIO_OUT_ZERO
+#define GPIO43_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 44
+#define GPIO44_MODE      GPIO_MODE_00
+#define GPIO44_DIR       GPIO_DIR_OUT
+#define GPIO44_PULLEN    GPIO_PULL_ENABLE
+#define GPIO44_PULL      GPIO_PULL_DOWN
+#define GPIO44_DATAOUT   GPIO_OUT_ZERO
+#define GPIO44_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 45
+#define GPIO45_MODE      GPIO_MODE_01
+#define GPIO45_DIR       GPIO_DIR_OUT
+#define GPIO45_PULLEN    GPIO_PULL_ENABLE
+#define GPIO45_PULL      GPIO_PULL_DOWN
+#define GPIO45_DATAOUT   GPIO_OUT_ZERO
+#define GPIO45_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 46
+#define GPIO46_MODE      GPIO_MODE_00
+#define GPIO46_DIR       GPIO_DIR_IN
+#define GPIO46_PULLEN    GPIO_PULL_ENABLE
+#define GPIO46_PULL      GPIO_PULL_DOWN
+#define GPIO46_DATAOUT   GPIO_OUT_ZERO
+#define GPIO46_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 47
+#define GPIO47_MODE      GPIO_MODE_01
+#define GPIO47_DIR       GPIO_DIR_IN
+#define GPIO47_PULLEN    GPIO_PULL_DISABLE
+#define GPIO47_PULL      GPIO_PULL_DOWN
+#define GPIO47_DATAOUT   GPIO_OUT_ZERO
+#define GPIO47_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 48
+#define GPIO48_MODE      GPIO_MODE_01
+#define GPIO48_DIR       GPIO_DIR_IN
+#define GPIO48_PULLEN    GPIO_PULL_DISABLE
+#define GPIO48_PULL      GPIO_PULL_DOWN
+#define GPIO48_DATAOUT   GPIO_OUT_ZERO
+#define GPIO48_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 49
+#define GPIO49_MODE      GPIO_MODE_01
+#define GPIO49_DIR       GPIO_DIR_IN
+#define GPIO49_PULLEN    GPIO_PULL_DISABLE
+#define GPIO49_PULL      GPIO_PULL_DOWN
+#define GPIO49_DATAOUT   GPIO_OUT_ZERO
+#define GPIO49_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 50
+#define GPIO50_MODE      GPIO_MODE_01
+#define GPIO50_DIR       GPIO_DIR_IN
+#define GPIO50_PULLEN    GPIO_PULL_DISABLE
+#define GPIO50_PULL      GPIO_PULL_DOWN
+#define GPIO50_DATAOUT   GPIO_OUT_ZERO
+#define GPIO50_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 51
+#define GPIO51_MODE      GPIO_MODE_01
+#define GPIO51_DIR       GPIO_DIR_IN
+#define GPIO51_PULLEN    GPIO_PULL_DISABLE
+#define GPIO51_PULL      GPIO_PULL_DOWN
+#define GPIO51_DATAOUT   GPIO_OUT_ZERO
+#define GPIO51_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 52
+#define GPIO52_MODE      GPIO_MODE_01
+#define GPIO52_DIR       GPIO_DIR_IN
+#define GPIO52_PULLEN    GPIO_PULL_DISABLE
+#define GPIO52_PULL      GPIO_PULL_DOWN
+#define GPIO52_DATAOUT   GPIO_OUT_ZERO
+#define GPIO52_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 53
+#define GPIO53_MODE      GPIO_MODE_01
+#define GPIO53_DIR       GPIO_DIR_IN
+#define GPIO53_PULLEN    GPIO_PULL_DISABLE
+#define GPIO53_PULL      GPIO_PULL_DOWN
+#define GPIO53_DATAOUT   GPIO_OUT_ZERO
+#define GPIO53_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 54
+#define GPIO54_MODE      GPIO_MODE_01
+#define GPIO54_DIR       GPIO_DIR_IN
+#define GPIO54_PULLEN    GPIO_PULL_DISABLE
+#define GPIO54_PULL      GPIO_PULL_DOWN
+#define GPIO54_DATAOUT   GPIO_OUT_ZERO
+#define GPIO54_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 55
+#define GPIO55_MODE      GPIO_MODE_00
+#define GPIO55_DIR       GPIO_DIR_IN
+#define GPIO55_PULLEN    GPIO_PULL_ENABLE
+#define GPIO55_PULL      GPIO_PULL_DOWN
+#define GPIO55_DATAOUT   GPIO_OUT_ZERO
+#define GPIO55_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 56
+#define GPIO56_MODE      GPIO_MODE_01
+#define GPIO56_DIR       GPIO_DIR_OUT
+#define GPIO56_PULLEN    GPIO_PULL_ENABLE
+#define GPIO56_PULL      GPIO_PULL_UP
+#define GPIO56_DATAOUT   GPIO_OUT_ONE
+#define GPIO56_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 57
+#define GPIO57_MODE      GPIO_MODE_01
+#define GPIO57_DIR       GPIO_DIR_IN
+#define GPIO57_PULLEN    GPIO_PULL_ENABLE
+#define GPIO57_PULL      GPIO_PULL_UP
+#define GPIO57_DATAOUT   GPIO_OUT_ZERO
+#define GPIO57_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 58
+#define GPIO58_MODE      GPIO_MODE_01
+#define GPIO58_DIR       GPIO_DIR_OUT
+#define GPIO58_PULLEN    GPIO_PULL_ENABLE
+#define GPIO58_PULL      GPIO_PULL_DOWN
+#define GPIO58_DATAOUT   GPIO_OUT_ZERO
+#define GPIO58_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 59
+#define GPIO59_MODE      GPIO_MODE_01
+#define GPIO59_DIR       GPIO_DIR_IN
+#define GPIO59_PULLEN    GPIO_PULL_ENABLE
+#define GPIO59_PULL      GPIO_PULL_UP
+#define GPIO59_DATAOUT   GPIO_OUT_ZERO
+#define GPIO59_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 60
+#define GPIO60_MODE      GPIO_MODE_01
+#define GPIO60_DIR       GPIO_DIR_OUT
+#define GPIO60_PULLEN    GPIO_PULL_ENABLE
+#define GPIO60_PULL      GPIO_PULL_DOWN
+#define GPIO60_DATAOUT   GPIO_OUT_ZERO
+#define GPIO60_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 61
+#define GPIO61_MODE      GPIO_MODE_00
+#define GPIO61_DIR       GPIO_DIR_IN
+#define GPIO61_PULLEN    GPIO_PULL_ENABLE
+#define GPIO61_PULL      GPIO_PULL_DOWN
+#define GPIO61_DATAOUT   GPIO_OUT_ZERO
+#define GPIO61_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 62
+#define GPIO62_MODE      GPIO_MODE_00
+#define GPIO62_DIR       GPIO_DIR_OUT
+#define GPIO62_PULLEN    GPIO_PULL_ENABLE
+#define GPIO62_PULL      GPIO_PULL_DOWN
+#define GPIO62_DATAOUT   GPIO_OUT_ZERO
+#define GPIO62_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 63
+#define GPIO63_MODE      GPIO_MODE_00
+#define GPIO63_DIR       GPIO_DIR_OUT
+#define GPIO63_PULLEN    GPIO_PULL_ENABLE
+#define GPIO63_PULL      GPIO_PULL_DOWN
+#define GPIO63_DATAOUT   GPIO_OUT_ZERO
+#define GPIO63_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 64
+#define GPIO64_MODE      GPIO_MODE_00
+#define GPIO64_DIR       GPIO_DIR_IN
+#define GPIO64_PULLEN    GPIO_PULL_ENABLE
+#define GPIO64_PULL      GPIO_PULL_DOWN
+#define GPIO64_DATAOUT   GPIO_OUT_ZERO
+#define GPIO64_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 65
+#define GPIO65_MODE      GPIO_MODE_00
+#define GPIO65_DIR       GPIO_DIR_IN
+#define GPIO65_PULLEN    GPIO_PULL_ENABLE
+#define GPIO65_PULL      GPIO_PULL_DOWN
+#define GPIO65_DATAOUT   GPIO_OUT_ZERO
+#define GPIO65_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 66
+#define GPIO66_MODE      GPIO_MODE_00
+#define GPIO66_DIR       GPIO_DIR_OUT
+#define GPIO66_PULLEN    GPIO_PULL_ENABLE
+#define GPIO66_PULL      GPIO_PULL_DOWN
+#define GPIO66_DATAOUT   GPIO_OUT_ZERO
+#define GPIO66_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 67
+#define GPIO67_MODE      GPIO_MODE_00
+#define GPIO67_DIR       GPIO_DIR_IN
+#define GPIO67_PULLEN    GPIO_PULL_ENABLE
+#define GPIO67_PULL      GPIO_PULL_UP
+#define GPIO67_DATAOUT   GPIO_OUT_ZERO
+#define GPIO67_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 68
+#define GPIO68_MODE      GPIO_MODE_00
+#define GPIO68_DIR       GPIO_DIR_IN
+#define GPIO68_PULLEN    GPIO_PULL_ENABLE
+#define GPIO68_PULL      GPIO_PULL_DOWN
+#define GPIO68_DATAOUT   GPIO_OUT_ZERO
+#define GPIO68_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 69
+#define GPIO69_MODE      GPIO_MODE_01
+#define GPIO69_DIR       GPIO_DIR_OUT
+#define GPIO69_PULLEN    GPIO_PULL_DISABLE
+#define GPIO69_PULL      GPIO_PULL_DOWN
+#define GPIO69_DATAOUT   GPIO_OUT_ONE
+#define GPIO69_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 70
+#define GPIO70_MODE      GPIO_MODE_01
+#define GPIO70_DIR       GPIO_DIR_IN
+#define GPIO70_PULLEN    GPIO_PULL_ENABLE
+#define GPIO70_PULL      GPIO_PULL_DOWN
+#define GPIO70_DATAOUT   GPIO_OUT_ZERO
+#define GPIO70_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 71
+#define GPIO71_MODE      GPIO_MODE_01
+#define GPIO71_DIR       GPIO_DIR_IN
+#define GPIO71_PULLEN    GPIO_PULL_ENABLE
+#define GPIO71_PULL      GPIO_PULL_DOWN
+#define GPIO71_DATAOUT   GPIO_OUT_ZERO
+#define GPIO71_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 72
+#define GPIO72_MODE      GPIO_MODE_01
+#define GPIO72_DIR       GPIO_DIR_IN
+#define GPIO72_PULLEN    GPIO_PULL_ENABLE
+#define GPIO72_PULL      GPIO_PULL_DOWN
+#define GPIO72_DATAOUT   GPIO_OUT_ZERO
+#define GPIO72_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 73
+#define GPIO73_MODE      GPIO_MODE_01
+#define GPIO73_DIR       GPIO_DIR_OUT
+#define GPIO73_PULLEN    GPIO_PULL_ENABLE
+#define GPIO73_PULL      GPIO_PULL_DOWN
+#define GPIO73_DATAOUT   GPIO_OUT_ZERO
+#define GPIO73_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 74
+#define GPIO74_MODE      GPIO_MODE_01
+#define GPIO74_DIR       GPIO_DIR_IN
+#define GPIO74_PULLEN    GPIO_PULL_ENABLE
+#define GPIO74_PULL      GPIO_PULL_UP
+#define GPIO74_DATAOUT   GPIO_OUT_ZERO
+#define GPIO74_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 75
+#define GPIO75_MODE      GPIO_MODE_01
+#define GPIO75_DIR       GPIO_DIR_OUT
+#define GPIO75_PULLEN    GPIO_PULL_ENABLE
+#define GPIO75_PULL      GPIO_PULL_DOWN
+#define GPIO75_DATAOUT   GPIO_OUT_ZERO
+#define GPIO75_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 76
+#define GPIO76_MODE      GPIO_MODE_03
+#define GPIO76_DIR       GPIO_DIR_IN
+#define GPIO76_PULLEN    GPIO_PULL_ENABLE
+#define GPIO76_PULL      GPIO_PULL_UP
+#define GPIO76_DATAOUT   GPIO_OUT_ZERO
+#define GPIO76_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 77
+#define GPIO77_MODE      GPIO_MODE_03
+#define GPIO77_DIR       GPIO_DIR_OUT
+#define GPIO77_PULLEN    GPIO_PULL_ENABLE
+#define GPIO77_PULL      GPIO_PULL_DOWN
+#define GPIO77_DATAOUT   GPIO_OUT_ZERO
+#define GPIO77_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 78
+#define GPIO78_MODE      GPIO_MODE_00
+#define GPIO78_DIR       GPIO_DIR_IN
+#define GPIO78_PULLEN    GPIO_PULL_ENABLE
+#define GPIO78_PULL      GPIO_PULL_DOWN
+#define GPIO78_DATAOUT   GPIO_OUT_ZERO
+#define GPIO78_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 79
+#define GPIO79_MODE      GPIO_MODE_00
+#define GPIO79_DIR       GPIO_DIR_OUT
+#define GPIO79_PULLEN    GPIO_PULL_ENABLE
+#define GPIO79_PULL      GPIO_PULL_DOWN
+#define GPIO79_DATAOUT   GPIO_OUT_ZERO
+#define GPIO79_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 80
+#define GPIO80_MODE      GPIO_MODE_00
+#define GPIO80_DIR       GPIO_DIR_IN
+#define GPIO80_PULLEN    GPIO_PULL_ENABLE
+#define GPIO80_PULL      GPIO_PULL_DOWN
+#define GPIO80_DATAOUT   GPIO_OUT_ZERO
+#define GPIO80_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 81
+#define GPIO81_MODE      GPIO_MODE_01
+#define GPIO81_DIR       GPIO_DIR_OUT
+#define GPIO81_PULLEN    GPIO_PULL_DISABLE
+#define GPIO81_PULL      GPIO_PULL_DOWN
+#define GPIO81_DATAOUT   GPIO_OUT_ZERO
+#define GPIO81_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 82
+#define GPIO82_MODE      GPIO_MODE_04
+#define GPIO82_DIR       GPIO_DIR_OUT
+#define GPIO82_PULLEN    GPIO_PULL_ENABLE
+#define GPIO82_PULL      GPIO_PULL_DOWN
+#define GPIO82_DATAOUT   GPIO_OUT_ZERO
+#define GPIO82_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 83
+#define GPIO83_MODE      GPIO_MODE_00
+#define GPIO83_DIR       GPIO_DIR_IN
+#define GPIO83_PULLEN    GPIO_PULL_ENABLE
+#define GPIO83_PULL      GPIO_PULL_DOWN
+#define GPIO83_DATAOUT   GPIO_OUT_ZERO
+#define GPIO83_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 84
+#define GPIO84_MODE      GPIO_MODE_01
+#define GPIO84_DIR       GPIO_DIR_IN
+#define GPIO84_PULLEN    GPIO_PULL_ENABLE
+#define GPIO84_PULL      GPIO_PULL_UP
+#define GPIO84_DATAOUT   GPIO_OUT_ZERO
+#define GPIO84_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 85
+#define GPIO85_MODE      GPIO_MODE_01
+#define GPIO85_DIR       GPIO_DIR_IN
+#define GPIO85_PULLEN    GPIO_PULL_ENABLE
+#define GPIO85_PULL      GPIO_PULL_UP
+#define GPIO85_DATAOUT   GPIO_OUT_ZERO
+#define GPIO85_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 86
+#define GPIO86_MODE      GPIO_MODE_00
+#define GPIO86_DIR       GPIO_DIR_IN
+#define GPIO86_PULLEN    GPIO_PULL_ENABLE
+#define GPIO86_PULL      GPIO_PULL_DOWN
+#define GPIO86_DATAOUT   GPIO_OUT_ZERO
+#define GPIO86_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 87
+#define GPIO87_MODE      GPIO_MODE_00
+#define GPIO87_DIR       GPIO_DIR_IN
+#define GPIO87_PULLEN    GPIO_PULL_ENABLE
+#define GPIO87_PULL      GPIO_PULL_DOWN
+#define GPIO87_DATAOUT   GPIO_OUT_ZERO
+#define GPIO87_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 88
+#define GPIO88_MODE      GPIO_MODE_00
+#define GPIO88_DIR       GPIO_DIR_IN
+#define GPIO88_PULLEN    GPIO_PULL_ENABLE
+#define GPIO88_PULL      GPIO_PULL_DOWN
+#define GPIO88_DATAOUT   GPIO_OUT_ZERO
+#define GPIO88_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 89
+#define GPIO89_MODE      GPIO_MODE_00
+#define GPIO89_DIR       GPIO_DIR_IN
+#define GPIO89_PULLEN    GPIO_PULL_ENABLE
+#define GPIO89_PULL      GPIO_PULL_DOWN
+#define GPIO89_DATAOUT   GPIO_OUT_ZERO
+#define GPIO89_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 90
+#define GPIO90_MODE      GPIO_MODE_00
+#define GPIO90_DIR       GPIO_DIR_IN
+#define GPIO90_PULLEN    GPIO_PULL_ENABLE
+#define GPIO90_PULL      GPIO_PULL_DOWN
+#define GPIO90_DATAOUT   GPIO_OUT_ZERO
+#define GPIO90_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 91
+#define GPIO91_MODE      GPIO_MODE_00
+#define GPIO91_DIR       GPIO_DIR_IN
+#define GPIO91_PULLEN    GPIO_PULL_ENABLE
+#define GPIO91_PULL      GPIO_PULL_DOWN
+#define GPIO91_DATAOUT   GPIO_OUT_ZERO
+#define GPIO91_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 92
+#define GPIO92_MODE      GPIO_MODE_00
+#define GPIO92_DIR       GPIO_DIR_IN
+#define GPIO92_PULLEN    GPIO_PULL_ENABLE
+#define GPIO92_PULL      GPIO_PULL_DOWN
+#define GPIO92_DATAOUT   GPIO_OUT_ZERO
+#define GPIO92_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 93
+#define GPIO93_MODE      GPIO_MODE_01
+#define GPIO93_DIR       GPIO_DIR_OUT
+#define GPIO93_PULLEN    GPIO_PULL_DISABLE
+#define GPIO93_PULL      GPIO_PULL_DOWN
+#define GPIO93_DATAOUT   GPIO_OUT_ZERO
+#define GPIO93_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 94
+#define GPIO94_MODE      GPIO_MODE_00
+#define GPIO94_DIR       GPIO_DIR_IN
+#define GPIO94_PULLEN    GPIO_PULL_ENABLE
+#define GPIO94_PULL      GPIO_PULL_DOWN
+#define GPIO94_DATAOUT   GPIO_OUT_ZERO
+#define GPIO94_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 95
+#define GPIO95_MODE      GPIO_MODE_00
+#define GPIO95_DIR       GPIO_DIR_IN
+#define GPIO95_PULLEN    GPIO_PULL_ENABLE
+#define GPIO95_PULL      GPIO_PULL_DOWN
+#define GPIO95_DATAOUT   GPIO_OUT_ZERO
+#define GPIO95_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 96
+#define GPIO96_MODE      GPIO_MODE_00
+#define GPIO96_DIR       GPIO_DIR_IN
+#define GPIO96_PULLEN    GPIO_PULL_ENABLE
+#define GPIO96_PULL      GPIO_PULL_DOWN
+#define GPIO96_DATAOUT   GPIO_OUT_ZERO
+#define GPIO96_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 97
+#define GPIO97_MODE      GPIO_MODE_00
+#define GPIO97_DIR       GPIO_DIR_IN
+#define GPIO97_PULLEN    GPIO_PULL_ENABLE
+#define GPIO97_PULL      GPIO_PULL_DOWN
+#define GPIO97_DATAOUT   GPIO_OUT_ZERO
+#define GPIO97_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 98
+#define GPIO98_MODE      GPIO_MODE_00
+#define GPIO98_DIR       GPIO_DIR_IN
+#define GPIO98_PULLEN    GPIO_PULL_ENABLE
+#define GPIO98_PULL      GPIO_PULL_DOWN
+#define GPIO98_DATAOUT   GPIO_OUT_ZERO
+#define GPIO98_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 99
+#define GPIO99_MODE      GPIO_MODE_00
+#define GPIO99_DIR       GPIO_DIR_IN
+#define GPIO99_PULLEN    GPIO_PULL_ENABLE
+#define GPIO99_PULL      GPIO_PULL_DOWN
+#define GPIO99_DATAOUT   GPIO_OUT_ZERO
+#define GPIO99_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 100
+#define GPIO100_MODE      GPIO_MODE_00
+#define GPIO100_DIR       GPIO_DIR_IN
+#define GPIO100_PULLEN    GPIO_PULL_ENABLE
+#define GPIO100_PULL      GPIO_PULL_DOWN
+#define GPIO100_DATAOUT   GPIO_OUT_ZERO
+#define GPIO100_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 101
+#define GPIO101_MODE      GPIO_MODE_00
+#define GPIO101_DIR       GPIO_DIR_IN
+#define GPIO101_PULLEN    GPIO_PULL_ENABLE
+#define GPIO101_PULL      GPIO_PULL_DOWN
+#define GPIO101_DATAOUT   GPIO_OUT_ZERO
+#define GPIO101_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 102
+#define GPIO102_MODE      GPIO_MODE_00
+#define GPIO102_DIR       GPIO_DIR_IN
+#define GPIO102_PULLEN    GPIO_PULL_ENABLE
+#define GPIO102_PULL      GPIO_PULL_DOWN
+#define GPIO102_DATAOUT   GPIO_OUT_ZERO
+#define GPIO102_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 103
+#define GPIO103_MODE      GPIO_MODE_00
+#define GPIO103_DIR       GPIO_DIR_IN
+#define GPIO103_PULLEN    GPIO_PULL_ENABLE
+#define GPIO103_PULL      GPIO_PULL_DOWN
+#define GPIO103_DATAOUT   GPIO_OUT_ZERO
+#define GPIO103_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 104
+#define GPIO104_MODE      GPIO_MODE_00
+#define GPIO104_DIR       GPIO_DIR_IN
+#define GPIO104_PULLEN    GPIO_PULL_ENABLE
+#define GPIO104_PULL      GPIO_PULL_DOWN
+#define GPIO104_DATAOUT   GPIO_OUT_ZERO
+#define GPIO104_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 105
+#define GPIO105_MODE      GPIO_MODE_00
+#define GPIO105_DIR       GPIO_DIR_IN
+#define GPIO105_PULLEN    GPIO_PULL_ENABLE
+#define GPIO105_PULL      GPIO_PULL_DOWN
+#define GPIO105_DATAOUT   GPIO_OUT_ZERO
+#define GPIO105_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 106
+#define GPIO106_MODE      GPIO_MODE_00
+#define GPIO106_DIR       GPIO_DIR_IN
+#define GPIO106_PULLEN    GPIO_PULL_ENABLE
+#define GPIO106_PULL      GPIO_PULL_DOWN
+#define GPIO106_DATAOUT   GPIO_OUT_ZERO
+#define GPIO106_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 107
+#define GPIO107_MODE      GPIO_MODE_00
+#define GPIO107_DIR       GPIO_DIR_IN
+#define GPIO107_PULLEN    GPIO_PULL_ENABLE
+#define GPIO107_PULL      GPIO_PULL_DOWN
+#define GPIO107_DATAOUT   GPIO_OUT_ZERO
+#define GPIO107_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 108
+#define GPIO108_MODE      GPIO_MODE_00
+#define GPIO108_DIR       GPIO_DIR_IN
+#define GPIO108_PULLEN    GPIO_PULL_ENABLE
+#define GPIO108_PULL      GPIO_PULL_DOWN
+#define GPIO108_DATAOUT   GPIO_OUT_ZERO
+#define GPIO108_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 109
+#define GPIO109_MODE      GPIO_MODE_00
+#define GPIO109_DIR       GPIO_DIR_IN
+#define GPIO109_PULLEN    GPIO_PULL_ENABLE
+#define GPIO109_PULL      GPIO_PULL_DOWN
+#define GPIO109_DATAOUT   GPIO_OUT_ZERO
+#define GPIO109_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 110
+#define GPIO110_MODE      GPIO_MODE_01
+#define GPIO110_DIR       GPIO_DIR_OUT
+#define GPIO110_PULLEN    GPIO_PULL_ENABLE
+#define GPIO110_PULL      GPIO_PULL_DOWN
+#define GPIO110_DATAOUT   GPIO_OUT_ZERO
+#define GPIO110_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 111
+#define GPIO111_MODE      GPIO_MODE_01
+#define GPIO111_DIR       GPIO_DIR_OUT
+#define GPIO111_PULLEN    GPIO_PULL_ENABLE
+#define GPIO111_PULL      GPIO_PULL_DOWN
+#define GPIO111_DATAOUT   GPIO_OUT_ZERO
+#define GPIO111_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 112
+#define GPIO112_MODE      GPIO_MODE_01
+#define GPIO112_DIR       GPIO_DIR_IN
+#define GPIO112_PULLEN    GPIO_PULL_ENABLE
+#define GPIO112_PULL      GPIO_PULL_DOWN
+#define GPIO112_DATAOUT   GPIO_OUT_ZERO
+#define GPIO112_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 113
+#define GPIO113_MODE      GPIO_MODE_01
+#define GPIO113_DIR       GPIO_DIR_IN
+#define GPIO113_PULLEN    GPIO_PULL_ENABLE
+#define GPIO113_PULL      GPIO_PULL_DOWN
+#define GPIO113_DATAOUT   GPIO_OUT_ZERO
+#define GPIO113_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 114
+#define GPIO114_MODE      GPIO_MODE_01
+#define GPIO114_DIR       GPIO_DIR_IN
+#define GPIO114_PULLEN    GPIO_PULL_DISABLE
+#define GPIO114_PULL      GPIO_PULL_DOWN
+#define GPIO114_DATAOUT   GPIO_OUT_ZERO
+#define GPIO114_SMT     GPIO_SMT_ENABLE
+
+//Configureation for Pin 115
+#define GPIO115_MODE      GPIO_MODE_01
+#define GPIO115_DIR       GPIO_DIR_IN
+#define GPIO115_PULLEN    GPIO_PULL_ENABLE
+#define GPIO115_PULL      GPIO_PULL_DOWN
+#define GPIO115_DATAOUT   GPIO_OUT_ZERO
+#define GPIO115_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 116
+#define GPIO116_MODE      GPIO_MODE_01
+#define GPIO116_DIR       GPIO_DIR_IN
+#define GPIO116_PULLEN    GPIO_PULL_ENABLE
+#define GPIO116_PULL      GPIO_PULL_DOWN
+#define GPIO116_DATAOUT   GPIO_OUT_ZERO
+#define GPIO116_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 117
+#define GPIO117_MODE      GPIO_MODE_00
+#define GPIO117_DIR       GPIO_DIR_IN
+#define GPIO117_PULLEN    GPIO_PULL_ENABLE
+#define GPIO117_PULL      GPIO_PULL_DOWN
+#define GPIO117_DATAOUT   GPIO_OUT_ZERO
+#define GPIO117_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 118
+#define GPIO118_MODE      GPIO_MODE_01
+#define GPIO118_DIR       GPIO_DIR_IN
+#define GPIO118_PULLEN    GPIO_PULL_DISABLE
+#define GPIO118_PULL      GPIO_PULL_DOWN
+#define GPIO118_DATAOUT   GPIO_OUT_ZERO
+#define GPIO118_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 119
+#define GPIO119_MODE      GPIO_MODE_00
+#define GPIO119_DIR       GPIO_DIR_IN
+#define GPIO119_PULLEN    GPIO_PULL_ENABLE
+#define GPIO119_PULL      GPIO_PULL_DOWN
+#define GPIO119_DATAOUT   GPIO_OUT_ZERO
+#define GPIO119_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 120
+#define GPIO120_MODE      GPIO_MODE_00
+#define GPIO120_DIR       GPIO_DIR_OUT
+#define GPIO120_PULLEN    GPIO_PULL_DISABLE
+#define GPIO120_PULL      GPIO_PULL_DOWN
+#define GPIO120_DATAOUT   GPIO_OUT_ONE
+#define GPIO120_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 121
+#define GPIO121_MODE      GPIO_MODE_00
+#define GPIO121_DIR       GPIO_DIR_IN
+#define GPIO121_PULLEN    GPIO_PULL_ENABLE
+#define GPIO121_PULL      GPIO_PULL_DOWN
+#define GPIO121_DATAOUT   GPIO_OUT_ZERO
+#define GPIO121_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 122
+#define GPIO122_MODE      GPIO_MODE_00
+#define GPIO122_DIR       GPIO_DIR_OUT
+#define GPIO122_PULLEN    GPIO_PULL_ENABLE
+#define GPIO122_PULL      GPIO_PULL_DOWN
+#define GPIO122_DATAOUT   GPIO_OUT_ZERO
+#define GPIO122_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 123
+#define GPIO123_MODE      GPIO_MODE_00
+#define GPIO123_DIR       GPIO_DIR_IN
+#define GPIO123_PULLEN    GPIO_PULL_ENABLE
+#define GPIO123_PULL      GPIO_PULL_DOWN
+#define GPIO123_DATAOUT   GPIO_OUT_ZERO
+#define GPIO123_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 124
+#define GPIO124_MODE      GPIO_MODE_00
+#define GPIO124_DIR       GPIO_DIR_IN
+#define GPIO124_PULLEN    GPIO_PULL_ENABLE
+#define GPIO124_PULL      GPIO_PULL_DOWN
+#define GPIO124_DATAOUT   GPIO_OUT_ZERO
+#define GPIO124_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 125
+#define GPIO125_MODE      GPIO_MODE_00
+#define GPIO125_DIR       GPIO_DIR_IN
+#define GPIO125_PULLEN    GPIO_PULL_ENABLE
+#define GPIO125_PULL      GPIO_PULL_DOWN
+#define GPIO125_DATAOUT   GPIO_OUT_ZERO
+#define GPIO125_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 126
+#define GPIO126_MODE      GPIO_MODE_00
+#define GPIO126_DIR       GPIO_DIR_IN
+#define GPIO126_PULLEN    GPIO_PULL_ENABLE
+#define GPIO126_PULL      GPIO_PULL_DOWN
+#define GPIO126_DATAOUT   GPIO_OUT_ZERO
+#define GPIO126_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 127
+#define GPIO127_MODE      GPIO_MODE_00
+#define GPIO127_DIR       GPIO_DIR_IN
+#define GPIO127_PULLEN    GPIO_PULL_ENABLE
+#define GPIO127_PULL      GPIO_PULL_DOWN
+#define GPIO127_DATAOUT   GPIO_OUT_ZERO
+#define GPIO127_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 128
+#define GPIO128_MODE      GPIO_MODE_00
+#define GPIO128_DIR       GPIO_DIR_OUT
+#define GPIO128_PULLEN    GPIO_PULL_ENABLE
+#define GPIO128_PULL      GPIO_PULL_DOWN
+#define GPIO128_DATAOUT   GPIO_OUT_ZERO
+#define GPIO128_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 129
+#define GPIO129_MODE      GPIO_MODE_00
+#define GPIO129_DIR       GPIO_DIR_OUT
+#define GPIO129_PULLEN    GPIO_PULL_ENABLE
+#define GPIO129_PULL      GPIO_PULL_DOWN
+#define GPIO129_DATAOUT   GPIO_OUT_ZERO
+#define GPIO129_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 130
+#define GPIO130_MODE      GPIO_MODE_00
+#define GPIO130_DIR       GPIO_DIR_IN
+#define GPIO130_PULLEN    GPIO_PULL_DISABLE
+#define GPIO130_PULL      GPIO_PULL_DOWN
+#define GPIO130_DATAOUT   GPIO_OUT_ZERO
+#define GPIO130_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 131
+#define GPIO131_MODE      GPIO_MODE_01
+#define GPIO131_DIR       GPIO_DIR_OUT
+#define GPIO131_PULLEN    GPIO_PULL_DISABLE
+#define GPIO131_PULL      GPIO_PULL_DOWN
+#define GPIO131_DATAOUT   GPIO_OUT_ZERO
+#define GPIO131_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 132
+#define GPIO132_MODE      GPIO_MODE_01
+#define GPIO132_DIR       GPIO_DIR_OUT
+#define GPIO132_PULLEN    GPIO_PULL_DISABLE
+#define GPIO132_PULL      GPIO_PULL_DOWN
+#define GPIO132_DATAOUT   GPIO_OUT_ZERO
+#define GPIO132_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 133
+#define GPIO133_MODE      GPIO_MODE_01
+#define GPIO133_DIR       GPIO_DIR_OUT
+#define GPIO133_PULLEN    GPIO_PULL_DISABLE
+#define GPIO133_PULL      GPIO_PULL_DOWN
+#define GPIO133_DATAOUT   GPIO_OUT_ZERO
+#define GPIO133_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 134
+#define GPIO134_MODE      GPIO_MODE_01
+#define GPIO134_DIR       GPIO_DIR_OUT
+#define GPIO134_PULLEN    GPIO_PULL_DISABLE
+#define GPIO134_PULL      GPIO_PULL_DOWN
+#define GPIO134_DATAOUT   GPIO_OUT_ZERO
+#define GPIO134_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 135
+#define GPIO135_MODE      GPIO_MODE_01
+#define GPIO135_DIR       GPIO_DIR_OUT
+#define GPIO135_PULLEN    GPIO_PULL_DISABLE
+#define GPIO135_PULL      GPIO_PULL_DOWN
+#define GPIO135_DATAOUT   GPIO_OUT_ZERO
+#define GPIO135_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 136
+#define GPIO136_MODE      GPIO_MODE_01
+#define GPIO136_DIR       GPIO_DIR_OUT
+#define GPIO136_PULLEN    GPIO_PULL_DISABLE
+#define GPIO136_PULL      GPIO_PULL_DOWN
+#define GPIO136_DATAOUT   GPIO_OUT_ZERO
+#define GPIO136_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 137
+#define GPIO137_MODE      GPIO_MODE_01
+#define GPIO137_DIR       GPIO_DIR_IN
+#define GPIO137_PULLEN    GPIO_PULL_DISABLE
+#define GPIO137_PULL      GPIO_PULL_DOWN
+#define GPIO137_DATAOUT   GPIO_OUT_ZERO
+#define GPIO137_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 138
+#define GPIO138_MODE      GPIO_MODE_01
+#define GPIO138_DIR       GPIO_DIR_IN
+#define GPIO138_PULLEN    GPIO_PULL_DISABLE
+#define GPIO138_PULL      GPIO_PULL_DOWN
+#define GPIO138_DATAOUT   GPIO_OUT_ZERO
+#define GPIO138_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 139
+#define GPIO139_MODE      GPIO_MODE_01
+#define GPIO139_DIR       GPIO_DIR_OUT
+#define GPIO139_PULLEN    GPIO_PULL_DISABLE
+#define GPIO139_PULL      GPIO_PULL_DOWN
+#define GPIO139_DATAOUT   GPIO_OUT_ZERO
+#define GPIO139_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 140
+#define GPIO140_MODE      GPIO_MODE_00
+#define GPIO140_DIR       GPIO_DIR_OUT
+#define GPIO140_PULLEN    GPIO_PULL_ENABLE
+#define GPIO140_PULL      GPIO_PULL_DOWN
+#define GPIO140_DATAOUT   GPIO_OUT_ZERO
+#define GPIO140_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 141
+#define GPIO141_MODE      GPIO_MODE_01
+#define GPIO141_DIR       GPIO_DIR_OUT
+#define GPIO141_PULLEN    GPIO_PULL_DISABLE
+#define GPIO141_PULL      GPIO_PULL_DOWN
+#define GPIO141_DATAOUT   GPIO_OUT_ZERO
+#define GPIO141_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 142
+#define GPIO142_MODE      GPIO_MODE_01
+#define GPIO142_DIR       GPIO_DIR_OUT
+#define GPIO142_PULLEN    GPIO_PULL_DISABLE
+#define GPIO142_PULL      GPIO_PULL_DOWN
+#define GPIO142_DATAOUT   GPIO_OUT_ZERO
+#define GPIO142_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 143
+#define GPIO143_MODE      GPIO_MODE_01
+#define GPIO143_DIR       GPIO_DIR_OUT
+#define GPIO143_PULLEN    GPIO_PULL_DISABLE
+#define GPIO143_PULL      GPIO_PULL_DOWN
+#define GPIO143_DATAOUT   GPIO_OUT_ZERO
+#define GPIO143_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 144
+#define GPIO144_MODE      GPIO_MODE_01
+#define GPIO144_DIR       GPIO_DIR_IN
+#define GPIO144_PULLEN    GPIO_PULL_DISABLE
+#define GPIO144_PULL      GPIO_PULL_DOWN
+#define GPIO144_DATAOUT   GPIO_OUT_ZERO
+#define GPIO144_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 145
+#define GPIO145_MODE      GPIO_MODE_01
+#define GPIO145_DIR       GPIO_DIR_OUT
+#define GPIO145_PULLEN    GPIO_PULL_DISABLE
+#define GPIO145_PULL      GPIO_PULL_DOWN
+#define GPIO145_DATAOUT   GPIO_OUT_ZERO
+#define GPIO145_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 146
+#define GPIO146_MODE      GPIO_MODE_01
+#define GPIO146_DIR       GPIO_DIR_OUT
+#define GPIO146_PULLEN    GPIO_PULL_DISABLE
+#define GPIO146_PULL      GPIO_PULL_DOWN
+#define GPIO146_DATAOUT   GPIO_OUT_ZERO
+#define GPIO146_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 147
+#define GPIO147_MODE      GPIO_MODE_00
+#define GPIO147_DIR       GPIO_DIR_IN
+#define GPIO147_PULLEN    GPIO_PULL_ENABLE
+#define GPIO147_PULL      GPIO_PULL_DOWN
+#define GPIO147_DATAOUT   GPIO_OUT_ZERO
+#define GPIO147_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 148
+#define GPIO148_MODE      GPIO_MODE_01
+#define GPIO148_DIR       GPIO_DIR_OUT
+#define GPIO148_PULLEN    GPIO_PULL_DISABLE
+#define GPIO148_PULL      GPIO_PULL_DOWN
+#define GPIO148_DATAOUT   GPIO_OUT_ZERO
+#define GPIO148_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 149
+#define GPIO149_MODE      GPIO_MODE_01
+#define GPIO149_DIR       GPIO_DIR_OUT
+#define GPIO149_PULLEN    GPIO_PULL_DISABLE
+#define GPIO149_PULL      GPIO_PULL_DOWN
+#define GPIO149_DATAOUT   GPIO_OUT_ZERO
+#define GPIO149_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 150
+#define GPIO150_MODE      GPIO_MODE_01
+#define GPIO150_DIR       GPIO_DIR_IN
+#define GPIO150_PULLEN    GPIO_PULL_ENABLE
+#define GPIO150_PULL      GPIO_PULL_DOWN
+#define GPIO150_DATAOUT   GPIO_OUT_ZERO
+#define GPIO150_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 151
+#define GPIO151_MODE      GPIO_MODE_01
+#define GPIO151_DIR       GPIO_DIR_IN
+#define GPIO151_PULLEN    GPIO_PULL_ENABLE
+#define GPIO151_PULL      GPIO_PULL_DOWN
+#define GPIO151_DATAOUT   GPIO_OUT_ZERO
+#define GPIO151_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 152
+#define GPIO152_MODE      GPIO_MODE_01
+#define GPIO152_DIR       GPIO_DIR_IN
+#define GPIO152_PULLEN    GPIO_PULL_ENABLE
+#define GPIO152_PULL      GPIO_PULL_DOWN
+#define GPIO152_DATAOUT   GPIO_OUT_ZERO
+#define GPIO152_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 153
+#define GPIO153_MODE      GPIO_MODE_01
+#define GPIO153_DIR       GPIO_DIR_IN
+#define GPIO153_PULLEN    GPIO_PULL_ENABLE
+#define GPIO153_PULL      GPIO_PULL_DOWN
+#define GPIO153_DATAOUT   GPIO_OUT_ZERO
+#define GPIO153_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 154
+#define GPIO154_MODE      GPIO_MODE_01
+#define GPIO154_DIR       GPIO_DIR_IN
+#define GPIO154_PULLEN    GPIO_PULL_ENABLE
+#define GPIO154_PULL      GPIO_PULL_DOWN
+#define GPIO154_DATAOUT   GPIO_OUT_ZERO
+#define GPIO154_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 155
+#define GPIO155_MODE      GPIO_MODE_01
+#define GPIO155_DIR       GPIO_DIR_IN
+#define GPIO155_PULLEN    GPIO_PULL_ENABLE
+#define GPIO155_PULL      GPIO_PULL_DOWN
+#define GPIO155_DATAOUT   GPIO_OUT_ZERO
+#define GPIO155_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 156
+#define GPIO156_MODE      GPIO_MODE_01
+#define GPIO156_DIR       GPIO_DIR_IN
+#define GPIO156_PULLEN    GPIO_PULL_ENABLE
+#define GPIO156_PULL      GPIO_PULL_DOWN
+#define GPIO156_DATAOUT   GPIO_OUT_ZERO
+#define GPIO156_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 157
+#define GPIO157_MODE      GPIO_MODE_01
+#define GPIO157_DIR       GPIO_DIR_IN
+#define GPIO157_PULLEN    GPIO_PULL_ENABLE
+#define GPIO157_PULL      GPIO_PULL_DOWN
+#define GPIO157_DATAOUT   GPIO_OUT_ZERO
+#define GPIO157_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 158
+#define GPIO158_MODE      GPIO_MODE_01
+#define GPIO158_DIR       GPIO_DIR_IN
+#define GPIO158_PULLEN    GPIO_PULL_ENABLE
+#define GPIO158_PULL      GPIO_PULL_DOWN
+#define GPIO158_DATAOUT   GPIO_OUT_ZERO
+#define GPIO158_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 159
+#define GPIO159_MODE      GPIO_MODE_01
+#define GPIO159_DIR       GPIO_DIR_IN
+#define GPIO159_PULLEN    GPIO_PULL_ENABLE
+#define GPIO159_PULL      GPIO_PULL_DOWN
+#define GPIO159_DATAOUT   GPIO_OUT_ZERO
+#define GPIO159_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 160
+#define GPIO160_MODE      GPIO_MODE_01
+#define GPIO160_DIR       GPIO_DIR_OUT
+#define GPIO160_PULLEN    GPIO_PULL_DISABLE
+#define GPIO160_PULL      GPIO_PULL_DOWN
+#define GPIO160_DATAOUT   GPIO_OUT_ZERO
+#define GPIO160_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 161
+#define GPIO161_MODE      GPIO_MODE_01
+#define GPIO161_DIR       GPIO_DIR_OUT
+#define GPIO161_PULLEN    GPIO_PULL_DISABLE
+#define GPIO161_PULL      GPIO_PULL_DOWN
+#define GPIO161_DATAOUT   GPIO_OUT_ZERO
+#define GPIO161_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 162
+#define GPIO162_MODE      GPIO_MODE_01
+#define GPIO162_DIR       GPIO_DIR_IN
+#define GPIO162_PULLEN    GPIO_PULL_ENABLE
+#define GPIO162_PULL      GPIO_PULL_UP
+#define GPIO162_DATAOUT   GPIO_OUT_ZERO
+#define GPIO162_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 163
+#define GPIO163_MODE      GPIO_MODE_01
+#define GPIO163_DIR       GPIO_DIR_OUT
+#define GPIO163_PULLEN    GPIO_PULL_DISABLE
+#define GPIO163_PULL      GPIO_PULL_DOWN
+#define GPIO163_DATAOUT   GPIO_OUT_ZERO
+#define GPIO163_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 164
+#define GPIO164_MODE      GPIO_MODE_01
+#define GPIO164_DIR       GPIO_DIR_OUT
+#define GPIO164_PULLEN    GPIO_PULL_DISABLE
+#define GPIO164_PULL      GPIO_PULL_DOWN
+#define GPIO164_DATAOUT   GPIO_OUT_ZERO
+#define GPIO164_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 165
+#define GPIO165_MODE      GPIO_MODE_01
+#define GPIO165_DIR       GPIO_DIR_IN
+#define GPIO165_PULLEN    GPIO_PULL_ENABLE
+#define GPIO165_PULL      GPIO_PULL_UP
+#define GPIO165_DATAOUT   GPIO_OUT_ZERO
+#define GPIO165_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 166
+#define GPIO166_MODE      GPIO_MODE_01
+#define GPIO166_DIR       GPIO_DIR_IN
+#define GPIO166_PULLEN    GPIO_PULL_ENABLE
+#define GPIO166_PULL      GPIO_PULL_UP
+#define GPIO166_DATAOUT   GPIO_OUT_ZERO
+#define GPIO166_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 167
+#define GPIO167_MODE      GPIO_MODE_01
+#define GPIO167_DIR       GPIO_DIR_OUT
+#define GPIO167_PULLEN    GPIO_PULL_ENABLE
+#define GPIO167_PULL      GPIO_PULL_DOWN
+#define GPIO167_DATAOUT   GPIO_OUT_ZERO
+#define GPIO167_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 168
+#define GPIO168_MODE      GPIO_MODE_01
+#define GPIO168_DIR       GPIO_DIR_IN
+#define GPIO168_PULLEN    GPIO_PULL_ENABLE
+#define GPIO168_PULL      GPIO_PULL_UP
+#define GPIO168_DATAOUT   GPIO_OUT_ZERO
+#define GPIO168_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 169
+#define GPIO169_MODE      GPIO_MODE_01
+#define GPIO169_DIR       GPIO_DIR_IN
+#define GPIO169_PULLEN    GPIO_PULL_ENABLE
+#define GPIO169_PULL      GPIO_PULL_UP
+#define GPIO169_DATAOUT   GPIO_OUT_ZERO
+#define GPIO169_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 170
+#define GPIO170_MODE      GPIO_MODE_01
+#define GPIO170_DIR       GPIO_DIR_IN
+#define GPIO170_PULLEN    GPIO_PULL_ENABLE
+#define GPIO170_PULL      GPIO_PULL_UP
+#define GPIO170_DATAOUT   GPIO_OUT_ZERO
+#define GPIO170_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 171
+#define GPIO171_MODE      GPIO_MODE_01
+#define GPIO171_DIR       GPIO_DIR_IN
+#define GPIO171_PULLEN    GPIO_PULL_ENABLE
+#define GPIO171_PULL      GPIO_PULL_UP
+#define GPIO171_DATAOUT   GPIO_OUT_ZERO
+#define GPIO171_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 172
+#define GPIO172_MODE      GPIO_MODE_01
+#define GPIO172_DIR       GPIO_DIR_IN
+#define GPIO172_PULLEN    GPIO_PULL_ENABLE
+#define GPIO172_PULL      GPIO_PULL_UP
+#define GPIO172_DATAOUT   GPIO_OUT_ZERO
+#define GPIO172_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 173
+#define GPIO173_MODE      GPIO_MODE_01
+#define GPIO173_DIR       GPIO_DIR_IN
+#define GPIO173_PULLEN    GPIO_PULL_ENABLE
+#define GPIO173_PULL      GPIO_PULL_DOWN
+#define GPIO173_DATAOUT   GPIO_OUT_ZERO
+#define GPIO173_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 174
+#define GPIO174_MODE      GPIO_MODE_01
+#define GPIO174_DIR       GPIO_DIR_OUT
+#define GPIO174_PULLEN    GPIO_PULL_ENABLE
+#define GPIO174_PULL      GPIO_PULL_DOWN
+#define GPIO174_DATAOUT   GPIO_OUT_ZERO
+#define GPIO174_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 175
+#define GPIO175_MODE      GPIO_MODE_01
+#define GPIO175_DIR       GPIO_DIR_IN
+#define GPIO175_PULLEN    GPIO_PULL_ENABLE
+#define GPIO175_PULL      GPIO_PULL_UP
+#define GPIO175_DATAOUT   GPIO_OUT_ZERO
+#define GPIO175_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 176
+#define GPIO176_MODE      GPIO_MODE_01
+#define GPIO176_DIR       GPIO_DIR_IN
+#define GPIO176_PULLEN    GPIO_PULL_ENABLE
+#define GPIO176_PULL      GPIO_PULL_UP
+#define GPIO176_DATAOUT   GPIO_OUT_ZERO
+#define GPIO176_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 177
+#define GPIO177_MODE      GPIO_MODE_01
+#define GPIO177_DIR       GPIO_DIR_IN
+#define GPIO177_PULLEN    GPIO_PULL_ENABLE
+#define GPIO177_PULL      GPIO_PULL_UP
+#define GPIO177_DATAOUT   GPIO_OUT_ZERO
+#define GPIO177_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 178
+#define GPIO178_MODE      GPIO_MODE_01
+#define GPIO178_DIR       GPIO_DIR_IN
+#define GPIO178_PULLEN    GPIO_PULL_ENABLE
+#define GPIO178_PULL      GPIO_PULL_UP
+#define GPIO178_DATAOUT   GPIO_OUT_ZERO
+#define GPIO178_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 179
+#define GPIO179_MODE      GPIO_MODE_01
+#define GPIO179_DIR       GPIO_DIR_IN
+#define GPIO179_PULLEN    GPIO_PULL_ENABLE
+#define GPIO179_PULL      GPIO_PULL_UP
+#define GPIO179_DATAOUT   GPIO_OUT_ZERO
+#define GPIO179_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 180
+#define GPIO180_MODE      GPIO_MODE_01
+#define GPIO180_DIR       GPIO_DIR_IN
+#define GPIO180_PULLEN    GPIO_PULL_ENABLE
+#define GPIO180_PULL      GPIO_PULL_UP
+#define GPIO180_DATAOUT   GPIO_OUT_ZERO
+#define GPIO180_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 181
+#define GPIO181_MODE      GPIO_MODE_01
+#define GPIO181_DIR       GPIO_DIR_IN
+#define GPIO181_PULLEN    GPIO_PULL_ENABLE
+#define GPIO181_PULL      GPIO_PULL_UP
+#define GPIO181_DATAOUT   GPIO_OUT_ZERO
+#define GPIO181_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 182
+#define GPIO182_MODE      GPIO_MODE_01
+#define GPIO182_DIR       GPIO_DIR_IN
+#define GPIO182_PULLEN    GPIO_PULL_ENABLE
+#define GPIO182_PULL      GPIO_PULL_UP
+#define GPIO182_DATAOUT   GPIO_OUT_ZERO
+#define GPIO182_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 183
+#define GPIO183_MODE      GPIO_MODE_01
+#define GPIO183_DIR       GPIO_DIR_OUT
+#define GPIO183_PULLEN    GPIO_PULL_ENABLE
+#define GPIO183_PULL      GPIO_PULL_DOWN
+#define GPIO183_DATAOUT   GPIO_OUT_ONE
+#define GPIO183_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 184
+#define GPIO184_MODE      GPIO_MODE_01
+#define GPIO184_DIR       GPIO_DIR_IN
+#define GPIO184_PULLEN    GPIO_PULL_ENABLE
+#define GPIO184_PULL      GPIO_PULL_DOWN
+#define GPIO184_DATAOUT   GPIO_OUT_ZERO
+#define GPIO184_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 185
+#define GPIO185_MODE      GPIO_MODE_01
+#define GPIO185_DIR       GPIO_DIR_IN
+#define GPIO185_PULLEN    GPIO_PULL_ENABLE
+#define GPIO185_PULL      GPIO_PULL_DOWN
+#define GPIO185_DATAOUT   GPIO_OUT_ZERO
+#define GPIO185_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 186
+#define GPIO186_MODE      GPIO_MODE_01
+#define GPIO186_DIR       GPIO_DIR_IN
+#define GPIO186_PULLEN    GPIO_PULL_DISABLE
+#define GPIO186_PULL      GPIO_PULL_DOWN
+#define GPIO186_DATAOUT   GPIO_OUT_ZERO
+#define GPIO186_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 187
+#define GPIO187_MODE      GPIO_MODE_01
+#define GPIO187_DIR       GPIO_DIR_OUT
+#define GPIO187_PULLEN    GPIO_PULL_DISABLE
+#define GPIO187_PULL      GPIO_PULL_DOWN
+#define GPIO187_DATAOUT   GPIO_OUT_ZERO
+#define GPIO187_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 188
+#define GPIO188_MODE      GPIO_MODE_01
+#define GPIO188_DIR       GPIO_DIR_IN
+#define GPIO188_PULLEN    GPIO_PULL_DISABLE
+#define GPIO188_PULL      GPIO_PULL_DOWN
+#define GPIO188_DATAOUT   GPIO_OUT_ZERO
+#define GPIO188_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 189
+#define GPIO189_MODE      GPIO_MODE_01
+#define GPIO189_DIR       GPIO_DIR_OUT
+#define GPIO189_PULLEN    GPIO_PULL_DISABLE
+#define GPIO189_PULL      GPIO_PULL_DOWN
+#define GPIO189_DATAOUT   GPIO_OUT_ZERO
+#define GPIO189_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 190
+#define GPIO190_MODE      GPIO_MODE_01
+#define GPIO190_DIR       GPIO_DIR_IN
+#define GPIO190_PULLEN    GPIO_PULL_ENABLE
+#define GPIO190_PULL      GPIO_PULL_DOWN
+#define GPIO190_DATAOUT   GPIO_OUT_ZERO
+#define GPIO190_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 191
+#define GPIO191_MODE      GPIO_MODE_01
+#define GPIO191_DIR       GPIO_DIR_IN
+#define GPIO191_PULLEN    GPIO_PULL_ENABLE
+#define GPIO191_PULL      GPIO_PULL_DOWN
+#define GPIO191_DATAOUT   GPIO_OUT_ZERO
+#define GPIO191_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 192
+#define GPIO192_MODE      GPIO_MODE_01
+#define GPIO192_DIR       GPIO_DIR_IN
+#define GPIO192_PULLEN    GPIO_PULL_ENABLE
+#define GPIO192_PULL      GPIO_PULL_DOWN
+#define GPIO192_DATAOUT   GPIO_OUT_ZERO
+#define GPIO192_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 193
+#define GPIO193_MODE      GPIO_MODE_01
+#define GPIO193_DIR       GPIO_DIR_IN
+#define GPIO193_PULLEN    GPIO_PULL_ENABLE
+#define GPIO193_PULL      GPIO_PULL_DOWN
+#define GPIO193_DATAOUT   GPIO_OUT_ZERO
+#define GPIO193_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 194
+#define GPIO194_MODE      GPIO_MODE_01
+#define GPIO194_DIR       GPIO_DIR_IN
+#define GPIO194_PULLEN    GPIO_PULL_ENABLE
+#define GPIO194_PULL      GPIO_PULL_DOWN
+#define GPIO194_DATAOUT   GPIO_OUT_ZERO
+#define GPIO194_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 195
+#define GPIO195_MODE      GPIO_MODE_01
+#define GPIO195_DIR       GPIO_DIR_IN
+#define GPIO195_PULLEN    GPIO_PULL_ENABLE
+#define GPIO195_PULL      GPIO_PULL_DOWN
+#define GPIO195_DATAOUT   GPIO_OUT_ZERO
+#define GPIO195_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 196
+#define GPIO196_MODE      GPIO_MODE_01
+#define GPIO196_DIR       GPIO_DIR_IN
+#define GPIO196_PULLEN    GPIO_PULL_ENABLE
+#define GPIO196_PULL      GPIO_PULL_DOWN
+#define GPIO196_DATAOUT   GPIO_OUT_ZERO
+#define GPIO196_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 197
+#define GPIO197_MODE      GPIO_MODE_01
+#define GPIO197_DIR       GPIO_DIR_IN
+#define GPIO197_PULLEN    GPIO_PULL_ENABLE
+#define GPIO197_PULL      GPIO_PULL_DOWN
+#define GPIO197_DATAOUT   GPIO_OUT_ZERO
+#define GPIO197_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 198
+#define GPIO198_MODE      GPIO_MODE_00
+#define GPIO198_DIR       GPIO_DIR_IN
+#define GPIO198_PULLEN    GPIO_PULL_ENABLE
+#define GPIO198_PULL      GPIO_PULL_DOWN
+#define GPIO198_DATAOUT   GPIO_OUT_ZERO
+#define GPIO198_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 199
+#define GPIO199_MODE      GPIO_MODE_00
+#define GPIO199_DIR       GPIO_DIR_IN
+#define GPIO199_PULLEN    GPIO_PULL_ENABLE
+#define GPIO199_PULL      GPIO_PULL_DOWN
+#define GPIO199_DATAOUT   GPIO_OUT_ZERO
+#define GPIO199_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 200
+#define GPIO200_MODE      GPIO_MODE_00
+#define GPIO200_DIR       GPIO_DIR_IN
+#define GPIO200_PULLEN    GPIO_PULL_ENABLE
+#define GPIO200_PULL      GPIO_PULL_DOWN
+#define GPIO200_DATAOUT   GPIO_OUT_ZERO
+#define GPIO200_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 201
+#define GPIO201_MODE      GPIO_MODE_00
+#define GPIO201_DIR       GPIO_DIR_IN
+#define GPIO201_PULLEN    GPIO_PULL_ENABLE
+#define GPIO201_PULL      GPIO_PULL_DOWN
+#define GPIO201_DATAOUT   GPIO_OUT_ZERO
+#define GPIO201_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 202
+#define GPIO202_MODE      GPIO_MODE_00
+#define GPIO202_DIR       GPIO_DIR_IN
+#define GPIO202_PULLEN    GPIO_PULL_ENABLE
+#define GPIO202_PULL      GPIO_PULL_DOWN
+#define GPIO202_DATAOUT   GPIO_OUT_ZERO
+#define GPIO202_SMT     GPIO_SMT_DISABLE
+
+//Configureation for Pin 203
+#define GPIO203_MODE      GPIO_MODE_00
+#define GPIO203_DIR       GPIO_DIR_IN
+#define GPIO203_PULLEN    GPIO_PULL_ENABLE
+#define GPIO203_PULL      GPIO_PULL_DOWN
+#define GPIO203_DATAOUT   GPIO_OUT_ZERO
+#define GPIO203_SMT     GPIO_SMT_DISABLE
+
+
+
+#endif /* __CUST_GPIO_BOOT_H__ */
+
+
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_gpio_usage.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_gpio_usage.h
new file mode 100644
index 00000000..a9810c7b
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_gpio_usage.h
@@ -0,0 +1,630 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:34 2025
+ * Do Not Modify the File.
+ */
+
+#ifndef __CUST_GPIO_USAGE_H__
+#define __CUST_GPIO_USAGE_H__
+
+
+#define GPIO_OTG_IDDIG_EINT_PIN         (GPIO0 | 0x80000000)
+#define GPIO_OTG_IDDIG_EINT_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_OTG_IDDIG_EINT_PIN_M_CLK  GPIO_MODE_03
+#define GPIO_OTG_IDDIG_EINT_PIN_M_EINT  GPIO_MODE_07
+#define GPIO_OTG_IDDIG_EINT_PIN_M_KCOL  GPIO_MODE_06
+#define GPIO_OTG_IDDIG_EINT_PIN_M_PWM  GPIO_MODE_05
+#define GPIO_OTG_IDDIG_EINT_PIN_M_IDDIG   GPIO_MODE_01
+#define GPIO_OTG_IDDIG_EINT_PIN_CLK     CLK_OUT4
+#define GPIO_OTG_IDDIG_EINT_PIN_FREQ    GPIO_CLKSRC_NONE
+
+#define GPIO_LCM_PWR_EN         (GPIO1 | 0x80000000)
+#define GPIO_LCM_PWR_EN_M_GPIO  GPIO_MODE_00
+#define GPIO_LCM_PWR_EN_M_MDEINT  GPIO_MODE_03
+#define GPIO_LCM_PWR_EN_M_PWM  GPIO_MODE_01
+#define GPIO_LCM_PWR_EN_M_DPI_D   GPIO_MODE_02
+#define GPIO_LCM_PWR_EN_M_TDD_TDO   GPIO_MODE_04
+#define GPIO_LCM_PWR_EN_M_CONN_MCU_TDO   GPIO_MODE_05
+#define GPIO_LCM_PWR_EN_M_PTA_RXD   GPIO_MODE_06
+#define GPIO_LCM_PWR_EN_M_C2K_ARM_EINT   GPIO_MODE_07
+
+#define GPIO_CAPTOUCH_EINT_PIN         (GPIO2 | 0x80000000)
+#define GPIO_CAPTOUCH_EINT_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAPTOUCH_EINT_PIN_M_CLK  GPIO_MODE_01
+#define GPIO_CAPTOUCH_EINT_PIN_M_MDEINT  GPIO_MODE_03
+#define GPIO_CAPTOUCH_EINT_PIN_M_EINT  GPIO_CAPTOUCH_EINT_PIN_M_GPIO
+#define GPIO_CAPTOUCH_EINT_PIN_CLK     CLK_OUT0
+#define GPIO_CAPTOUCH_EINT_PIN_FREQ    GPIO_CLKSRC_NONE
+
+#define GPIO_LCM_BL_EN         (GPIO3 | 0x80000000)
+#define GPIO_LCM_BL_EN_M_GPIO  GPIO_MODE_00
+#define GPIO_LCM_BL_EN_M_CLK  GPIO_MODE_01
+#define GPIO_LCM_BL_EN_M_MDEINT  GPIO_MODE_04
+#define GPIO_LCM_BL_EN_M_DPI_D   GPIO_MODE_02
+#define GPIO_LCM_BL_EN_M_SPI_MIB   GPIO_MODE_03
+#define GPIO_LCM_BL_EN_M_CONN_MCU_DBGI_N   GPIO_MODE_05
+#define GPIO_LCM_BL_EN_M_CONN_MCU_AICE_TMSC   GPIO_MODE_06
+#define GPIO_LCM_BL_EN_M_C2K_ARM_EINT   GPIO_MODE_07
+#define GPIO_LCM_BL_EN_CLK     CLK_OUT1
+#define GPIO_LCM_BL_EN_FREQ    GPIO_CLKSRC_NONE
+
+#define GPIO_SDHC_EINT_PIN         (GPIO5 | 0x80000000)
+#define GPIO_SDHC_EINT_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_SDHC_EINT_PIN_M_EINT  GPIO_SDHC_EINT_PIN_M_GPIO
+
+#define GPIO_ACCDET_EINT_PIN         (GPIO6 | 0x80000000)
+#define GPIO_ACCDET_EINT_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_ACCDET_EINT_PIN_M_EINT  GPIO_ACCDET_EINT_PIN_M_GPIO
+
+#define GPIO_CAMERA_CMPDN_PIN         (GPIO7 | 0x80000000)
+#define GPIO_CAMERA_CMPDN_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_CMPDN_PIN_M_UCTS   GPIO_MODE_01
+#define GPIO_CAMERA_CMPDN_PIN_M_DPI_D   GPIO_MODE_02
+#define GPIO_CAMERA_CMPDN_PIN_M_SDA   GPIO_MODE_03
+#define GPIO_CAMERA_CMPDN_PIN_M_TDD_TMS   GPIO_MODE_04
+#define GPIO_CAMERA_CMPDN_PIN_M_CONN_MCU_TMS   GPIO_MODE_05
+#define GPIO_CAMERA_CMPDN_PIN_M_I2S1_BCK   GPIO_MODE_06
+#define GPIO_CAMERA_CMPDN_PIN_M_TDD_TXD   GPIO_MODE_07
+
+#define GPIO_SIM1_HOT_PLUG         (GPIO8 | 0x80000000)
+#define GPIO_SIM1_HOT_PLUG_M_GPIO  GPIO_MODE_00
+#define GPIO_SIM1_HOT_PLUG_M_MDEINT  GPIO_MODE_05
+#define GPIO_SIM1_HOT_PLUG_M_KCOL  GPIO_MODE_06
+#define GPIO_SIM1_HOT_PLUG_M_URTS   GPIO_MODE_01
+#define GPIO_SIM1_HOT_PLUG_M_C2K_UIM0_HOT_PLUG_IN   GPIO_MODE_02
+#define GPIO_SIM1_HOT_PLUG_M_SCL   GPIO_MODE_03
+#define GPIO_SIM1_HOT_PLUG_M_PCM1_DO   GPIO_MODE_04
+#define GPIO_SIM1_HOT_PLUG_M_UTXD   GPIO_MODE_07
+
+#define GPIO_CTP_EINT_PIN         (GPIO10 | 0x80000000)
+#define GPIO_CTP_EINT_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CTP_EINT_PIN_M_CLK  GPIO_MODE_02
+#define GPIO_CTP_EINT_PIN_M_MDEINT  GPIO_MODE_04
+#define GPIO_CTP_EINT_PIN_M_KROW  GPIO_MODE_03
+#define GPIO_CTP_EINT_PIN_M_PWM  GPIO_MODE_01
+#define GPIO_CTP_EINT_PIN_M_EINT  GPIO_CTP_EINT_PIN_M_GPIO
+#define GPIO_CTP_EINT_PIN_CLK     CLK_OUT1
+#define GPIO_CTP_EINT_PIN_FREQ    GPIO_CLKSRC_NONE
+
+#define GPIO_CAMERA_CMRST1_PIN         (GPIO11 | 0x80000000)
+#define GPIO_CAMERA_CMRST1_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_CMRST1_PIN_M_CLK  GPIO_MODE_04
+#define GPIO_CAMERA_CMRST1_PIN_M_MDEINT  GPIO_MODE_01
+#define GPIO_CAMERA_CMRST1_PIN_M_IRTX_OUT   GPIO_MODE_02
+#define GPIO_CAMERA_CMRST1_PIN_M_C2K_UIM0_HOT_PLUG_IN   GPIO_MODE_03
+#define GPIO_CAMERA_CMRST1_PIN_M_I2S2_MCK   GPIO_MODE_05
+#define GPIO_CAMERA_CMRST1_PIN_M_SCL   GPIO_MODE_06
+#define GPIO_CAMERA_CMRST1_PIN_M_URXD   GPIO_MODE_07
+#define GPIO_CAMERA_CMRST1_PIN_CLK     CLK_OUT0
+#define GPIO_CAMERA_CMRST1_PIN_FREQ    GPIO_CLKSRC_NONE
+
+#define GPIO_CAMERA_CMPDN1_PIN         (GPIO12 | 0x80000000)
+#define GPIO_CAMERA_CMPDN1_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_CMPDN1_PIN_M_CLK  GPIO_MODE_06
+#define GPIO_CAMERA_CMPDN1_PIN_M_MDEINT  GPIO_MODE_04
+#define GPIO_CAMERA_CMPDN1_PIN_M_KCOL  GPIO_MODE_03
+#define GPIO_CAMERA_CMPDN1_PIN_M_I2S0_MCK   GPIO_MODE_01
+#define GPIO_CAMERA_CMPDN1_PIN_M_C2K_UIM1_HOT_PLUG_IN   GPIO_MODE_02
+#define GPIO_CAMERA_CMPDN1_PIN_M_IRTX_OUT   GPIO_MODE_05
+#define GPIO_CAMERA_CMPDN1_PIN_M_PCM1_DO   GPIO_MODE_07
+
+#define GPIO_CAMERA_RDN0_A_PIN         (GPIO32 | 0x80000000)
+#define GPIO_CAMERA_RDN0_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RDN0_A_PIN_M_RDN0_A   GPIO_MODE_01
+#define GPIO_CAMERA_RDN0_A_PIN_M_CMHSYNC   GPIO_MODE_02
+#define GPIO_CAMERA_RDN0_A_PIN_M_CMCSD   GPIO_MODE_03
+
+#define GPIO_CAMERA_RDP0_A_PIN         (GPIO33 | 0x80000000)
+#define GPIO_CAMERA_RDP0_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RDP0_A_PIN_M_RDP0_A   GPIO_MODE_01
+#define GPIO_CAMERA_RDP0_A_PIN_M_CMVSYNC   GPIO_MODE_02
+#define GPIO_CAMERA_RDP0_A_PIN_M_CMCSD   GPIO_MODE_03
+
+#define GPIO_CAMERA_RDN1_A_PIN         (GPIO34 | 0x80000000)
+#define GPIO_CAMERA_RDN1_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RDN1_A_PIN_M_RDN1_A   GPIO_MODE_01
+#define GPIO_CAMERA_RDN1_A_PIN_M_CMDAT   GPIO_MODE_02
+#define GPIO_CAMERA_RDN1_A_PIN_M_CMCSD   GPIO_MODE_03
+
+#define GPIO_CAMERA_RDP1_A_PIN         (GPIO35 | 0x80000000)
+#define GPIO_CAMERA_RDP1_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RDP1_A_PIN_M_RDP1_A   GPIO_MODE_01
+#define GPIO_CAMERA_RDP1_A_PIN_M_CMDAT   GPIO_MODE_02
+#define GPIO_CAMERA_RDP1_A_PIN_M_CMCSD   GPIO_MODE_03
+
+#define GPIO_CAMERA_RCN_A_PIN         (GPIO36 | 0x80000000)
+#define GPIO_CAMERA_RCN_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RCN_A_PIN_M_RCN_A   GPIO_MODE_01
+#define GPIO_CAMERA_RCN_A_PIN_M_CMDAT   GPIO_MODE_02
+
+#define GPIO_CAMERA_RCP_A_PIN         (GPIO37 | 0x80000000)
+#define GPIO_CAMERA_RCP_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RCP_A_PIN_M_RCP_A   GPIO_MODE_01
+#define GPIO_CAMERA_RCP_A_PIN_M_CMDAT   GPIO_MODE_02
+
+#define GPIO_CAMERA_RDN2_A_PIN         (GPIO38 | 0x80000000)
+#define GPIO_CAMERA_RDN2_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RDN2_A_PIN_M_RDN2_A   GPIO_MODE_01
+#define GPIO_CAMERA_RDN2_A_PIN_M_CMDAT   GPIO_MODE_02
+
+#define GPIO_CAMERA_RDP2_A_PIN         (GPIO39 | 0x80000000)
+#define GPIO_CAMERA_RDP2_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RDP2_A_PIN_M_RDP2_A   GPIO_MODE_01
+#define GPIO_CAMERA_RDP2_A_PIN_M_CMDAT   GPIO_MODE_02
+
+#define GPIO_CAMERA_RDN3_A_PIN         (GPIO40 | 0x80000000)
+#define GPIO_CAMERA_RDN3_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RDN3_A_PIN_M_RDN3_A   GPIO_MODE_01
+#define GPIO_CAMERA_RDN3_A_PIN_M_CMDAT   GPIO_MODE_02
+
+#define GPIO_CAMERA_RDP3_A_PIN         (GPIO41 | 0x80000000)
+#define GPIO_CAMERA_RDP3_A_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_RDP3_A_PIN_M_RDP3_A   GPIO_MODE_01
+#define GPIO_CAMERA_RDP3_A_PIN_M_CMDAT   GPIO_MODE_02
+
+#define GPIO_CAMERA_CMRST_PIN         (GPIO44 | 0x80000000)
+#define GPIO_CAMERA_CMRST_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CAMERA_CMRST_PIN_M_CLK  GPIO_MODE_01
+#define GPIO_CAMERA_CMRST_PIN_M_KCOL  GPIO_MODE_04
+#define GPIO_CAMERA_CMRST_PIN_M_PWM  GPIO_MODE_06
+#define GPIO_CAMERA_CMRST_PIN_M_CMCSK   GPIO_MODE_02
+#define GPIO_CAMERA_CMRST_PIN_M_CMCSD   GPIO_MODE_03
+#define GPIO_CAMERA_CMRST_PIN_M_SRCLKENAI   GPIO_MODE_05
+#define GPIO_CAMERA_CMRST_PIN_M_DBG_MON_A   GPIO_MODE_07
+
+#define GPIO_CMMCLK         (GPIO45 | 0x80000000)
+#define GPIO_CMMCLK_M_GPIO  GPIO_MODE_00
+#define GPIO_CMMCLK_M_CLK  GPIO_MODE_01
+#define GPIO_CMMCLK_M_DBG_MON_A   GPIO_MODE_07
+
+#define GPIO_I2C0_SDA_PIN         (GPIO47 | 0x80000000)
+#define GPIO_I2C0_SDA_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_I2C0_SDA_PIN_M_SDA   GPIO_MODE_01
+
+#define GPIO_I2C0_SCA_PIN         (GPIO48 | 0x80000000)
+#define GPIO_I2C0_SCA_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_I2C0_SCA_PIN_M_SCL   GPIO_MODE_01
+
+#define GPIO_I2C1_SDA_PIN         (GPIO49 | 0x80000000)
+#define GPIO_I2C1_SDA_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_I2C1_SDA_PIN_M_SDA   GPIO_MODE_01
+
+#define GPIO_I2C1_SCA_PIN         (GPIO50 | 0x80000000)
+#define GPIO_I2C1_SCA_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_I2C1_SCA_PIN_M_SCL   GPIO_MODE_01
+
+#define GPIO_I2C2_SDA_PIN         (GPIO51 | 0x80000000)
+#define GPIO_I2C2_SDA_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_I2C2_SDA_PIN_M_SDA   GPIO_MODE_01
+
+#define GPIO_I2C2_SCA_PIN         (GPIO52 | 0x80000000)
+#define GPIO_I2C2_SCA_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_I2C2_SCA_PIN_M_SCL   GPIO_MODE_01
+
+#define GPIO_I2C3_SDA_PIN         (GPIO53 | 0x80000000)
+#define GPIO_I2C3_SDA_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_I2C3_SDA_PIN_M_MDEINT  GPIO_MODE_05
+#define GPIO_I2C3_SDA_PIN_M_SDA   GPIO_MODE_01
+#define GPIO_I2C3_SDA_PIN_M_IDDIG   GPIO_MODE_03
+#define GPIO_I2C3_SDA_PIN_M_C2K_UIM1_HOT_PLUG_IN   GPIO_MODE_06
+
+#define GPIO_I2C3_SCA_PIN         (GPIO54 | 0x80000000)
+#define GPIO_I2C3_SCA_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_I2C3_SCA_PIN_M_MDEINT  GPIO_MODE_05
+#define GPIO_I2C3_SCA_PIN_M_SCL   GPIO_MODE_01
+#define GPIO_I2C3_SCA_PIN_M_IDDIG   GPIO_MODE_03
+#define GPIO_I2C3_SCA_PIN_M_C2K_UIM0_HOT_PLUG_IN   GPIO_MODE_06
+
+#define GPIO_UART_URXD2_PIN         (GPIO57 | 0x80000000)
+#define GPIO_UART_URXD2_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_UART_URXD2_PIN_M_CLK  GPIO_MODE_05
+#define GPIO_UART_URXD2_PIN_M_KROW  GPIO_MODE_06
+#define GPIO_UART_URXD2_PIN_M_URXD   GPIO_MODE_01
+#define GPIO_UART_URXD2_PIN_M_DPI_HSYNC   GPIO_MODE_02
+#define GPIO_UART_URXD2_PIN_M_UTXD   GPIO_MODE_03
+#define GPIO_UART_URXD2_PIN_M_MD_URXD   GPIO_MODE_04
+#define GPIO_UART_URXD2_PIN_M_DBG_MON_A   GPIO_MODE_07
+
+#define GPIO_UART_UTXD2_PIN         (GPIO58 | 0x80000000)
+#define GPIO_UART_UTXD2_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_UART_UTXD2_PIN_M_KROW  GPIO_MODE_06
+#define GPIO_UART_UTXD2_PIN_M_UTXD   GPIO_MODE_01
+#define GPIO_UART_UTXD2_PIN_M_DPI_VSYNC   GPIO_MODE_02
+#define GPIO_UART_UTXD2_PIN_M_URXD   GPIO_MODE_03
+#define GPIO_UART_UTXD2_PIN_M_MD_UTXD   GPIO_MODE_04
+#define GPIO_UART_UTXD2_PIN_M_TDD_TXD   GPIO_MODE_05
+#define GPIO_UART_UTXD2_PIN_M_DBG_MON_A   GPIO_MODE_07
+
+#define GPIO_UART_URXD3_PIN         (GPIO59 | 0x80000000)
+#define GPIO_UART_URXD3_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_UART_URXD3_PIN_M_KROW  GPIO_MODE_06
+#define GPIO_UART_URXD3_PIN_M_PWM  GPIO_MODE_05
+#define GPIO_UART_URXD3_PIN_M_URXD   GPIO_MODE_01
+#define GPIO_UART_URXD3_PIN_M_DPI_CK   GPIO_MODE_02
+#define GPIO_UART_URXD3_PIN_M_UTXD   GPIO_MODE_03
+#define GPIO_UART_URXD3_PIN_M_UCTS   GPIO_MODE_04
+#define GPIO_UART_URXD3_PIN_M_DBG_MON_A   GPIO_MODE_07
+
+#define GPIO_UART_UTXD3_PIN         (GPIO60 | 0x80000000)
+#define GPIO_UART_UTXD3_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_UART_UTXD3_PIN_M_KROW  GPIO_MODE_06
+#define GPIO_UART_UTXD3_PIN_M_PWM  GPIO_MODE_05
+#define GPIO_UART_UTXD3_PIN_M_UTXD   GPIO_MODE_01
+#define GPIO_UART_UTXD3_PIN_M_DPI_DE   GPIO_MODE_02
+#define GPIO_UART_UTXD3_PIN_M_URXD   GPIO_MODE_03
+#define GPIO_UART_UTXD3_PIN_M_URTS   GPIO_MODE_04
+#define GPIO_UART_UTXD3_PIN_M_DBG_MON_A   GPIO_MODE_07
+
+#define GPIO_CTP_RST_PIN         (GPIO62 | 0x80000000)
+#define GPIO_CTP_RST_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_CTP_RST_PIN_M_CLK  GPIO_MODE_05
+#define GPIO_CTP_RST_PIN_M_KCOL  GPIO_MODE_04
+#define GPIO_CTP_RST_PIN_M_PCM1_SYNC   GPIO_MODE_01
+#define GPIO_CTP_RST_PIN_M_DPI_D   GPIO_MODE_02
+#define GPIO_CTP_RST_PIN_M_I2S0_LRCK   GPIO_MODE_03
+#define GPIO_CTP_RST_PIN_M_CMFLASH   GPIO_MODE_06
+#define GPIO_CTP_RST_PIN_M_DBG_MON_A   GPIO_MODE_07
+#define GPIO_CTP_RST_PIN_CLK     CLK_OUT3
+#define GPIO_CTP_RST_PIN_FREQ    GPIO_CLKSRC_NONE
+
+#define GPIO_ALS_EINT_PIN         (GPIO65 | 0x80000000)
+#define GPIO_ALS_EINT_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_ALS_EINT_PIN_M_KROW  GPIO_MODE_04
+#define GPIO_ALS_EINT_PIN_M_EINT  GPIO_ALS_EINT_PIN_M_GPIO
+
+#define GPIO_FSA8049_PIN         (GPIO66 | 0x80000000)
+#define GPIO_FSA8049_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_FSA8049_PIN_M_KCOL  GPIO_MODE_04
+#define GPIO_FSA8049_PIN_M_SPI_CKA   GPIO_MODE_01
+#define GPIO_FSA8049_PIN_M_USB_DRVVBUS   GPIO_MODE_02
+#define GPIO_FSA8049_PIN_M_I2S3_BCK   GPIO_MODE_03
+#define GPIO_FSA8049_PIN_M_PTA_TXD   GPIO_MODE_06
+#define GPIO_FSA8049_PIN_M_DBG_MON_A   GPIO_MODE_07
+
+#define GPIO_JTAG_TMS_PIN         (GPIO70 | 0x80000000)
+#define GPIO_JTAG_TMS_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_JTAG_TMS_PIN_M_JTMS   GPIO_MODE_01
+#define GPIO_JTAG_TMS_PIN_M_CONN_MCU_TMS   GPIO_MODE_02
+#define GPIO_JTAG_TMS_PIN_M_LTE_MD32_JTAG_TMS   GPIO_MODE_03
+#define GPIO_JTAG_TMS_PIN_M_TDD_TMS   GPIO_MODE_04
+#define GPIO_JTAG_TMS_PIN_M_CORESONIC_SWD   GPIO_MODE_05
+#define GPIO_JTAG_TMS_PIN_M_DM_OTMS   GPIO_MODE_06
+#define GPIO_JTAG_TMS_PIN_M_DFD_TMS   GPIO_MODE_07
+
+#define GPIO_JTAG_TCK_PIN         (GPIO71 | 0x80000000)
+#define GPIO_JTAG_TCK_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_JTAG_TCK_PIN_M_JTCK   GPIO_MODE_01
+#define GPIO_JTAG_TCK_PIN_M_CONN_MCU_TCK   GPIO_MODE_02
+#define GPIO_JTAG_TCK_PIN_M_LTE_MD32_JTAG_TCK   GPIO_MODE_03
+#define GPIO_JTAG_TCK_PIN_M_TDD_TCK   GPIO_MODE_04
+#define GPIO_JTAG_TCK_PIN_M_CORESONIC_SWCK   GPIO_MODE_05
+#define GPIO_JTAG_TCK_PIN_M_DM_OTCK   GPIO_MODE_06
+#define GPIO_JTAG_TCK_PIN_M_DFD_TCK_XI   GPIO_MODE_07
+
+#define GPIO_JTAG_TDI_PIN         (GPIO72 | 0x80000000)
+#define GPIO_JTAG_TDI_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_JTAG_TDI_PIN_M_JTDI   GPIO_MODE_01
+#define GPIO_JTAG_TDI_PIN_M_CONN_MCU_TDI   GPIO_MODE_02
+#define GPIO_JTAG_TDI_PIN_M_LTE_MD32_JTAG_TDI   GPIO_MODE_03
+#define GPIO_JTAG_TDI_PIN_M_TDD_TDI   GPIO_MODE_04
+#define GPIO_JTAG_TDI_PIN_M_DM_OTDI   GPIO_MODE_06
+#define GPIO_JTAG_TDI_PIN_M_DFD_TDI   GPIO_MODE_07
+
+#define GPIO_JTAG_TDO_PIN         (GPIO73 | 0x80000000)
+#define GPIO_JTAG_TDO_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_JTAG_TDO_PIN_M_JTDO   GPIO_MODE_01
+#define GPIO_JTAG_TDO_PIN_M_CONN_MCU_TDO   GPIO_MODE_02
+#define GPIO_JTAG_TDO_PIN_M_LTE_MD32_JTAG_TDO   GPIO_MODE_03
+#define GPIO_JTAG_TDO_PIN_M_TDD_TDO   GPIO_MODE_04
+#define GPIO_JTAG_TDO_PIN_M_DM_OTDO   GPIO_MODE_06
+#define GPIO_JTAG_TDO_PIN_M_DFD_TDO   GPIO_MODE_07
+
+#define GPIO_UART_URXD0_PIN         (GPIO74 | 0x80000000)
+#define GPIO_UART_URXD0_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_UART_URXD0_PIN_M_URXD   GPIO_MODE_01
+#define GPIO_UART_URXD0_PIN_M_UTXD   GPIO_MODE_02
+#define GPIO_UART_URXD0_PIN_M_MD_URXD   GPIO_MODE_03
+#define GPIO_UART_URXD0_PIN_M_SDA   GPIO_MODE_04
+#define GPIO_UART_URXD0_PIN_M_C2K_UART0_RXD   GPIO_MODE_05
+#define GPIO_UART_URXD0_PIN_M_LTE_URXD   GPIO_MODE_06
+#define GPIO_UART_URXD0_PIN_M_AUXIF_ST   GPIO_MODE_07
+
+#define GPIO_UART_UTXD0_PIN         (GPIO75 | 0x80000000)
+#define GPIO_UART_UTXD0_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_UART_UTXD0_PIN_M_UTXD   GPIO_MODE_01
+#define GPIO_UART_UTXD0_PIN_M_URXD   GPIO_MODE_02
+#define GPIO_UART_UTXD0_PIN_M_MD_UTXD   GPIO_MODE_03
+#define GPIO_UART_UTXD0_PIN_M_TDD_TXD   GPIO_MODE_04
+#define GPIO_UART_UTXD0_PIN_M_C2K_UART0_TXD   GPIO_MODE_05
+#define GPIO_UART_UTXD0_PIN_M_LTE_UTXD   GPIO_MODE_06
+
+#define GPIO_UART_URXD1_PIN         (GPIO76 | 0x80000000)
+#define GPIO_UART_URXD1_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_UART_URXD1_PIN_M_CLK  GPIO_MODE_07
+#define GPIO_UART_URXD1_PIN_M_URXD   GPIO_MODE_01
+#define GPIO_UART_URXD1_PIN_M_UTXD   GPIO_MODE_02
+#define GPIO_UART_URXD1_PIN_M_MD_URXD   GPIO_MODE_03
+#define GPIO_UART_URXD1_PIN_M_SCL   GPIO_MODE_04
+#define GPIO_UART_URXD1_PIN_M_LTE_URXD   GPIO_MODE_05
+#define GPIO_UART_URXD1_PIN_M_C2K_UART0_RXD   GPIO_MODE_06
+
+#define GPIO_UART_UTXD1_PIN         (GPIO77 | 0x80000000)
+#define GPIO_UART_UTXD1_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_UART_UTXD1_PIN_M_UTXD   GPIO_MODE_01
+#define GPIO_UART_UTXD1_PIN_M_URXD   GPIO_MODE_02
+#define GPIO_UART_UTXD1_PIN_M_MD_UTXD   GPIO_MODE_03
+#define GPIO_UART_UTXD1_PIN_M_TDD_TXD   GPIO_MODE_04
+#define GPIO_UART_UTXD1_PIN_M_LTE_UTXD   GPIO_MODE_05
+#define GPIO_UART_UTXD1_PIN_M_C2K_UART0_TXD   GPIO_MODE_06
+
+#define GPIO_GPS_LNA_PIN         (GPIO79 | 0x80000000)
+#define GPIO_GPS_LNA_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_GPS_LNA_PIN_M_PWM  GPIO_MODE_05
+#define GPIO_GPS_LNA_PIN_M_I2S0_LRCK   GPIO_MODE_01
+#define GPIO_GPS_LNA_PIN_M_PCM1_SYNC   GPIO_MODE_02
+#define GPIO_GPS_LNA_PIN_M_I2S3_LRCK   GPIO_MODE_03
+#define GPIO_GPS_LNA_PIN_M_I2S1_LRCK   GPIO_MODE_04
+#define GPIO_GPS_LNA_PIN_M_I2S2_LRCK   GPIO_MODE_06
+#define GPIO_GPS_LNA_PIN_M_DBG_MON_A   GPIO_MODE_07
+
+#define GPIO_KPD_KROW0_PIN         (GPIO81 | 0x80000000)
+#define GPIO_KPD_KROW0_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_KPD_KROW0_PIN_M_EINT  GPIO_MODE_07
+#define GPIO_KPD_KROW0_PIN_M_KROW  GPIO_MODE_01
+#define GPIO_KPD_KROW0_PIN_M_CONN_MCU_DBGI_N   GPIO_MODE_03
+#define GPIO_KPD_KROW0_PIN_M_CORESONIC_SWCK   GPIO_MODE_04
+#define GPIO_KPD_KROW0_PIN_M_C2K_TCK   GPIO_MODE_05
+
+#define GPIO_KPD_KROW1_PIN         (GPIO82 | 0x80000000)
+#define GPIO_KPD_KROW1_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_KPD_KROW1_PIN_M_EINT  GPIO_MODE_07
+#define GPIO_KPD_KROW1_PIN_M_KROW  GPIO_MODE_01
+#define GPIO_KPD_KROW1_PIN_M_CONN_MCU_TRST_B   GPIO_MODE_03
+#define GPIO_KPD_KROW1_PIN_M_CORESONIC_SWD   GPIO_MODE_04
+#define GPIO_KPD_KROW1_PIN_M_C2K_NTRST   GPIO_MODE_05
+#define GPIO_KPD_KROW1_PIN_M_USB_DRVVBUS   GPIO_MODE_06
+
+#define GPIO_KPD_KCOL0_PIN         (GPIO84 | 0x80000000)
+#define GPIO_KPD_KCOL0_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_KPD_KCOL0_PIN_M_CLK  GPIO_MODE_06
+#define GPIO_KPD_KCOL0_PIN_M_KCOL  GPIO_MODE_01
+#define GPIO_KPD_KCOL0_PIN_M_URTS   GPIO_MODE_02
+#define GPIO_KPD_KCOL0_PIN_M_CONN_MCU_DBGACK_N   GPIO_MODE_03
+#define GPIO_KPD_KCOL0_PIN_M_SCL   GPIO_MODE_04
+#define GPIO_KPD_KCOL0_PIN_M_C2K_TDO   GPIO_MODE_05
+
+#define GPIO_KPD_KCOL1_PIN         (GPIO85 | 0x80000000)
+#define GPIO_KPD_KCOL1_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_KPD_KCOL1_PIN_M_KCOL  GPIO_MODE_01
+#define GPIO_KPD_KCOL1_PIN_M_UCTS   GPIO_MODE_02
+#define GPIO_KPD_KCOL1_PIN_M_UCTS   GPIO_MODE_03
+#define GPIO_KPD_KCOL1_PIN_M_SDA   GPIO_MODE_04
+#define GPIO_KPD_KCOL1_PIN_M_C2K_TMS   GPIO_MODE_05
+#define GPIO_KPD_KCOL1_PIN_M_AUXIF_ST   GPIO_MODE_06
+#define GPIO_KPD_KCOL1_PIN_M_DBG_MON_A   GPIO_MODE_07
+
+#define GPIO_RFIC0_BSI_CK         (GPIO111 | 0x80000000)
+#define GPIO_RFIC0_BSI_CK_M_GPIO  GPIO_MODE_00
+#define GPIO_RFIC0_BSI_CK_M_CLK  GPIO_MODE_04
+#define GPIO_RFIC0_BSI_CK_M_RFIC0_BSI_CK   GPIO_MODE_01
+#define GPIO_RFIC0_BSI_CK_M_DBG_MON_B   GPIO_MODE_07
+
+#define GPIO_RFIC0_BSI_D2         (GPIO112 | 0x80000000)
+#define GPIO_RFIC0_BSI_D2_M_GPIO  GPIO_MODE_00
+#define GPIO_RFIC0_BSI_D2_M_RFIC0_BSI_D   GPIO_MODE_01
+#define GPIO_RFIC0_BSI_D2_M_SPM_BSI_D   GPIO_MODE_04
+#define GPIO_RFIC0_BSI_D2_M_DBG_MON_B   GPIO_MODE_07
+
+#define GPIO_RFIC0_BSI_D1         (GPIO113 | 0x80000000)
+#define GPIO_RFIC0_BSI_D1_M_GPIO  GPIO_MODE_00
+#define GPIO_RFIC0_BSI_D1_M_RFIC0_BSI_D   GPIO_MODE_01
+#define GPIO_RFIC0_BSI_D1_M_SPM_BSI_D   GPIO_MODE_04
+#define GPIO_RFIC0_BSI_D1_M_DBG_MON_B   GPIO_MODE_07
+
+#define GPIO_RFIC0_BSI_D0         (GPIO114 | 0x80000000)
+#define GPIO_RFIC0_BSI_D0_M_GPIO  GPIO_MODE_00
+#define GPIO_RFIC0_BSI_D0_M_RFIC0_BSI_D   GPIO_MODE_01
+#define GPIO_RFIC0_BSI_D0_M_SPM_BSI_D   GPIO_MODE_04
+#define GPIO_RFIC0_BSI_D0_M_DBG_MON_B   GPIO_MODE_07
+
+#define GPIO_RCV_SPK_SWITCH_PIN         (GPIO120 | 0x80000000)
+#define GPIO_RCV_SPK_SWITCH_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_RCV_SPK_SWITCH_PIN_M_BPI_BUS   GPIO_MODE_01
+#define GPIO_RCV_SPK_SWITCH_PIN_M_DBG_MON_B   GPIO_MODE_07
+
+#define GPIO_SWCHARGER_EN_PIN         (GPIO122 | 0x80000000)
+#define GPIO_SWCHARGER_EN_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_SWCHARGER_EN_PIN_M_BPI_BUS   GPIO_MODE_01
+#define GPIO_SWCHARGER_EN_PIN_M_DBG_MON_B   GPIO_MODE_07
+
+#define GPIO_EXT_SPKAMP2_EN_PIN         (GPIO128 | 0x80000000)
+#define GPIO_EXT_SPKAMP2_EN_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_EXT_SPKAMP2_EN_PIN_M_BPI_BUS   GPIO_MODE_01
+#define GPIO_EXT_SPKAMP2_EN_PIN_M_GPS_FRAME_SYNC   GPIO_MODE_03
+#define GPIO_EXT_SPKAMP2_EN_PIN_M_I2S2_DI   GPIO_MODE_05
+#define GPIO_EXT_SPKAMP2_EN_PIN_M_PTA_RXD   GPIO_MODE_06
+#define GPIO_EXT_SPKAMP2_EN_PIN_M_UTXD   GPIO_MODE_07
+
+#define GPIO_EXT_SPKAMP_EN_PIN         (GPIO129 | 0x80000000)
+#define GPIO_EXT_SPKAMP_EN_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_EXT_SPKAMP_EN_PIN_M_PWM  GPIO_MODE_02
+#define GPIO_EXT_SPKAMP_EN_PIN_M_BPI_BUS   GPIO_MODE_01
+#define GPIO_EXT_SPKAMP_EN_PIN_M_I2S2_LRCK   GPIO_MODE_05
+#define GPIO_EXT_SPKAMP_EN_PIN_M_PTA_TXD   GPIO_MODE_06
+#define GPIO_EXT_SPKAMP_EN_PIN_M_LTE_URXD   GPIO_MODE_07
+
+#define GPIO_LTE_VSRAM_EXT_POWER_EN_PIN         (GPIO140 | 0x80000000)
+#define GPIO_LTE_VSRAM_EXT_POWER_EN_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_LTE_VSRAM_EXT_POWER_EN_PIN_M_LTE_MD32_JTAG_TRST   GPIO_MODE_03
+#define GPIO_LTE_VSRAM_EXT_POWER_EN_PIN_M_TDD_TRSTN   GPIO_MODE_04
+#define GPIO_LTE_VSRAM_EXT_POWER_EN_PIN_M_DM_JTINTP   GPIO_MODE_05
+
+#define GPIO_AUD_CLK_MOSI_PIN         (GPIO143 | 0x80000000)
+#define GPIO_AUD_CLK_MOSI_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_AUD_CLK_MOSI_PIN_M_CLK  GPIO_MODE_01
+
+#define GPIO_AUD_DAT_MISO_PIN         (GPIO144 | 0x80000000)
+#define GPIO_AUD_DAT_MISO_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_AUD_DAT_MISO_PIN_M_AUD_DAT_MISO   GPIO_MODE_01
+#define GPIO_AUD_DAT_MISO_PIN_M_AUD_DAT_MOSI   GPIO_MODE_03
+
+#define GPIO_AUD_DAT_MOSI_PIN         (GPIO145 | 0x80000000)
+#define GPIO_AUD_DAT_MOSI_PIN_M_GPIO  GPIO_MODE_00
+#define GPIO_AUD_DAT_MOSI_PIN_M_AUD_DAT_MOSI   GPIO_MODE_01
+#define GPIO_AUD_DAT_MOSI_PIN_M_AUD_DAT_MISO   GPIO_MODE_03
+
+#define GPIO_LCM_RST         (GPIO146 | 0x80000000)
+#define GPIO_LCM_RST_M_GPIO  GPIO_MODE_00
+#define GPIO_LCM_RST_M_LCM_RST   GPIO_MODE_01
+
+#define GPIO_SIM2_SCLK         (GPIO160 | 0x80000000)
+#define GPIO_SIM2_SCLK_M_GPIO  GPIO_MODE_00
+#define GPIO_SIM2_SCLK_M_CLK  GPIO_MODE_01
+#define GPIO_SIM2_SCLK_M_MD_SIM1_SCLK   GPIO_MODE_02
+#define GPIO_SIM2_SCLK_M_UIM0_CLK   GPIO_MODE_03
+#define GPIO_SIM2_SCLK_M_UIM1_CLK   GPIO_MODE_04
+
+#define GPIO_SIM2_SRST         (GPIO161 | 0x80000000)
+#define GPIO_SIM2_SRST_M_GPIO  GPIO_MODE_00
+#define GPIO_SIM2_SRST_M_MD_SIM2_SRST   GPIO_MODE_01
+#define GPIO_SIM2_SRST_M_MD_SIM1_SRST   GPIO_MODE_02
+#define GPIO_SIM2_SRST_M_UIM0_RST   GPIO_MODE_03
+#define GPIO_SIM2_SRST_M_UIM1_RST   GPIO_MODE_04
+
+#define GPIO_SIM2_SIO         (GPIO162 | 0x80000000)
+#define GPIO_SIM2_SIO_M_GPIO  GPIO_MODE_00
+#define GPIO_SIM2_SIO_M_MD_SIM2_SDAT   GPIO_MODE_01
+#define GPIO_SIM2_SIO_M_MD_SIM1_SDAT   GPIO_MODE_02
+#define GPIO_SIM2_SIO_M_UIM0_IO   GPIO_MODE_03
+#define GPIO_SIM2_SIO_M_UIM1_IO   GPIO_MODE_04
+
+#define GPIO_SIM1_SCLK         (GPIO163 | 0x80000000)
+#define GPIO_SIM1_SCLK_M_GPIO  GPIO_MODE_00
+#define GPIO_SIM1_SCLK_M_CLK  GPIO_MODE_01
+#define GPIO_SIM1_SCLK_M_MD_SIM2_SCLK   GPIO_MODE_02
+#define GPIO_SIM1_SCLK_M_UIM1_CLK   GPIO_MODE_03
+#define GPIO_SIM1_SCLK_M_UIM0_CLK   GPIO_MODE_04
+
+#define GPIO_SIM1_SRST         (GPIO164 | 0x80000000)
+#define GPIO_SIM1_SRST_M_GPIO  GPIO_MODE_00
+#define GPIO_SIM1_SRST_M_MD_SIM1_SRST   GPIO_MODE_01
+#define GPIO_SIM1_SRST_M_MD_SIM2_SRST   GPIO_MODE_02
+#define GPIO_SIM1_SRST_M_UIM1_RST   GPIO_MODE_03
+#define GPIO_SIM1_SRST_M_UIM0_RST   GPIO_MODE_04
+
+#define GPIO_SIM1_SIO         (GPIO165 | 0x80000000)
+#define GPIO_SIM1_SIO_M_GPIO  GPIO_MODE_00
+#define GPIO_SIM1_SIO_M_MD_SIM1_SDAT   GPIO_MODE_01
+#define GPIO_SIM1_SIO_M_MD_SIM2_SDAT   GPIO_MODE_02
+#define GPIO_SIM1_SIO_M_UIM1_IO   GPIO_MODE_03
+#define GPIO_SIM1_SIO_M_UIM0_IO   GPIO_MODE_04
+
+#define GPIO_MSDC1_CMD         (GPIO166 | 0x80000000)
+#define GPIO_MSDC1_CMD_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC1_CMD_M_MSDC1_CMD   GPIO_MODE_01
+#define GPIO_MSDC1_CMD_M_LTE_MD32_JTAG_TMS   GPIO_MODE_02
+#define GPIO_MSDC1_CMD_M_C2K_TMS   GPIO_MODE_03
+#define GPIO_MSDC1_CMD_M_TDD_TMS   GPIO_MODE_04
+#define GPIO_MSDC1_CMD_M_CONN_DSP_JMS   GPIO_MODE_05
+#define GPIO_MSDC1_CMD_M_JTMS   GPIO_MODE_06
+#define GPIO_MSDC1_CMD_M_CONN_MCU_AICE_TMSC   GPIO_MODE_07
+
+#define GPIO_MSDC1_CLK         (GPIO167 | 0x80000000)
+#define GPIO_MSDC1_CLK_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC1_CLK_M_CLK  GPIO_MODE_01
+#define GPIO_MSDC1_CLK_M_LTE_MD32_JTAG_TCK   GPIO_MODE_02
+#define GPIO_MSDC1_CLK_M_C2K_TCK   GPIO_MODE_03
+#define GPIO_MSDC1_CLK_M_TDD_TCK   GPIO_MODE_04
+#define GPIO_MSDC1_CLK_M_CONN_DSP_JCK   GPIO_MODE_05
+#define GPIO_MSDC1_CLK_M_JTCK   GPIO_MODE_06
+#define GPIO_MSDC1_CLK_M_CONN_MCU_AICE_TCKC   GPIO_MODE_07
+
+#define GPIO_MSDC1_DAT0         (GPIO168 | 0x80000000)
+#define GPIO_MSDC1_DAT0_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC1_DAT0_M_MSDC1_DAT   GPIO_MODE_01
+#define GPIO_MSDC1_DAT0_M_LTE_MD32_JTAG_TDI   GPIO_MODE_02
+#define GPIO_MSDC1_DAT0_M_C2K_TDI   GPIO_MODE_03
+#define GPIO_MSDC1_DAT0_M_TDD_TDI   GPIO_MODE_04
+#define GPIO_MSDC1_DAT0_M_CONN_DSP_JDI   GPIO_MODE_05
+#define GPIO_MSDC1_DAT0_M_JTDI   GPIO_MODE_06
+
+#define GPIO_MSDC1_DAT1         (GPIO169 | 0x80000000)
+#define GPIO_MSDC1_DAT1_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC1_DAT1_M_MSDC1_DAT   GPIO_MODE_01
+#define GPIO_MSDC1_DAT1_M_LTE_MD32_JTAG_TDO   GPIO_MODE_02
+#define GPIO_MSDC1_DAT1_M_C2K_TDO   GPIO_MODE_03
+#define GPIO_MSDC1_DAT1_M_TDD_TDO   GPIO_MODE_04
+#define GPIO_MSDC1_DAT1_M_CONN_DSP_JDO   GPIO_MODE_05
+#define GPIO_MSDC1_DAT1_M_JTDO   GPIO_MODE_06
+
+#define GPIO_MSDC1_DAT2         (GPIO170 | 0x80000000)
+#define GPIO_MSDC1_DAT2_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC1_DAT2_M_MSDC1_DAT   GPIO_MODE_01
+#define GPIO_MSDC1_DAT2_M_LTE_MD32_JTAG_TRST   GPIO_MODE_02
+#define GPIO_MSDC1_DAT2_M_C2K_NTRST   GPIO_MODE_03
+#define GPIO_MSDC1_DAT2_M_TDD_TRSTN   GPIO_MODE_04
+#define GPIO_MSDC1_DAT2_M_CONN_DSP_JINTP   GPIO_MODE_05
+#define GPIO_MSDC1_DAT2_M_DM_JTINTP   GPIO_MODE_06
+
+#define GPIO_MSDC1_DAT3         (GPIO171 | 0x80000000)
+#define GPIO_MSDC1_DAT3_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC1_DAT3_M_MSDC1_DAT   GPIO_MODE_01
+#define GPIO_MSDC1_DAT3_M_C2K_RTCK   GPIO_MODE_03
+
+#define GPIO_MSDC0_CMD         (GPIO172 | 0x80000000)
+#define GPIO_MSDC0_CMD_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_CMD_M_MSDC0_CMD   GPIO_MODE_01
+
+#define GPIO_MSDC0_DSL         (GPIO173 | 0x80000000)
+#define GPIO_MSDC0_DSL_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_DSL_M_MSDC0_DSL   GPIO_MODE_01
+
+#define GPIO_MSDC0_CLK         (GPIO174 | 0x80000000)
+#define GPIO_MSDC0_CLK_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_CLK_M_CLK  GPIO_MODE_01
+
+#define GPIO_MSDC0_DAT0         (GPIO175 | 0x80000000)
+#define GPIO_MSDC0_DAT0_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_DAT0_M_MSDC0_DAT   GPIO_MODE_01
+
+#define GPIO_MSDC0_DAT1         (GPIO176 | 0x80000000)
+#define GPIO_MSDC0_DAT1_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_DAT1_M_MSDC0_DAT   GPIO_MODE_01
+
+#define GPIO_MSDC0_DAT2         (GPIO177 | 0x80000000)
+#define GPIO_MSDC0_DAT2_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_DAT2_M_MSDC0_DAT   GPIO_MODE_01
+
+#define GPIO_MSDC0_DAT3         (GPIO178 | 0x80000000)
+#define GPIO_MSDC0_DAT3_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_DAT3_M_MSDC0_DAT   GPIO_MODE_01
+
+#define GPIO_MSDC0_DAT4         (GPIO179 | 0x80000000)
+#define GPIO_MSDC0_DAT4_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_DAT4_M_MSDC0_DAT   GPIO_MODE_01
+
+#define GPIO_MSDC0_DAT5         (GPIO180 | 0x80000000)
+#define GPIO_MSDC0_DAT5_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_DAT5_M_MSDC0_DAT   GPIO_MODE_01
+
+#define GPIO_MSDC0_DAT6         (GPIO181 | 0x80000000)
+#define GPIO_MSDC0_DAT6_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_DAT6_M_MSDC0_DAT   GPIO_MODE_01
+
+#define GPIO_MSDC0_DAT7         (GPIO182 | 0x80000000)
+#define GPIO_MSDC0_DAT7_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_DAT7_M_MSDC0_DAT   GPIO_MODE_01
+
+#define GPIO_MSDC0_RSTB         (GPIO183 | 0x80000000)
+#define GPIO_MSDC0_RSTB_M_GPIO  GPIO_MODE_00
+#define GPIO_MSDC0_RSTB_M_MSDC0_RSTB   GPIO_MODE_01
+
+
+/*Output for default variable names*/
+/*@XXX_XX_PIN in gpio.cmp          */
+
+
+
+#endif /* __CUST_GPIO_USAGE_H__ */
+
+
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_i2c.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_i2c.h
new file mode 100644
index 00000000..e9db7e43
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_i2c.h
@@ -0,0 +1,78 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:35 2025
+ * Do Not Modify the File.
+ */
+
+#ifndef _CUST_I2C_H
+#define _CUST_I2C_H
+
+
+#define I2C_CHANNEL_0					0
+#define I2C_CHANNEL_1					1
+#define I2C_CHANNEL_2					2
+#define I2C_CHANNEL_3					3
+
+
+#define I2C_CAMERA_MAIN_AUTO_DETECT			FALSE
+#define I2C_CAMERA_MAIN_CHANNEL				I2C_CHANNEL_0
+#define I2C_CAMERA_MAIN_SLAVE_7_BIT_ADDR		0x10
+
+
+#define I2C_CAMERA_MAIN_AF_AUTO_DETECT			FALSE
+#define I2C_CAMERA_MAIN_AF_CHANNEL				I2C_CHANNEL_0
+#define I2C_CAMERA_MAIN_AF_SLAVE_7_BIT_ADDR		0x0C
+
+
+#define I2C_CAMERA_SUB_AUTO_DETECT			FALSE
+#define I2C_CAMERA_SUB_CHANNEL				I2C_CHANNEL_0
+#define I2C_CAMERA_SUB_SLAVE_7_BIT_ADDR		0x3C
+
+
+#define I2C_CAP_TOUCH_AUTO_DETECT			FALSE
+#define I2C_CAP_TOUCH_CHANNEL				I2C_CHANNEL_1
+#define I2C_CAP_TOUCH_SLAVE_7_BIT_ADDR		0x5D
+
+
+#define I2C_I2C_LCD_BIAS_AUTO_DETECT			FALSE
+#define I2C_I2C_LCD_BIAS_CHANNEL				I2C_CHANNEL_1
+#define I2C_I2C_LCD_BIAS_SLAVE_7_BIT_ADDR		0x3E
+
+
+#define I2C_MSENSOR_AUTO_DETECT			FALSE
+#define I2C_MSENSOR_CHANNEL				I2C_CHANNEL_2
+#define I2C_MSENSOR_SLAVE_7_BIT_ADDR		0x0D
+
+
+#define I2C_GYRO_AUTO_DETECT			FALSE
+#define I2C_GYRO_CHANNEL				I2C_CHANNEL_2
+#define I2C_GYRO_SLAVE_7_BIT_ADDR		0x68
+
+
+#define I2C_GSENSOR_AUTO_DETECT			FALSE
+#define I2C_GSENSOR_CHANNEL				I2C_CHANNEL_2
+#define I2C_GSENSOR_SLAVE_7_BIT_ADDR		0x4C
+
+
+#define I2C_ALSPS_AUTO_DETECT			FALSE
+#define I2C_ALSPS_CHANNEL				I2C_CHANNEL_2
+#define I2C_ALSPS_SLAVE_7_BIT_ADDR		0x60
+
+
+#define I2C_NFC_AUTO_DETECT			FALSE
+#define I2C_NFC_CHANNEL				I2C_CHANNEL_2
+#define I2C_NFC_SLAVE_7_BIT_ADDR		0x28
+
+
+#define I2C_STROBE_MAIN_AUTO_DETECT			FALSE
+#define I2C_STROBE_MAIN_CHANNEL				I2C_CHANNEL_2
+#define I2C_STROBE_MAIN_SLAVE_7_BIT_ADDR		0x63
+
+
+#define I2C_EXT_BUCK_AUTO_DETECT			FALSE
+#define I2C_EXT_BUCK_CHANNEL				I2C_CHANNEL_3
+#define I2C_EXT_BUCK_SLAVE_7_BIT_ADDR		0x6B
+
+
+#endif /* _CUST_I2C_H */
+
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_kpd.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_kpd.h
new file mode 100644
index 00000000..dd3da5bc
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_kpd.h
@@ -0,0 +1,111 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:34 2025
+ * Do Not Modify the File.
+ */
+
+#ifndef _CUST_KPD_H_
+#define _CUST_KPD_H_
+#include <linux/input.h>
+#include <cust_eint.h>
+
+#define KPD_YES		1
+#define KPD_NO		0
+
+/* available keys (Linux keycodes) */
+#define KEY_CALL	KEY_SEND
+#define KEY_ENDCALL	KEY_END
+#undef KEY_OK
+#define KEY_OK		KEY_REPLY	/* DPAD_CENTER */
+#define KEY_FOCUS	KEY_HP
+#define KEY_AT		KEY_EMAIL
+#define KEY_POUND	228	//KEY_KBDILLUMTOGGLE
+#define KEY_STAR	227	//KEY_SWITCHVIDEOMODE
+#define KEY_DEL 	KEY_BACKSPACE
+#define KEY_SYM		KEY_COMPOSE
+/* KEY_HOME */
+/* KEY_BACK */
+/* KEY_VOLUMEDOWN */
+/* KEY_VOLUMEUP */
+/* KEY_MUTE */
+/* KEY_MENU */
+/* KEY_UP */
+/* KEY_DOWN */
+/* KEY_LEFT */
+/* KEY_RIGHT */
+/* KEY_CAMERA */
+/* KEY_POWER */
+/* KEY_TAB */
+/* KEY_ENTER */
+/* KEY_LEFTSHIFT */
+/* KEY_COMMA */
+/* KEY_DOT */		/* PERIOD */
+/* KEY_SLASH */
+/* KEY_LEFTALT */
+/* KEY_RIGHTALT */
+/* KEY_SPACE */
+/* KEY_SEARCH */
+/* KEY_0 ~ KEY_9 */
+/* KEY_A ~ KEY_Z */
+
+/*
+ * Power key's HW keycodes are 8, 17, 26, 35, 44, 53, 62, 71.  Only [8] works
+ * for Power key in Keypad driver, so we set KEY_ENDCALL in [8] because
+ * EndCall key is Power key in Android.  If KPD_PWRKEY_USE_EINT is YES, these
+ * eight keycodes will not work for Power key.
+ */
+
+
+#define KPD_KEY_DEBOUNCE  1024      /* (val / 32) ms */
+#define KPD_PWRKEY_MAP    KEY_POWER
+#define MTK_PMIC_PWR_KEY    8
+
+#define KPD_PMIC_RSTKEY_MAP    KEY_VOLUMEUP
+#define MTK_PMIC_RST_KEY    17
+
+#define KPD_USE_EXTEND_TYPE   KPD_NO
+
+/* HW keycode [0 ~ 71] -> Linux keycode */
+#define KPD_INIT_KEYMAP()	\
+{	\
+	[0] = KEY_VOLUMEDOWN,		\
+}	 
+/*****************************************************************/
+/*******************Preload Customation***************************/
+/*****************************************************************/
+#define KPD_PWRKEY_EINT_GPIO  GPIO0
+
+#define KPD_PWRKEY_GPIO_DIN  0
+
+#define  KPD_DL_KEY1  17    /* KEY_VOLUMEUP */
+#define KPD_DL_KEY2  0    /* KEY_VOLUMEDOWN */
+#define  KPD_DL_KEY3  8    /* KEY_POWER */
+/*****************************************************************/
+/*******************Uboot Customation***************************/
+/*****************************************************************/
+#define MT65XX_RECOVERY_KEY  17    /* KEY_VOLUMEUP */
+#define MT65XX_FACTORY_KEY  0    /* KEY_VOLUMEDOWN */
+/*****************************************************************/
+/*******************factory Customation***************************/
+/*****************************************************************/
+#define KEYS_PWRKEY_MAP		{ KEY_POWER, "Power" }
+#define KEYS_RSTKEY_MAP		{ KEY_VOLUMEUP, "VLUp" }
+#define DEFINE_KEYS_KEYMAP(x)		\
+ struct key x[] = {	\
+ 	KEYS_PWRKEY_MAP,		\
+    KEYS_RSTKEY_MAP,		\
+  { KEY_VOLUMEDOWN,   "VLDown"  }, \
+}
+#define CUST_KEY_UP  KEY_VOLUMEUP    
+#define CUST_KEY_VOLUP  KEY_VOLUMEUP    
+#define CUST_KEY_DOWN  KEY_VOLUMEDOWN    
+#define CUST_KEY_VOLDOWN  KEY_VOLUMEDOWN    
+#define CUST_KEY_CONFIRM  KEY_POWER    
+#define CUST_KEY_BACK  KEY_VOLUMEUP    
+/*****************************************************************/
+/*******************recovery Customation****************************/
+/*****************************************************************/
+#endif
+
+
+
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_power.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_power.h
new file mode 100644
index 00000000..5c6f0bc4
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/cust_power.h
@@ -0,0 +1,12 @@
+/*
+ * Generated by MTK SP DrvGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:34 2025
+ * Do Not Modify the File.
+ */
+
+#define GPIO_DVDD28_SIM1     GPIO_GPIO_VIO18
+#define GPIO_DVDD28_SIM2     GPIO_GPIO_VIO18
+#define GPIO_DVDD28_MC1     GPIO_GPIO_VIO18
+#define GPIO_DVDD28_MC2     GPIO_MSDC_VMC
+
+
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/pmic_drv.h b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/pmic_drv.h
new file mode 100644
index 00000000..20992561
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/inc/pmic_drv.h
@@ -0,0 +1,69 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:35 2025
+ * Do Not Modify the File.
+ */
+
+
+
+
+
+#define PMIC_APP_MAIN_CAMERA_POWER_A         MT6328_POWER_LDO_VCAMA
+
+#define PMIC_APP_SUB_CAMERA_POWER_A         MT6328_POWER_LDO_VCAMA
+
+#define PMIC_APP_MAIN_CAMERA_POWER_AF         MT6328_POWER_LDO_VCAM_AF
+
+#define PMIC_APP_SUB_CAMERA_POWER_AF         MT6328_POWER_LDO_VCAM_AF
+
+#define PMIC_APP_CAP_TOUCH_VDD         MT6328_POWER_LDO_VGP1
+
+#define PMIC_APP_MAIN_CAMERA_POWER_D         MT6328_POWER_LDO_VCAMD
+
+#define PMIC_APP_SUB_CAMERA_POWER_D         MT6328_POWER_LDO_VCAMD
+
+#define PMIC_APP_MAIN_CAMERA_POWER_IO         MT6328_POWER_LDO_VCAM_IO
+
+#define PMIC_APP_SUB_CAMERA_POWER_IO         MT6328_POWER_LDO_VCAM_IO
+
+
+
+
+/**********Output default name********************/
+
+#define PMIC_APP_CAP_TOUCH_VIO         MT65XX_POWER_NONE
+
+#define PMIC_APP_MHL_POWER_LDO1         MT65XX_POWER_NONE
+
+#define PMIC_APP_MHL_POWER_LDO2         MT65XX_POWER_NONE
+
+#define PMIC_APP_ACCELEROMETER_SENSOR_VDD         MT65XX_POWER_NONE
+
+#define PMIC_APP_ACCELEROMETER_SENSOR_VIO         MT65XX_POWER_NONE
+
+#define PMIC_APP_AMBIENT_LIGHT_SENSOR_VDD         MT65XX_POWER_NONE
+
+#define PMIC_APP_AMBIENT_LIGHT_SENSOR_VIO         MT65XX_POWER_NONE
+
+#define PMIC_APP_PROXIMITY_SENSOR_VDD         MT65XX_POWER_NONE
+
+#define PMIC_APP_PROXIMITY_SENSOR_VIO         MT65XX_POWER_NONE
+
+#define PMIC_APP_MAGNETOMETER_SENSOR_VDD         MT65XX_POWER_NONE
+
+#define PMIC_APP_MAGNETOMETER_SENSOR_VIO         MT65XX_POWER_NONE
+
+#define PMIC_APP_GYROSCOPE_VDD         MT65XX_POWER_NONE
+
+#define PMIC_APP_GYROSCOPE_VIO         MT65XX_POWER_NONE
+
+#define PMIC_APP_BAROMETER_VDD         MT65XX_POWER_NONE
+
+#define PMIC_APP_BAROMETER_VIO         MT65XX_POWER_NONE
+
+#define PMIC_APP_MEMORY_CARD_VDD         MT65XX_POWER_NONE
+
+
+
+
+
diff --git a/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/pmic_drv.c b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/pmic_drv.c
new file mode 100644
index 00000000..68e7996f
--- /dev/null
+++ b/drivers/misc/mediatek/mach/mt6735/lcsh8735_6tb_a8_l/dct/dct/pmic_drv.c
@@ -0,0 +1,22 @@
+/*
+ * Generated by MTK SP Drv_CodeGen Version 03.13.6  for MT6735. Copyright MediaTek Inc. (C) 2013.
+ * Tue Oct 21 02:00:35 2025
+ * Do Not Modify the File.
+ */
+
+
+
+#include <linux/types.h>
+#include <mach/mt_typedefs.h>
+#include <mach/upmu_common.h>
+#include <mach/upmu_hw.h>
+#include <mach/mt_pm_ldo.h>
+
+
+void pmu_drv_tool_customization_init(void)
+{
+}
+
+
+
+
-- 
2.51.1.dirty

