nbhw16: add proper gsm modem poweron
The gsm modem need a power on signal >1s < 7s...
This commit is contained in:
parent
2960a17a4a
commit
0ac4b38566
|
|
@ -632,8 +632,10 @@ int board_init(void)
|
|||
|
||||
if (board_is_nbhw16()) {
|
||||
REQUEST_AND_CLEAR_GPIO(NETBIRD_GPIO_RST_GSM);
|
||||
udelay(10000);
|
||||
udelay(10000);
|
||||
REQUEST_AND_SET_GPIO(NETBIRD_GPIO_PWR_GSM);
|
||||
mdelay(1200);
|
||||
gpio_set_value(NETBIRD_GPIO_PWR_GSM, 0);
|
||||
REQUEST_AND_SET_GPIO(NETBIRD_GPIO_LED_A);
|
||||
REQUEST_AND_SET_GPIO(NETBIRD_GPIO_RST_PHY_N);
|
||||
REQUEST_AND_CLEAR_GPIO(NETBIRD_GPIO_WLAN_EN);
|
||||
|
|
|
|||
Loading…
Reference in New Issue