1/* 2 * Copyright (c) 2024 CTHINGS.CO 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include "ctcc_nrf9161-pinctrl.dtsi" 8#include <zephyr/dt-bindings/input/input-event-codes.h> 9 10/ { 11 model = "CTHINGS.CO Connectivity Card nRF9161"; 12 compatible = "ct,ctcc-nrf9161"; 13 14 chosen { 15 zephyr,console = &uart0; 16 zephyr,shell-uart = &uart0; 17 zephyr,uart-mcumgr = &uart0; 18 }; 19 20 leds { 21 compatible = "gpio-leds"; 22 led1: led_1 { 23 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 24 label = "LED 1"; 25 }; 26 led2: led_2 { 27 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; 28 label = "LED 2"; 29 }; 30 }; 31 32 aliases { 33 led0 = &led1; 34 led1 = &led2; 35 mcuboot-led0 = &led1; 36 bootloader-led0 = &led1; 37 watchdog0 = &wdt0; 38 spi-flash0 = &mx25r6435; 39 }; 40}; 41 42&adc { 43 status = "okay"; 44}; 45 46&gpiote { 47 status = "okay"; 48}; 49 50&gpio0 { 51 status = "okay"; 52}; 53 54&uart0 { 55 status = "okay"; 56 current-speed = <115200>; 57 pinctrl-0 = <&uart0_default>; 58 pinctrl-1 = <&uart0_sleep>; 59 pinctrl-names = "default", "sleep"; 60}; 61 62&uart1 { 63 status = "okay"; 64 current-speed = <115200>; 65 pinctrl-0 = <&uart1_default>; 66 pinctrl-1 = <&uart1_sleep>; 67 pinctrl-names = "default", "sleep"; 68}; 69 70&spi3 { 71 compatible = "nordic,nrf-spim"; 72 status = "okay"; 73 cs-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; 74 pinctrl-0 = <&spi3_default>; 75 pinctrl-1 = <&spi3_sleep>; 76 pinctrl-names = "default", "sleep"; 77 78 mx25r6435: mx25r6435fm2il0@0 { 79 compatible = "jedec,spi-nor"; 80 status = "disabled"; 81 reg = <0>; 82 spi-max-frequency = <10000000>; 83 size = <DT_SIZE_M(64)>; 84 has-dpd; 85 dpd-wakeup-sequence = <30000>, <20>, <30000>; 86 jedec-id = [c2 25 38]; 87 }; 88}; 89 90/* Include default memory partition configuration file */ 91#include <common/nordic/nrf91xx_partition.dtsi> 92