1/* 2 * Copyright (c) 2023 Texas Instruments Incorporated 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <mem.h> 8#include <freq.h> 9#include <arm/armv7-m.dtsi> 10#include <zephyr/dt-bindings/pinctrl/ti-k3-pinctrl.h> 11 12/ { 13 14 cpus { 15 #address-cells = <1>; 16 #size-cells = <0>; 17 18 cpu0: cpu@0 { 19 device_type = "cpu"; 20 compatible = "arm,cortex-m4f"; 21 reg = <0>; 22 }; 23 }; 24 25 sram0: memory@0 { 26 compatible = "mmio-sram"; 27 reg = <0x0 DT_SIZE_K(192)>; /* 192 KB of SRAM (I-Code) */ 28 }; 29 30 sram1: memory1@40000 { 31 compatible = "mmio-sram"; 32 reg = <0x40000 DT_SIZE_K(64)>; /* 64 KB of SRAM (D-Code) */ 33 }; 34 35 sysclk: system-clock { 36 compatible = "fixed-clock"; 37 clock-frequency = <400000000>; 38 #clock-cells = <0>; 39 }; 40 41 pinctrl: pinctrl@4084000 { 42 compatible = "ti,k3-pinctrl"; 43 reg = <0x04084000 0x88>; 44 status = "okay"; 45 }; 46 47 uart0: serial@4a00000 { 48 compatible = "ns16550"; 49 reg = <0x04a00000 0x200>; 50 interrupts = <24 4>; 51 interrupt-parent = <&nvic>; 52 clock-frequency = <48000000>; 53 current-speed = <115200>; 54 reg-shift = <2>; 55 status = "disabled"; 56 }; 57}; 58 59&nvic { 60 arm,num-irq-priority-bits = <3>; 61}; 62 63&systick { 64 status = "okay"; 65}; 66