diff --git a/patches/defconfig b/patches/defconfig
index bb301827febb9c86be9f365b254dc3282bf72e0c..32f7361502fae6840e7942a617487ea10581860a 100644
--- a/patches/defconfig
+++ b/patches/defconfig
@@ -2022,9 +2022,12 @@ CONFIG_PCI_HOST_GENERIC=y
 #
 CONFIG_PCIE_CADENCE=y
 CONFIG_PCIE_CADENCE_HOST=y
+CONFIG_PCIE_CADENCE_EP=y
 # CONFIG_PCIE_CADENCE_PLAT_HOST is not set
+# CONFIG_PCIE_CADENCE_PLAT_EP is not set
 CONFIG_PCI_J721E=y
 CONFIG_PCI_J721E_HOST=y
+CONFIG_PCI_J721E_EP=y
 # end of Cadence-based PCIe controllers
 
 #
@@ -2037,8 +2040,10 @@ CONFIG_PCIE_DW_HOST=y
 # CONFIG_PCI_HISI is not set
 # CONFIG_PCIE_KIRIN is not set
 # CONFIG_PCIE_DW_PLAT_HOST is not set
+# CONFIG_PCIE_DW_PLAT_EP is not set
 CONFIG_PCI_KEYSTONE=y
 CONFIG_PCI_KEYSTONE_HOST=y
+CONFIG_PCI_KEYSTONE_EP=y
 # end of DesignWare-based PCIe controllers
 
 #
@@ -2057,6 +2062,12 @@ CONFIG_PCI_KEYSTONE_HOST=y
 # PCI Endpoint
 #
 # CONFIG_PCI_ENDPOINT is not set
+CONFIG_PCI_ENDPOINT=y
+CONFIG_PCI_ENDPOINT_CONFIGFS=y
+CONFIG_PCI_EPF_TEST=m
+CONFIG_PCI_EPF_NTB=m
+CONFIG_PCI_EPF_VNTB=m
+CONFIG_PCI_EPF_MHI=m
 # end of PCI Endpoint
 
 #
@@ -2471,7 +2482,7 @@ CONFIG_DS1682=m
 CONFIG_SRAM=y
 CONFIG_SRAM_DMA_HEAP=y
 # CONFIG_DW_XDATA_PCIE is not set
-# CONFIG_PCI_ENDPOINT_TEST is not set
+CONFIG_PCI_ENDPOINT_TEST=m
 # CONFIG_XILINX_SDFEC is not set
 CONFIG_MISC_RTSX=m
 # CONFIG_HISI_HIKEY_USB is not set