1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) Siemens AG, 2018-2021
4 *
5 * Authors:
6 *   Le Jin <le.jin@siemens.com>
7 *   Jan Kiszka <jan.kiszk@siemens.com>
8 *
9 * AM6528-based (dual-core) IOT2050 Basic variant
10 * 1 GB RAM, no eMMC, main_uart0 on connector X30
11 */
12
13/dts-v1/;
14
15#include "k3-am65-iot2050-common.dtsi"
16
17/ {
18	compatible = "siemens,iot2050-basic", "ti,am654";
19	model = "SIMATIC IOT2050 Basic";
20
21	memory@80000000 {
22		device_type = "memory";
23		/* 1G RAM */
24		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
25	};
26
27	cpus {
28		cpu-map {
29			/delete-node/ cluster1;
30		};
31		/delete-node/ cpu@100;
32		/delete-node/ cpu@101;
33	};
34
35	/delete-node/ l2-cache1;
36};
37
38/* eMMC */
39&sdhci0 {
40	status = "disabled";
41};
42
43&main_pmx0 {
44	main_uart0_pins_default: main-uart0-pins-default {
45		pinctrl-single,pins = <
46			AM65X_IOPAD(0x01e4, PIN_INPUT,  0)  /* (AF11) UART0_RXD */
47			AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0)  /* (AE11) UART0_TXD */
48			AM65X_IOPAD(0x01ec, PIN_INPUT,  0)  /* (AG11) UART0_CTSn */
49			AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0)  /* (AD11) UART0_RTSn */
50			AM65X_IOPAD(0x0188, PIN_INPUT,  1)  /* (D25) UART0_DCDn */
51			AM65X_IOPAD(0x018c, PIN_INPUT,  1)  /* (B26) UART0_DSRn */
52			AM65X_IOPAD(0x0190, PIN_OUTPUT, 1)  /* (A24) UART0_DTRn */
53			AM65X_IOPAD(0x0194, PIN_INPUT,  1)  /* (E24) UART0_RIN */
54		>;
55	};
56};
57
58&main_uart0 {
59	pinctrl-names = "default";
60	pinctrl-0 = <&main_uart0_pins_default>;
61};
62
63&mcu_r5fss0 {
64	/* lock-step mode not supported on this board */
65	ti,cluster-mode = <0>;
66};
67