1/* 2 * Copyright (c) 2017 Linaro Limited 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include <nordic/nrf52832_qfaa.dtsi> 9#include "nrf52_blenano2-pinctrl.dtsi" 10 11/ { 12 model = "Redbear BLE Nano 2"; 13 compatible = "redbear,blenano2"; 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 11 0>; 35 label = "LED"; 36 }; 37 }; 38}; 39 40&gpiote { 41 status = "okay"; 42}; 43 44&gpio0 { 45 status = "okay"; 46}; 47 48&uart0 { 49 compatible = "nordic,nrf-uart"; 50 current-speed = <115200>; 51 status = "okay"; 52 pinctrl-0 = <&uart0_default>; 53 pinctrl-1 = <&uart0_sleep>; 54 pinctrl-names = "default", "sleep"; 55}; 56 57&i2c0 { 58 compatible = "nordic,nrf-twim"; 59 status = "okay"; 60 pinctrl-0 = <&i2c0_default>; 61 pinctrl-1 = <&i2c0_sleep>; 62 pinctrl-names = "default", "sleep"; 63}; 64 65&flash0 { 66 67 partitions { 68 compatible = "fixed-partitions"; 69 #address-cells = <1>; 70 #size-cells = <1>; 71 72 boot_partition: partition@0 { 73 label = "mcuboot"; 74 reg = <0x00000000 0x8000>; 75 }; 76 slot0_partition: partition@8000 { 77 label = "image-0"; 78 reg = <0x00008000 0x34000>; 79 }; 80 slot1_partition: partition@3c000 { 81 label = "image-1"; 82 reg = <0x0003c000 0x34000>; 83 }; 84 scratch_partition: partition@70000 { 85 label = "image-scratch"; 86 reg = <0x00070000 0xa000>; 87 }; 88 89 /* 90 * The flash starting at 0x0007a000 and ending at 91 * 0x0007ffff (sectors 122-127) is reserved for use 92 * by the application. 93 * Storage partition will be used by FCB/LittleFS/NVS 94 * if enabled. 95 */ 96 storage_partition: partition@7a000 { 97 label = "storage"; 98 reg = <0x0007a000 0x00006000>; 99 }; 100 }; 101}; 102