Lokesh Vutla | ea8ad1d | 2018-08-27 15:59:08 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/ |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "k3-am654.dtsi" |
Faiz Abbas | 3a1a0df | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 9 | #include <dt-bindings/pinctrl/k3.h> |
Lokesh Vutla | ea8ad1d | 2018-08-27 15:59:08 +0530 | [diff] [blame] | 10 | |
| 11 | / { |
| 12 | compatible = "ti,am654-evm", "ti,am654"; |
| 13 | model = "Texas Instruments AM654 Base Board"; |
| 14 | |
| 15 | chosen { |
| 16 | stdout-path = "serial2:115200n8"; |
| 17 | bootargs = "earlycon=ns16550a,mmio32,0x02800000"; |
| 18 | }; |
| 19 | |
Suman Anna | 35f21c3 | 2019-09-04 16:01:41 +0530 | [diff] [blame] | 20 | aliases { |
| 21 | remoteproc0 = &mcu_r5fss0_core0; |
| 22 | remoteproc1 = &mcu_r5fss0_core1; |
| 23 | }; |
| 24 | |
Lokesh Vutla | ea8ad1d | 2018-08-27 15:59:08 +0530 | [diff] [blame] | 25 | memory@80000000 { |
| 26 | device_type = "memory"; |
| 27 | /* 4G RAM */ |
| 28 | reg = <0x00000000 0x80000000 0x00000000 0x80000000>, |
| 29 | <0x00000008 0x80000000 0x00000000 0x80000000>; |
| 30 | }; |
| 31 | |
| 32 | reserved-memory { |
| 33 | #address-cells = <2>; |
| 34 | #size-cells = <2>; |
| 35 | ranges; |
| 36 | secure_ddr: secure_ddr@9e800000 { |
| 37 | reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */ |
| 38 | alignment = <0x1000>; |
| 39 | no-map; |
| 40 | }; |
| 41 | }; |
| 42 | }; |
Faiz Abbas | 3a1a0df | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 43 | |
| 44 | &main_pmx0 { |
| 45 | main_mmc0_pins_default: main_mmc0_pins_default { |
| 46 | pinctrl-single,pins = < |
| 47 | AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */ |
| 48 | AM65X_IOPAD(0x01aC, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */ |
| 49 | AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */ |
| 50 | AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */ |
| 51 | AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */ |
| 52 | AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */ |
| 53 | AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */ |
| 54 | AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */ |
| 55 | AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */ |
| 56 | AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */ |
| 57 | AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */ |
| 58 | AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */ |
| 59 | >; |
| 60 | }; |
| 61 | }; |
| 62 | |
Andreas Dannenberg | 7e0363b | 2019-06-04 18:08:15 -0500 | [diff] [blame] | 63 | &wkup_pmx0 { |
| 64 | wkup_i2c0_pins_default: wkup-i2c0-pins-default { |
| 65 | pinctrl-single,pins = < |
| 66 | AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */ |
| 67 | AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */ |
| 68 | >; |
| 69 | }; |
| 70 | }; |
| 71 | |
Faiz Abbas | 3a1a0df | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 72 | &sdhci0 { |
| 73 | pinctrl-names = "default"; |
| 74 | pinctrl-0 = <&main_mmc0_pins_default>; |
| 75 | bus-width = <8>; |
| 76 | non-removable; |
| 77 | ti,driver-strength-ohm = <50>; |
| 78 | }; |
Andreas Dannenberg | 7e0363b | 2019-06-04 18:08:15 -0500 | [diff] [blame] | 79 | |
| 80 | &wkup_i2c0 { |
| 81 | pinctrl-names = "default"; |
| 82 | pinctrl-0 = <&wkup_i2c0_pins_default>; |
| 83 | clock-frequency = <400000>; |
Andreas Dannenberg | ba7907c | 2019-06-04 18:08:18 -0500 | [diff] [blame] | 84 | |
| 85 | tca9554: gpio@38 { |
| 86 | compatible = "nxp,pca9554"; |
| 87 | reg = <0x38>; |
| 88 | gpio-controller; |
| 89 | #gpio-cells = <2>; |
| 90 | }; |
Andreas Dannenberg | 7e0363b | 2019-06-04 18:08:15 -0500 | [diff] [blame] | 91 | }; |