1// SPDX-License-Identifier: GPL-2.0-only
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-am652.dtsi"
13#include "k3-am65-iot2050-common.dtsi"
14#include "k3-am65-iot2050-arduino-connector.dtsi"
15
16/ {
17	memory@80000000 {
18		device_type = "memory";
19		/* 1G RAM */
20		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
21	};
22};
23
24&main_pmx0 {
25	main_uart0_pins_default: main-uart0-default-pins {
26		pinctrl-single,pins = <
27			AM65X_IOPAD(0x01e4, PIN_INPUT,  0)  /* (AF11) UART0_RXD */
28			AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0)  /* (AE11) UART0_TXD */
29			AM65X_IOPAD(0x01ec, PIN_INPUT,  0)  /* (AG11) UART0_CTSn */
30			AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0)  /* (AD11) UART0_RTSn */
31			AM65X_IOPAD(0x0188, PIN_INPUT,  1)  /* (D25) UART0_DCDn */
32			AM65X_IOPAD(0x018c, PIN_INPUT,  1)  /* (B26) UART0_DSRn */
33			AM65X_IOPAD(0x0190, PIN_OUTPUT, 1)  /* (A24) UART0_DTRn */
34			AM65X_IOPAD(0x0194, PIN_INPUT,  1)  /* (E24) UART0_RIN */
35		>;
36	};
37};
38
39&main_uart0 {
40	status = "okay";
41	pinctrl-names = "default";
42	pinctrl-0 = <&main_uart0_pins_default>;
43};
44