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 | |
| 20 | memory@80000000 { |
| 21 | device_type = "memory"; |
| 22 | /* 4G RAM */ |
| 23 | reg = <0x00000000 0x80000000 0x00000000 0x80000000>, |
| 24 | <0x00000008 0x80000000 0x00000000 0x80000000>; |
| 25 | }; |
| 26 | |
| 27 | reserved-memory { |
| 28 | #address-cells = <2>; |
| 29 | #size-cells = <2>; |
| 30 | ranges; |
| 31 | secure_ddr: secure_ddr@9e800000 { |
| 32 | reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */ |
| 33 | alignment = <0x1000>; |
| 34 | no-map; |
| 35 | }; |
| 36 | }; |
| 37 | }; |
Faiz Abbas | 3a1a0df | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 38 | |
| 39 | &main_pmx0 { |
| 40 | main_mmc0_pins_default: main_mmc0_pins_default { |
| 41 | pinctrl-single,pins = < |
| 42 | AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */ |
| 43 | AM65X_IOPAD(0x01aC, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */ |
| 44 | AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */ |
| 45 | AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */ |
| 46 | AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */ |
| 47 | AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */ |
| 48 | AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */ |
| 49 | AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */ |
| 50 | AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */ |
| 51 | AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */ |
| 52 | AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */ |
| 53 | AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */ |
| 54 | >; |
| 55 | }; |
| 56 | }; |
| 57 | |
Andreas Dannenberg | 7e0363b | 2019-06-04 18:08:15 -0500 | [diff] [blame] | 58 | &wkup_pmx0 { |
| 59 | wkup_i2c0_pins_default: wkup-i2c0-pins-default { |
| 60 | pinctrl-single,pins = < |
| 61 | AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */ |
| 62 | AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */ |
| 63 | >; |
| 64 | }; |
| 65 | }; |
| 66 | |
Faiz Abbas | 3a1a0df | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 67 | &sdhci0 { |
| 68 | pinctrl-names = "default"; |
| 69 | pinctrl-0 = <&main_mmc0_pins_default>; |
| 70 | bus-width = <8>; |
| 71 | non-removable; |
| 72 | ti,driver-strength-ohm = <50>; |
| 73 | }; |
Andreas Dannenberg | 7e0363b | 2019-06-04 18:08:15 -0500 | [diff] [blame] | 74 | |
| 75 | &wkup_i2c0 { |
| 76 | pinctrl-names = "default"; |
| 77 | pinctrl-0 = <&wkup_i2c0_pins_default>; |
| 78 | clock-frequency = <400000>; |
Andreas Dannenberg | ba7907c | 2019-06-04 18:08:18 -0500 | [diff] [blame] | 79 | |
| 80 | tca9554: gpio@38 { |
| 81 | compatible = "nxp,pca9554"; |
| 82 | reg = <0x38>; |
| 83 | gpio-controller; |
| 84 | #gpio-cells = <2>; |
| 85 | }; |
Andreas Dannenberg | 7e0363b | 2019-06-04 18:08:15 -0500 | [diff] [blame] | 86 | }; |