diff --git a/src/soc/amd/common/block/include/amdblocks/gpio_defs.h b/src/soc/amd/common/block/include/amdblocks/gpio_defs.h index 4b25c31aed..bbc407e731 100644 --- a/src/soc/amd/common/block/include/amdblocks/gpio_defs.h +++ b/src/soc/amd/common/block/include/amdblocks/gpio_defs.h @@ -208,10 +208,14 @@ #define PAD_WAKE_ENABLE(__wake) GPIO_WAKE_ ## __wake #define PAD_DEBOUNCE_CONFIG(__deb) GPIO_DEB_ ## __deb -/* Native function pad configuration */ +/* Native function pad configuration with PAD_PULL */ #define PAD_NF(pin, func, pull) \ PAD_CFG_STRUCT(pin, pin ## _IOMUX_ ## func, PAD_PULL(pull)) +/* Native function pad configuration with PAD_OUTPUT */ +#define PAD_NFO(pin, func, direction) \ + PAD_CFG_STRUCT(pin, pin ## _IOMUX_ ## func, PAD_OUTPUT(direction)) + /* General purpose input pad configuration */ #define PAD_GPI(pin, pull) \ PAD_CFG_STRUCT(pin, pin ## _IOMUX_GPIOxx, PAD_PULL(pull))