Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Copyright (c) Siemens AG, 2018-2021
0004  *
0005  * Authors:
0006  *   Le Jin <le.jin@siemens.com>
0007  *   Jan Kiszka <jan.kiszka@siemens.com>
0008  *
0009  * Common bits of the IOT2050 Advanced variant, PG1 and PG2
0010  */
0011 
0012 /dts-v1/;
0013 
0014 #include "k3-am65-iot2050-common.dtsi"
0015 
0016 / {
0017         memory@80000000 {
0018                 device_type = "memory";
0019                 /* 2G RAM */
0020                 reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
0021         };
0022 };
0023 
0024 &main_pmx0 {
0025         main_mmc0_pins_default: main-mmc0-pins-default {
0026                 pinctrl-single,pins = <
0027                         AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0)  /* (B25) MMC0_CLK */
0028                         AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP,   0)  /* (B27) MMC0_CMD */
0029                         AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP,   0)  /* (A26) MMC0_DAT0 */
0030                         AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP,   0)  /* (E25) MMC0_DAT1 */
0031                         AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP,   0)  /* (C26) MMC0_DAT2 */
0032                         AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP,   0)  /* (A25) MMC0_DAT3 */
0033                         AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP,   0)  /* (E24) MMC0_DAT4 */
0034                         AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP,   0)  /* (A24) MMC0_DAT5 */
0035                         AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP,   0)  /* (B26) MMC0_DAT6 */
0036                         AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP,   0)  /* (D25) MMC0_DAT7 */
0037                         AM65X_IOPAD(0x01b8, PIN_OUTPUT_PULLUP,  7)  /* (B23) MMC0_SDWP */
0038                         AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP,   0)  /* (A23) MMC0_SDCD */
0039                         AM65X_IOPAD(0x01b0, PIN_INPUT,          0)  /* (C25) MMC0_DS */
0040                 >;
0041         };
0042 };
0043 
0044 /* eMMC */
0045 &sdhci0 {
0046         pinctrl-names = "default";
0047         pinctrl-0 = <&main_mmc0_pins_default>;
0048         bus-width = <8>;
0049         non-removable;
0050         ti,driver-strength-ohm = <50>;
0051         disable-wp;
0052 };
0053 
0054 &main_uart0 {
0055         status = "disabled";
0056 };