1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
4 */
5
6/dts-v1/;
7
8#include "k3-am654.dtsi"
9
10/ {
11	compatible =  "ti,am654-evm", "ti,am654";
12	model = "Texas Instruments AM654 Base Board";
13
14	chosen {
15		stdout-path = "serial2:115200n8";
16		bootargs = "earlycon=ns16550a,mmio32,0x02800000";
17	};
18
19	memory@80000000 {
20		device_type = "memory";
21		/* 4G RAM */
22		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
23		      <0x00000008 0x80000000 0x00000000 0x80000000>;
24	};
25
26	reserved-memory {
27		#address-cells = <2>;
28		#size-cells = <2>;
29		ranges;
30		secure_ddr: secure_ddr@9e800000 {
31			reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */
32			alignment = <0x1000>;
33			no-map;
34		};
35	};
36};
37
38&main_pmx0 {
39	main_uart0_pins_default: main-uart0-pins-default {
40		pinctrl-single,pins = <
41			AM65X_IOPAD(0x01e4, PIN_INPUT, 0)	/* (AF11) UART0_RXD */
42			AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0)	/* (AE11) UART0_TXD */
43			AM65X_IOPAD(0x01ec, PIN_INPUT, 0)	/* (AG11) UART0_CTSn */
44			AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0)	/* (AD11) UART0_RTSn */
45		>;
46	};
47};
48
49&wkup_uart0 {
50	/* Wakeup UART is used by System firmware */
51	status = "disabled";
52};
53
54&main_uart0 {
55	pinctrl-names = "default";
56	pinctrl-0 = <&main_uart0_pins_default>;
57};
58