1/* 2 * Copyright (c) 2022 PHYTEC Messtechnik GmbH 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include <nxp/nxp_imx8mm_m4.dtsi> 10#include "mimx8mm_phyboard_polis-pinctrl.dtsi" 11 12/ { 13 model = "Phyboard Polis NXP i.MX8M Mini"; 14 compatible = "nxp,mimx8mm_phyboard_polis"; 15 16 aliases { 17 uart-4 = &uart4; 18 uart-3 = &uart3; 19 uart-2 = &uart2; 20 uart-1 = &uart1; 21 led0 = &led_blue; 22 }; 23 24 chosen { 25 zephyr,flash = &tcml_code; 26 zephyr,sram = &tcmu_sys; 27 zephyr,console = &uart4; 28 zephyr,shell-uart = &uart4; 29 }; 30 31 leds { 32 compatible = "gpio-leds"; 33 34 led_red: led_red { 35 gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; 36 }; 37 38 led_blue: led_blue { 39 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; 40 }; 41 42 led_green: led_green { 43 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; 44 }; 45 }; 46 47}; 48 49/* RS232 / RS485 pinheader on the board */ 50&uart1 { 51 status = "disabled"; 52 pinctrl-0 = <&uart1_default>; 53 pinctrl-names = "default"; 54 hw-flow-control; 55}; 56 57/* 58 * UART to bluetooth module / X18 header 59 * Currently there is no driver for the used module 60 */ 61&uart2 { 62 status = "disabled"; 63 pinctrl-0 = <&uart2_default>; 64 pinctrl-names = "default"; 65 hw-flow-control; 66}; 67 68/* UART usually used from A53 Core (1st tty on Debug USB connector */ 69&uart3 { 70 status = "disabled"; 71 pinctrl-0 = <&uart3_default>; 72 pinctrl-names = "default"; 73}; 74 75/* UART of the M4 Core (2nd tty on Debug USB connector) */ 76&uart4 { 77 status = "okay"; 78 current-speed = <115200>; 79 pinctrl-0 = <&uart4_default>; 80 pinctrl-names = "default"; 81}; 82 83/* 84 * needs to be configured, so the leds don't generate an error, 85 * but does not interfer with the A53-Core 86 */ 87&gpio1 { 88 status = "okay"; 89}; 90 91&mailbox0 { 92 status = "okay"; 93}; 94