89 lines
1.5 KiB
Plaintext
89 lines
1.5 KiB
Plaintext
// Copyright (c) 2024 Nordic Semiconductor ASA
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/dts-v1/;
|
|
#include <nordic/nrf52810_qfaa.dtsi>
|
|
|
|
/ {
|
|
model = "e73-tmb";
|
|
compatible = "mi,e73-tmb";
|
|
|
|
chosen {
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
zephyr,uart-mcumgr = &uart0;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,code-partition = &slot0_partition;
|
|
};
|
|
aliases {
|
|
led0 = &myled0;
|
|
led1 = &myled1;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
myled0: led_0 {
|
|
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
myled1: led_1 {
|
|
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
|
|
label = "LED";
|
|
};
|
|
};
|
|
};
|
|
|
|
&gpio0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpiote {
|
|
status = "okay";
|
|
};
|
|
|
|
&flash0 {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
boot_partition: partition@0 {
|
|
label = "mcuboot";
|
|
reg = <0x0 0xc000>;
|
|
};
|
|
slot0_partition: partition@c000 {
|
|
label = "image-0";
|
|
reg = <0xc000 0xa000>;
|
|
};
|
|
slot1_partition: partition@16000 {
|
|
label = "image-1";
|
|
reg = <0x16000 0xa000>;
|
|
};
|
|
scratch_partition: partition@20000 {
|
|
label = "image-scratch";
|
|
reg = <0x20000 0xa000>;
|
|
};
|
|
storage_partition: partition@2a000 {
|
|
label = "storage";
|
|
reg = <0x2a000 0x6000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
compatible="nordic,nrf-uart";
|
|
pinctrl-0 = <&uart0_default>;
|
|
pinctrl-names = "default";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
&pinctrl {
|
|
uart0_default: uart0_default {
|
|
group1 {
|
|
psels = <NRF_PSEL(UART_TX, 0, 6)>, <NRF_PSEL(UART_RX, 0, 8)>;
|
|
};
|
|
};
|
|
};
|