zephyr/dts/arm/ti/am62x_m4.dtsi

76 lines
1.3 KiB
Plaintext
Raw Normal View History

/*
* Copyright (c) 2023 Texas Instruments Incorporated
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <freq.h>
#include <arm/armv7-m.dtsi>
#include <zephyr/dt-bindings/pinctrl/ti-k3-pinctrl.h>
#include <zephyr/dt-bindings/gpio/gpio.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu0: cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4f";
reg = <0>;
};
};
sram0: memory@0 {
compatible = "mmio-sram";
reg = <0x0 DT_SIZE_K(192)>; /* 192 KB of SRAM (I-Code) */
};
sram1: memory1@40000 {
compatible = "mmio-sram";
reg = <0x40000 DT_SIZE_K(64)>; /* 64 KB of SRAM (D-Code) */
};
sysclk: system-clock {
compatible = "fixed-clock";
clock-frequency = <DT_FREQ_M(400)>;
#clock-cells = <0>;
};
pinctrl: pinctrl@4084000 {
compatible = "ti,k3-pinctrl";
reg = <0x04084000 0x88>;
status = "okay";
};
uart0: serial@4a00000 {
compatible = "ns16550";
reg = <0x04a00000 0x200>;
interrupts = <24 4>;
interrupt-parent = <&nvic>;
clock-frequency = <DT_FREQ_M(48)>;
current-speed = <115200>;
reg-shift = <2>;
status = "disabled";
};
gpio0: gpio@4201010 {
compatible = "ti,davinci-gpio";
reg = <0x4201010 0x100>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <24>;
status = "disabled";
};
};
&nvic {
arm,num-irq-priority-bits = <3>;
};
&systick {
status = "okay";
};