1/* 2 * Copyright 2025 Variscite Ltd. 3 * Copyright (c) 2021, Laird Connectivity 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8/dts-v1/; 9 10#include <nxp/nxp_imx8ml_m7.dtsi> 11#include "imx8mp_var_dart-pinctrl.dtsi" 12#include "imx8mp_var_dart_m7-common.dtsi" 13#include <zephyr/dt-bindings/gpio/gpio.h> 14#include <zephyr/dt-bindings/input/input-event-codes.h> 15 16/ { 17 model = "Variscite DART-MX8M-PLUS M7"; 18 compatible = "nxp,imx8mp_var_dart"; 19 20 chosen { 21 /* TCM */ 22 zephyr,flash = &itcm; 23 zephyr,sram = &dtcm; 24 25 zephyr,console = &uart3; 26 zephyr,shell-uart = &uart3; 27 }; 28 29 aliases { 30 led0 = &blinky0; 31 sw0 = &button0; 32 }; 33 34 leds { 35 compatible = "gpio-leds"; 36 37 blinky0: blinky_0 { 38 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>; 39 }; 40 }; 41 42 keys { 43 compatible = "gpio-keys"; 44 45 button0: btn_0 { 46 label = "BTN0"; 47 gpios = <&gpio3 8 (GPIO_PULL_UP|GPIO_ACTIVE_LOW)>; 48 zephyr,code = <INPUT_KEY_0>; 49 }; 50 }; 51}; 52 53&uart3 { 54 status = "okay"; 55 current-speed = <115200>; 56 pinctrl-0 = <&uart3_default>; 57 pinctrl-names = "default"; 58}; 59 60&gpio3 { 61 status = "okay"; 62}; 63 64&mailbox0 { 65 status = "okay"; 66}; 67