1/*
2 * Copyright (c) 2023 Sven Herrmann
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8#include <nordic/nrf52832_qfaa.dtsi>
9#include "acn52832-pinctrl.dtsi"
10
11/ {
12	model = "Aconno ACN52832 Module";
13	compatible = "aconno,acn52832";
14
15	chosen {
16		zephyr,console = &uart0;
17		zephyr,shell-uart = &uart0;
18		zephyr,bt-mon-uart = &uart0;
19		zephyr,bt-c2h-uart = &uart0;
20		zephyr,sram = &sram0;
21		zephyr,flash = &flash0;
22		zephyr,code-partition = &slot0_partition;
23	};
24
25	/* These aliases are provided for compatibility with samples */
26	aliases {
27		led0 = &led0;
28		watchdog0 = &wdt0;
29	};
30
31	leds {
32		compatible = "gpio-leds";
33		led0: led_0 {
34			gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
35			label = "LD1A red";
36		};
37		led1: led_1 {
38			gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
39			label = "LD1B green";
40		};
41		led2: led_2 {
42			gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
43			label = "LD1C blue";
44		};
45	};
46};
47
48&uicr {
49	gpio-as-nreset;
50};
51
52&gpiote {
53	status = "okay";
54};
55
56&gpio0 {
57	status = "okay";
58};
59
60&uart0 {
61	compatible = "nordic,nrf-uarte";
62	current-speed = <115200>;
63	status = "okay";
64	pinctrl-0 = <&uart0_default>;
65	pinctrl-1 = <&uart0_sleep>;
66	pinctrl-names = "default", "sleep";
67};
68
69&flash0 {
70	partitions {
71		compatible = "fixed-partitions";
72		#address-cells = <1>;
73		#size-cells = <1>;
74
75		boot_partition: partition@0 {
76			label = "mcuboot";
77			reg = <0x00000000 0xc000>;
78		};
79		slot0_partition: partition@c000 {
80			label = "image-0";
81			reg = <0x0000c000 0x37000>;
82		};
83		slot1_partition: partition@43000 {
84			label = "image-1";
85			reg = <0x00043000 0x37000>;
86		};
87		storage_partition: partition@7a000 {
88			label = "storage";
89			reg = <0x0007a000 0x00006000>;
90		};
91	};
92};
93