commit | f20352c5960589ef7c7173d4c15f96fb45a4102c | [log] [tgz] |
---|---|---|
author | c.chen <c.chen@exm.com> | Fri Jul 01 01:07:40 2022 -0700 |
committer | c.chen <c.chen@exm.com> | Fri Jul 01 01:07:40 2022 -0700 |
tree | 8b2060cac6b220faa010f99dfa4c86ce83fe1480 | |
parent | 97e9fac9a4af53fd898b9d7343d16c479961ca41 [diff] |
[feature]modify GPIO19 output low for sszt Change-Id: I0b69a0bbebbfbd5237d8c0176b2f78103df267a5
diff --git a/src/bsp/lk/platform/mt2731/include/platform/cust_gpio_boot.h b/src/bsp/lk/platform/mt2731/include/platform/cust_gpio_boot.h index 7009000..79a67c1 100644 --- a/src/bsp/lk/platform/mt2731/include/platform/cust_gpio_boot.h +++ b/src/bsp/lk/platform/mt2731/include/platform/cust_gpio_boot.h
@@ -63,8 +63,8 @@ #define GPIO18_SMT GPIO_SMT_DISABLE #define GPIO18_IES GPIO_IES_ENABLE /* Configuration for GPIO19 */ -#define GPIO19_MODE GPIO_MODE_02 -#define GPIO19_DIR GPIO_DIR_IN +#define GPIO19_MODE GPIO_MODE_00 +#define GPIO19_DIR GPIO_DIR_OUT #define GPIO19_PULLEN GPIO_PULL_DISABLE #define GPIO19_PULL GPIO_PULL_DOWN #define GPIO19_DATAOUT GPIO_OUT_ZERO
diff --git a/src/kernel/linux/v4.14/arch/arm/boot/dts/auto2731evb-ivt-mcp_lp2_nand.dts b/src/kernel/linux/v4.14/arch/arm/boot/dts/auto2731evb-ivt-mcp_lp2_nand.dts index 61cb93d..67d0e9d 100644 --- a/src/kernel/linux/v4.14/arch/arm/boot/dts/auto2731evb-ivt-mcp_lp2_nand.dts +++ b/src/kernel/linux/v4.14/arch/arm/boot/dts/auto2731evb-ivt-mcp_lp2_nand.dts
@@ -459,7 +459,7 @@ bias-pull-up; }; pins_tx { - pinmux = <PINMUX_GPIO19__FUNC_UTXD1>; + //pinmux = <PINMUX_GPIO19__FUNC_UTXD1>; output-high; }; };