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.kiszka@siemens.com>
8 *
9 * Common bits of the IOT2050 Basic variant, PG1 and PG2
10 */
11
12#include "k3-am65-iot2050-common.dtsi"
13
14#include "k3-am65-iot2050-common-u-boot.dtsi"
15#include "k3-am65-iot2050-boot-image.dtsi"
16
17/ {
18	memory@80000000 {
19		device_type = "memory";
20		/* 1G RAM */
21		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
22	};
23
24	cpus {
25		cpu-map {
26			/delete-node/ cluster1;
27		};
28		/delete-node/ cpu@100;
29		/delete-node/ cpu@101;
30	};
31
32	/delete-node/ l2-cache1;
33};
34
35/* eMMC */
36&sdhci0 {
37	status = "disabled";
38};
39
40&main_pmx0 {
41	main_uart0_pins_default: main-uart0-pins-default {
42		pinctrl-single,pins = <
43			AM65X_IOPAD(0x01e4, PIN_INPUT,  0)  /* (AF11) UART0_RXD */
44			AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0)  /* (AE11) UART0_TXD */
45			AM65X_IOPAD(0x01ec, PIN_INPUT,  0)  /* (AG11) UART0_CTSn */
46			AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0)  /* (AD11) UART0_RTSn */
47			AM65X_IOPAD(0x0188, PIN_INPUT,  1)  /* (D25) UART0_DCDn */
48			AM65X_IOPAD(0x018c, PIN_INPUT,  1)  /* (B26) UART0_DSRn */
49			AM65X_IOPAD(0x0190, PIN_OUTPUT, 1)  /* (A24) UART0_DTRn */
50			AM65X_IOPAD(0x0194, PIN_INPUT,  1)  /* (E24) UART0_RIN */
51		>;
52	};
53};
54
55&main_uart0 {
56	pinctrl-names = "default";
57	pinctrl-0 = <&main_uart0_pins_default>;
58};
59
60&mcu_r5fss0 {
61	/* lock-step mode not supported on Basic boards */
62	ti,cluster-mode = <0>;
63};
64