118 lines
2.4 KiB
Plaintext
118 lines
2.4 KiB
Plaintext
/*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Seeed Wio Tracker 1110 — Device Tree Source
|
|
* SoC: nRF52840
|
|
* Radio: Semtech LR1110 (LoRa + GNSS multi-protocol transceiver)
|
|
*
|
|
* NOTE: GPIO pin numbers are placeholders. Verify against the
|
|
* Wio Tracker 1110 schematic before using with real hardware.
|
|
* The LR1110 SPI interface differs from SX126x: it uses 2-byte
|
|
* opcodes and requires the BUSY pin to be checked between transactions.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <nordic/nrf52840_qiaa.dtsi>
|
|
#include "seeed_wio_tracker-pinctrl.dtsi"
|
|
|
|
/ {
|
|
model = "Seeed Wio Tracker 1110";
|
|
compatible = "seeed,wio-tracker-1110";
|
|
|
|
chosen {
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,code-partition = &slot0_partition;
|
|
};
|
|
|
|
aliases {
|
|
lora0 = &lora;
|
|
led0 = &led_green;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
led_green: led_0 {
|
|
/* TODO: verify LED GPIO from Wio Tracker 1110 schematic */
|
|
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
|
label = "Green LED";
|
|
};
|
|
};
|
|
};
|
|
|
|
&uicr {
|
|
gpio-as-nreset;
|
|
};
|
|
|
|
&gpiote {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart0 {
|
|
compatible = "nordic,nrf-uarte";
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&uart0_default>;
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
/*
|
|
* LR1110 on SPI1
|
|
* Pin assignments are placeholders — must be verified from schematic.
|
|
* The LR1110 BUSY and EVENT (DIO9) pins are both required by the driver.
|
|
*/
|
|
&spi1 {
|
|
compatible = "nordic,nrf-spim";
|
|
status = "okay";
|
|
pinctrl-0 = <&spi1_default>;
|
|
pinctrl-names = "default";
|
|
cs-gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
|
|
|
|
lora: lora@0 {
|
|
compatible = "semtech,lr11xx";
|
|
reg = <0>;
|
|
spi-max-frequency = <4000000>;
|
|
reset-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
|
|
busy-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
|
|
event-gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
zephyr_udc0: &usbd {
|
|
compatible = "nordic,nrf-usbd";
|
|
status = "okay";
|
|
};
|
|
|
|
&flash0 {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
boot_partition: partition@0 {
|
|
label = "mcuboot";
|
|
reg = <0x00000000 0x0000C000>;
|
|
};
|
|
slot0_partition: partition@c000 {
|
|
label = "image-0";
|
|
reg = <0x0000C000 0x00067000>;
|
|
};
|
|
slot1_partition: partition@73000 {
|
|
label = "image-1";
|
|
reg = <0x00073000 0x00067000>;
|
|
};
|
|
storage_partition: partition@da000 {
|
|
label = "storage";
|
|
reg = <0x000da000 0x00006000>;
|
|
};
|
|
};
|
|
};
|