1/*
2 * Copyright (c) 2025 Marc Lasch <mlasch@mailbox.org>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8#include <nordic/nrf52832_qfaa.dtsi>
9
10/ {
11	model = "Holyiot YJ-17095";
12	compatible = "holyiot,yj-17095";
13
14	chosen {
15		zephyr,sram = &sram0;
16		zephyr,flash = &flash0;
17		zephyr,console = &uart0;
18		zephyr,shell-uart = &uart0;
19		zephyr,code-partition = &slot0_partition;
20	};
21
22	leds {
23		compatible = "gpio-leds";
24
25		led0: led_0 {
26			gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
27			label = "P0.29";
28		};
29	};
30
31	/* These aliases are provided for compatibility with samples */
32	aliases {
33		led0 = &led0;
34		watchdog0 = &wdt0;
35	};
36};
37
38&gpiote {
39	status = "okay";
40};
41
42&gpio0 {
43	status = "okay";
44};
45
46&flash0 {
47	partitions {
48		compatible = "fixed-partitions";
49		#address-cells = <1>;
50		#size-cells = <1>;
51
52		boot_partition: partition@0 {
53			label = "mcuboot";
54			reg = <0x00000000 0xc000>;
55		};
56
57		slot0_partition: partition@c000 {
58			label = "image-0";
59			reg = <0x0000C000 0x37000>;
60		};
61
62		slot1_partition: partition@43000 {
63			label = "image-1";
64			reg = <0x00043000 0x37000>;
65		};
66
67		storage_partition: partition@7a000 {
68			label = "storage";
69			reg = <0x0007a000 0x00006000>;
70		};
71	};
72};
73