1/* 2 * Copyright (c) 2019 Laird Connectivity 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include <nordic/nrf52840_qiaa.dtsi> 9 10/ { 11 model = "Pinnacle 100 Dev Kit"; 12 compatible = "lairdconnect,pinnacle-100-dvk"; 13 14 chosen { 15 zephyr,console = &uart0; 16 zephyr,shell-uart = &uart0; 17 zephyr,uart-mcumgr = &uart0; 18 zephyr,bt-mon-uart = &uart0; 19 zephyr,sram = &sram0; 20 zephyr,flash = &flash0; 21 zephyr,code-partition = &slot0_partition; 22 }; 23 24 leds { 25 compatible = "gpio-leds"; 26 led1: led_1 { 27 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; 28 label = "Blue LED 1"; 29 }; 30 led2: led_2 { 31 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; 32 label = "Green LED 2"; 33 }; 34 led3: led_3 { 35 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; 36 label = "Red LED 3"; 37 }; 38 led4: led_4 { 39 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; 40 label = "Green LED 4"; 41 }; 42 }; 43 44 buttons { 45 compatible = "gpio-keys"; 46 button1: button_1 { 47 gpios = <&gpio0 31 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 48 label = "Push button switch 1"; 49 }; 50 button2: button_2 { 51 gpios = <&gpio0 3 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 52 label = "Push button switch 2"; 53 }; 54 button3: button_3 { 55 gpios = <&gpio0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 56 label = "Push button switch 3"; 57 }; 58 button4: button_4 { 59 gpios = <&gpio0 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 60 label = "Push button switch 4"; 61 }; 62 }; 63 64 /* These aliases are provided for compatibility with samples */ 65 aliases { 66 led0 = &led1; 67 led1 = &led2; 68 led2 = &led3; 69 led3 = &led4; 70 sw0 = &button1; 71 sw1 = &button2; 72 sw2 = &button3; 73 sw3 = &button4; 74 }; 75}; 76 77&adc { 78 status ="okay"; 79}; 80 81&gpiote { 82 status ="okay"; 83}; 84 85&gpio0 { 86 status ="okay"; 87}; 88 89&gpio1 { 90 status ="okay"; 91}; 92 93&uart0 { 94 compatible = "nordic,nrf-uart"; 95 status = "okay"; 96 current-speed = <115200>; 97 tx-pin = <6>; 98 rx-pin = <8>; 99 rts-pin = <5>; 100 cts-pin = <7>; 101}; 102 103&uart1 { 104 compatible = "nordic,nrf-uarte"; 105 status = "okay"; 106 current-speed = <115200>; 107 tx-pin = <14>; 108 rx-pin = <16>; 109 rts-pin = <13>; 110 cts-pin = <15>; 111 hl7800 { 112 compatible = "swir,hl7800"; 113 status = "okay"; 114 label = "hl7800"; 115 mdm-reset-gpios = <&gpio1 15 0>; 116 mdm-wake-gpios = <&gpio1 13 0>; 117 mdm-pwr-on-gpios = <&gpio1 2 0>; 118 mdm-fast-shutd-gpios = <&gpio1 14 0>; 119 mdm-vgpio-gpios = <&gpio1 11 0>; 120 mdm-uart-dsr-gpios = <&gpio0 25 0>; 121 mdm-uart-cts-gpios = <&gpio0 15 0>; 122 mdm-gpio6-gpios = <&gpio1 12 0>; 123 }; 124}; 125 126&i2c0 { 127 compatible = "nordic,nrf-twi"; 128 status = "okay"; 129 sda-pin = <26>; 130 scl-pin = <27>; 131 132 bme680@76 { 133 compatible = "bosch,bme680"; 134 status = "okay"; 135 label = "BME680"; 136 reg = <0x76>; 137 }; 138}; 139 140&spi0 { 141 compatible = "nordic,nrf-spi"; 142 /* Cannot be used together with i2c0. */ 143 /* status = "okay"; */ 144 sck-pin = <27>; 145 mosi-pin = <26>; 146 miso-pin = <29>; 147}; 148 149&spi1 { 150 compatible = "nordic,nrf-spi"; 151 status = "okay"; 152 sck-pin = <11>; 153 mosi-pin = <32>; 154 miso-pin = <12>; 155}; 156 157&qspi { 158 status = "okay"; 159 sck-pin = <19>; 160 io-pins = <20>, <21>, <22>, <23>; 161 csn-pins = <17>; 162 mx25r64: mx25r6435f@0 { 163 compatible = "nordic,qspi-nor"; 164 reg = <0>; 165 writeoc = "pp4io"; 166 readoc = "read4io"; 167 sck-frequency = <8000000>; 168 label = "MX25R64"; 169 jedec-id = [c2 28 17]; 170 size = <67108864>; 171 has-dpd; 172 t-enter-dpd = <10000>; 173 t-exit-dpd = <35000>; 174 }; 175}; 176 177&flash0 { 178 /* 179 * For more information, see: 180 * http://docs.zephyrproject.org/latest/guides/dts/index.html#flash-partitions 181 */ 182 partitions { 183 compatible = "fixed-partitions"; 184 #address-cells = <1>; 185 #size-cells = <1>; 186 187 /* 96K */ 188 boot_partition: partition@0 { 189 label = "mcuboot"; 190 reg = <0x000000000 0x00018000>; 191 }; 192 /* 896K */ 193 slot0_partition: partition@18000 { 194 label = "image-0"; 195 reg = <0x00018000 0x000E0000>; 196 }; 197 198 /* 199 * The flash starting at 0x000f8000 and ending at 200 * 0x000fffff is reserved for use by the application. 201 */ 202 203 /* 204 * Storage partition will be used by FCB/NVS 205 * if enabled. 32K 206 */ 207 storage_partition: partition@f8000 { 208 label = "storage"; 209 reg = <0x000f8000 0x00008000>; 210 }; 211 }; 212}; 213 214&mx25r64 { 215 partitions { 216 compatible = "fixed-partitions"; 217 #address-cells = <1>; 218 #size-cells = <1>; 219 220 /* 896K */ 221 slot1_partition: partition@0 { 222 label = "image-1"; 223 reg = <0x0000000 0x000E0000>; 224 }; 225 /* 128K */ 226 scratch_partition: partition@E0000 { 227 label = "image-scratch"; 228 reg = <0x000E0000 0x00020000>; 229 }; 230 /* 7MB */ 231 lfs_partition: partition@100000 { 232 label = "lfs_storage"; 233 reg = <0x00100000 0x000700000>; 234 }; 235 }; 236}; 237 238zephyr_udc0: &usbd { 239 compatible = "nordic,nrf-usbd"; 240 status = "okay"; 241}; 242