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_som-pinctrl.dtsi" 12#include <zephyr/dt-bindings/gpio/gpio.h> 13#include <zephyr/dt-bindings/input/input-event-codes.h> 14 15/ { 16 model = "Variscite VAR-SOM-MX8M-PLUS M7"; 17 compatible = "nxp,imx8mp_var_som"; 18 19 chosen { 20 /* TCM */ 21 zephyr,flash = &itcm; 22 zephyr,sram = &dtcm; 23 24 zephyr,console = &uart4; 25 zephyr,shell-uart = &uart4; 26 }; 27 28 aliases { 29 led0 = &blinky0; 30 sw0 = &button0; 31 }; 32 33 leds { 34 compatible = "gpio-leds"; 35 36 blinky0: blinky_0 { 37 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>; 38 }; 39 }; 40 41 keys { 42 compatible = "gpio-keys"; 43 44 button0: btn_0 { 45 label = "BTN0"; 46 gpios = <&gpio3 6 (GPIO_PULL_UP|GPIO_ACTIVE_LOW)>; 47 zephyr,code = <INPUT_KEY_0>; 48 }; 49 }; 50}; 51 52&uart4 { 53 status = "okay"; 54 current-speed = <115200>; 55 pinctrl-0 = <&uart4_default>; 56 pinctrl-names = "default"; 57}; 58 59&gpio3 { 60 status = "okay"; 61}; 62 63&mailbox0 { 64 status = "okay"; 65}; 66