nbhw16: add proper gsm modem poweron

The gsm modem need a power on signal >1s < 7s...
This commit is contained in:
Stefan Eichenberger 2016-06-30 15:55:15 +02:00
parent 2960a17a4a
commit 0ac4b38566
1 changed files with 3 additions and 1 deletions

View File

@ -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);