boards: shields: introduce SparkFun u-blox SARA-R4 shield

SparkFun offers an Arduino-R3 compatible shield using the SARA-R410M-02B
LTE Cat M1/NB-IoT modem.

Now, that the basic SARA-R4 modem driver is implemented, let's enable
the shield for several MCUs supporting Arduino-R3 compatible headers.

Product Link:
https://www.sparkfun.com/products/14997

Signed-off-by: Michael Scott <mike@foundries.io>
This commit is contained in:
Michael Scott 2019-05-17 10:16:00 -07:00 committed by Anas Nashif
parent 35590c6d70
commit 4c490759c9
6 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1 @@
CONFIG_UART_4=y

View file

@ -0,0 +1 @@
CONFIG_UART_MCUX_3=y

View file

@ -0,0 +1,2 @@
CONFIG_GPIO_NRF_P1=y
CONFIG_UART_1_NRF_UARTE=y

View file

@ -0,0 +1,10 @@
/*
* Copyright (c) 2019 Foundries.io
*
* SPDX-License-Identifier: Apache-2.0
*/
&arduino_serial {
tx-pin = <34>;
rx-pin = <33>;
};

View file

@ -0,0 +1,12 @@
# Enable u-blox SARA-R4 modem
CONFIG_MODEM=y
CONFIG_MODEM_SHELL=y
CONFIG_MODEM_UBLOX_SARA_R4=y
CONFIG_UART_INTERRUPT_DRIVEN=y
# extend retry timing to 20 seconds for LTE/LTE-M
CONFIG_COAP_INIT_ACK_TIMEOUT_MS=20000
# Hack: disable IPv6 for now
# CONFIG_NET_IPV6 is not set
# CONFIG_NET_CONFIG_NEED_IPV6 is not set

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2019 Foundries.io
*
* SPDX-License-Identifier: Apache-2.0
*/
&arduino_serial {
current-speed = <115200>;
status = "ok";
sara_r4 {
compatible = "ublox,sara-r4";
label = "ublox-sara-r4";
mdm-power-gpios = <&arduino_header 11 0>; /* D5 */
mdm-reset-gpios = <&arduino_header 12 0>; /* D6 */
status = "ok";
};
};