nrhw20: release GNSS module reset
This commit is contained in:
parent
e21b076da4
commit
88a9a458f4
|
|
@ -489,6 +489,15 @@ static void init_gsm(void)
|
||||||
puts("ready\n");
|
puts("ready\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void init_gnss(void)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Release GNSS reset line, so that modem starts up early
|
||||||
|
*/
|
||||||
|
REQUEST_AND_SET_GPIO(NETBIRD_GPIO_RST_GNSS);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* !defined(CONFIG_SPL_BUILD) */
|
#endif /* !defined(CONFIG_SPL_BUILD) */
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -806,13 +815,13 @@ int board_late_init(void)
|
||||||
/* Initialize pins */
|
/* Initialize pins */
|
||||||
REQUEST_AND_CLEAR_GPIO(NETBIRD_GPIO_WLAN_EN);
|
REQUEST_AND_CLEAR_GPIO(NETBIRD_GPIO_WLAN_EN);
|
||||||
REQUEST_AND_CLEAR_GPIO(NETBIRD_GPIO_BT_EN);
|
REQUEST_AND_CLEAR_GPIO(NETBIRD_GPIO_BT_EN);
|
||||||
REQUEST_AND_CLEAR_GPIO(NETBIRD_GPIO_RST_GNSS);
|
|
||||||
REQUEST_AND_CLEAR_GPIO(NETBIRD_GPIO_DIG_OUT);
|
REQUEST_AND_CLEAR_GPIO(NETBIRD_GPIO_DIG_OUT);
|
||||||
|
|
||||||
init_ethernet_switch();
|
init_ethernet_switch();
|
||||||
init_usb_hub();
|
init_usb_hub();
|
||||||
init_pcie_slot();
|
init_pcie_slot();
|
||||||
init_gsm();
|
init_gsm();
|
||||||
|
init_gnss();
|
||||||
|
|
||||||
/* Enable charging of RTC backup capacitor (1mA, 3.1V) */
|
/* Enable charging of RTC backup capacitor (1mA, 3.1V) */
|
||||||
(void)da9063_set_reg(PMIC_REG_BBAT_CONT, 0xCF);
|
(void)da9063_set_reg(PMIC_REG_BBAT_CONT, 0xCF);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue