1/* 2 * Copyright (C) 2023 PHYTEC Messtechnik GmbH 3 * Author: Daniel Schultz <d.schultz@phytec.de> 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8/dts-v1/; 9 10#include <ti/am62x_m4.dtsi> 11 12/ { 13 model = "PHYTEC phyBOARD-Lyra AM62x M4"; 14 compatible = "phytec,phyboard-lyra-am62xx-m4", "ti,am625"; 15 16 chosen { 17 zephyr,sram = &sram0; 18 zephyr,console = &uart0; 19 zephyr,shell-uart = &uart0; 20 zephyr,sram1 = &ddr0; 21 }; 22 23 aliases { 24 led0 = &heartbeat_led; 25 }; 26 27 cpus { 28 cpu@0 { 29 status = "okay"; 30 clock-frequency = <400000000>; 31 }; 32 }; 33 34 ddr0:memory@9CC00000{ 35 compatible = "zephyr,memory-region", "mmio-sram"; 36 reg = <0x9CC00000 DT_SIZE_K(4)>; 37 zephyr,memory-region = "DDR"; 38 }; 39 40 leds: leds { 41 compatible = "gpio-leds"; 42 heartbeat_led: led_0 { 43 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; 44 label = "Heartbeat LED"; 45 }; 46 }; 47}; 48 49&pinctrl { 50 mcu_uart0_rx_default: mcu_uart0_rx_default { 51 pinmux = <K3_PINMUX(0x0014, PIN_INPUT, MUX_MODE_0)>; 52 }; 53 mcu_uart0_tx_default: mcu_uart0_tx_default { 54 pinmux = <K3_PINMUX(0x0018, PIN_OUTPUT, MUX_MODE_0)>; 55 }; 56 mcu_gpio0_led_default: mcu_gpio0_led_default { 57 pinmux = <K3_PINMUX(0x0000, PIN_OUTPUT, MUX_MODE_7)>; 58 }; 59}; 60 61&uart0 { 62 current-speed = <115200>; 63 pinctrl-0 = <&mcu_uart0_rx_default &mcu_uart0_tx_default>; 64 pinctrl-names = "default"; 65 status = "okay"; 66}; 67 68&gpio0 { 69 pinctrl-0 = <&mcu_gpio0_led_default>; 70 pinctrl-names = "default"; 71 status = "okay"; 72}; 73