boards: byteSENSI-L: add gnss support
Add support for the integrated u-blox M8C GNSS module. Signed-off-by: Marco Widmer <marco.widmer@bytesatwork.ch>
This commit is contained in:
parent
c3c7e513c4
commit
ca48767be4
4 changed files with 25 additions and 4 deletions
|
@ -25,6 +25,8 @@
|
|||
aliases {
|
||||
/* Alias for lora samples */
|
||||
lora0 = &lora;
|
||||
/* Alias for gnss samples */
|
||||
gnss = &gnss;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -153,3 +155,16 @@
|
|||
jedec-id = [c2 28 17];
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
pinctrl-0 = <&uart0_default>;
|
||||
pinctrl-1 = <&uart0_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
|
||||
gnss: u_blox_m8 {
|
||||
status = "okay";
|
||||
compatible = "gnss-nmea-generic";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,6 +7,10 @@ CONFIG_ARM_MPU=y
|
|||
# enable GPIO
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# enable UART
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
|
||||
# Enable hardware stack protection
|
||||
CONFIG_HW_STACK_PROTECTION=y
|
||||
|
||||
|
|
|
@ -7,15 +7,15 @@
|
|||
&pinctrl {
|
||||
uart0_default: uart0_default {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(UART_TX, 0, 11)>,
|
||||
<NRF_PSEL(UART_RX, 0, 12)>;
|
||||
psels = <NRF_PSEL(UART_RX, 0, 11)>,
|
||||
<NRF_PSEL(UART_TX, 0, 12)>;
|
||||
};
|
||||
};
|
||||
|
||||
uart0_sleep: uart0_sleep {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(UART_TX, 0, 11)>,
|
||||
<NRF_PSEL(UART_RX, 0, 12)>;
|
||||
psels = <NRF_PSEL(UART_RX, 0, 11)>,
|
||||
<NRF_PSEL(UART_TX, 0, 12)>;
|
||||
low-power-enable;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -29,6 +29,8 @@ Supported Features
|
|||
+-----------+------------+----------------------+
|
||||
| GPIO | on-chip | gpio |
|
||||
+-----------+------------+----------------------+
|
||||
| GPS | u-blox | gnss |
|
||||
+-----------+------------+----------------------+
|
||||
| I2C(M) | on-chip | i2c |
|
||||
+-----------+------------+----------------------+
|
||||
| MPU | on-chip | arch/arm |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue