162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) Siemens AG, 2018-2021
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Authors:
662306a36Sopenharmony_ci *   Le Jin <le.jin@siemens.com>
762306a36Sopenharmony_ci *   Jan Kiszka <jan.kiszka@siemens.com>
862306a36Sopenharmony_ci *
962306a36Sopenharmony_ci * Common bits of the IOT2050 Advanced variant, PG1 and PG2
1062306a36Sopenharmony_ci */
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci/dts-v1/;
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#include "k3-am65-iot2050-common.dtsi"
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci/ {
1762306a36Sopenharmony_ci	memory@80000000 {
1862306a36Sopenharmony_ci		device_type = "memory";
1962306a36Sopenharmony_ci		/* 2G RAM */
2062306a36Sopenharmony_ci		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
2162306a36Sopenharmony_ci	};
2262306a36Sopenharmony_ci};
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci&main_pmx0 {
2562306a36Sopenharmony_ci	main_mmc0_pins_default: main-mmc0-default-pins {
2662306a36Sopenharmony_ci		pinctrl-single,pins = <
2762306a36Sopenharmony_ci			AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0)  /* (B25) MMC0_CLK */
2862306a36Sopenharmony_ci			AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP,   0)  /* (B27) MMC0_CMD */
2962306a36Sopenharmony_ci			AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP,   0)  /* (A26) MMC0_DAT0 */
3062306a36Sopenharmony_ci			AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP,   0)  /* (E25) MMC0_DAT1 */
3162306a36Sopenharmony_ci			AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP,   0)  /* (C26) MMC0_DAT2 */
3262306a36Sopenharmony_ci			AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP,   0)  /* (A25) MMC0_DAT3 */
3362306a36Sopenharmony_ci			AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP,   0)  /* (E24) MMC0_DAT4 */
3462306a36Sopenharmony_ci			AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP,   0)  /* (A24) MMC0_DAT5 */
3562306a36Sopenharmony_ci			AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP,   0)  /* (B26) MMC0_DAT6 */
3662306a36Sopenharmony_ci			AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP,   0)  /* (D25) MMC0_DAT7 */
3762306a36Sopenharmony_ci			AM65X_IOPAD(0x01b8, PIN_OUTPUT_PULLUP,  7)  /* (B23) MMC0_SDWP */
3862306a36Sopenharmony_ci			AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP,   0)  /* (A23) MMC0_SDCD */
3962306a36Sopenharmony_ci			AM65X_IOPAD(0x01b0, PIN_INPUT,          0)  /* (C25) MMC0_DS */
4062306a36Sopenharmony_ci		>;
4162306a36Sopenharmony_ci	};
4262306a36Sopenharmony_ci};
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci/* eMMC */
4562306a36Sopenharmony_ci&sdhci0 {
4662306a36Sopenharmony_ci	pinctrl-names = "default";
4762306a36Sopenharmony_ci	pinctrl-0 = <&main_mmc0_pins_default>;
4862306a36Sopenharmony_ci	bus-width = <8>;
4962306a36Sopenharmony_ci	non-removable;
5062306a36Sopenharmony_ci	ti,driver-strength-ohm = <50>;
5162306a36Sopenharmony_ci	disable-wp;
5262306a36Sopenharmony_ci};
53