Jan Kiszka | 4a88eb2 | 2021-09-18 08:17:52 +0200 | [diff] [blame] | 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 Advanced variant, PG1 and PG2 |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
| 13 | |
| 14 | #include "k3-am65-iot2050-common.dtsi" |
| 15 | |
| 16 | #include "k3-am65-iot2050-common-u-boot.dtsi" |
| 17 | #include "k3-am65-iot2050-boot-image.dtsi" |
| 18 | |
| 19 | / { |
| 20 | memory@80000000 { |
| 21 | device_type = "memory"; |
| 22 | /* 2G RAM */ |
| 23 | reg = <0x00000000 0x80000000 0x00000000 0x80000000>; |
| 24 | }; |
| 25 | }; |
| 26 | |
| 27 | &main_pmx0 { |
| 28 | main_mmc0_pins_default: main-mmc0-pins-default { |
| 29 | pinctrl-single,pins = < |
| 30 | AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */ |
| 31 | AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */ |
| 32 | AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */ |
| 33 | AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */ |
| 34 | AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */ |
| 35 | AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */ |
| 36 | AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */ |
| 37 | AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */ |
| 38 | AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */ |
| 39 | AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */ |
| 40 | AM65X_IOPAD(0x01b8, PIN_OUTPUT_PULLUP, 7) /* (B23) MMC0_SDWP */ |
| 41 | AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */ |
| 42 | AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */ |
| 43 | >; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | /* eMMC */ |
| 48 | &sdhci0 { |
| 49 | pinctrl-names = "default"; |
| 50 | pinctrl-0 = <&main_mmc0_pins_default>; |
| 51 | bus-width = <8>; |
| 52 | non-removable; |
| 53 | ti,driver-strength-ohm = <50>; |
| 54 | disable-wp; |
| 55 | }; |
| 56 | |
| 57 | &main_uart0 { |
| 58 | status = "disabled"; |
| 59 | }; |