mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-15 02:07:31 +00:00
wifi/bt: fix part of modem module not reset when power up
This commit is contained in:
@@ -1065,17 +1065,25 @@
|
||||
#define DPORT_CORE_RST_EN_REG (DR_REG_DPORT_BASE + 0x0D0)
|
||||
/* DPORT_CORE_RST : R/W ;bitpos:[31:0] ;default: 32'h0 ; */
|
||||
/*description: */
|
||||
#define DPORT_RW_BTLP_RST (BIT(10))
|
||||
#define DPORT_RW_BTMAC_RST (BIT(9))
|
||||
#define DPORT_MACPWR_RST (BIT(8))
|
||||
#define DPORT_EMAC_RST (BIT(7))
|
||||
#define DPORT_SDIO_HOST_RST (BIT(6))
|
||||
#define DPORT_SDIO_RST (BIT(5))
|
||||
#define DPORT_BTMAC_RST (BIT(4))
|
||||
#define DPORT_BT_RST (BIT(3))
|
||||
#define DPORT_MAC_RST (BIT(2))
|
||||
#define DPORT_FE_RST (BIT(1))
|
||||
#define DPORT_BB_RST (BIT(0))
|
||||
#define DPORT_WIFIBB_RST BIT(0)
|
||||
#define DPORT_FE_RST BIT(1)
|
||||
#define DPORT_WIFIMAC_RST BIT(2)
|
||||
#define DPORT_BTBB_RST BIT(3)
|
||||
#define DPORT_BTMAC_RST BIT(4)
|
||||
#define DPORT_SDIO_RST BIT(5)
|
||||
#define DPORT_SDIO_HOST_RST BIT(6)
|
||||
#define DPORT_EMAC_RST BIT(7)
|
||||
#define DPORT_MACPWR_RST BIT(8)
|
||||
#define DPORT_RW_BTMAC_RST BIT(9)
|
||||
#define DPORT_RW_BTLP_RST BIT(10)
|
||||
|
||||
#define MODEM_RESET_FIELD_WHEN_PU (DPORT_WIFIBB_RST | \
|
||||
DPORT_FE_RST | \
|
||||
DPORT_WIFIMAC_RST | \
|
||||
DPORT_BTBB_RST | \
|
||||
DPORT_BTMAC_RST | \
|
||||
DPORT_RW_BTMAC_RST | \
|
||||
DPORT_RW_BTLP_RST)
|
||||
|
||||
#define DPORT_BT_LPCK_DIV_INT_REG (DR_REG_DPORT_BASE + 0x0D4)
|
||||
/* DPORT_BTEXTWAKEUP_REQ : R/W ;bitpos:[12] ;default: 1'b0 ; */
|
||||
|
Reference in New Issue
Block a user