Lokesh Vutla | 8bfaf01 | 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 | d8fb309 | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 9 | #include <dt-bindings/pinctrl/k3.h> |
Lokesh Vutla | 8bfaf01 | 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 | 34721e5 | 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 | 8bfaf01 | 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 | d8fb309 | 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 | }; |
Vignesh Raghavendra | 5bbcabb | 2019-12-09 10:37:33 +0530 | [diff] [blame] | 61 | |
| 62 | usb1_pins_default: usb1_pins_default { |
| 63 | pinctrl-single,pins = < |
| 64 | AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */ |
| 65 | >; |
| 66 | }; |
Faiz Abbas | d8fb309 | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 67 | }; |
| 68 | |
Andreas Dannenberg | d20cf7b | 2019-06-04 18:08:15 -0500 | [diff] [blame] | 69 | &wkup_pmx0 { |
| 70 | wkup_i2c0_pins_default: wkup-i2c0-pins-default { |
| 71 | pinctrl-single,pins = < |
| 72 | AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */ |
| 73 | AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */ |
| 74 | >; |
| 75 | }; |
| 76 | }; |
| 77 | |
Faiz Abbas | d8fb309 | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 78 | &sdhci0 { |
| 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&main_mmc0_pins_default>; |
| 81 | bus-width = <8>; |
| 82 | non-removable; |
| 83 | ti,driver-strength-ohm = <50>; |
| 84 | }; |
Andreas Dannenberg | d20cf7b | 2019-06-04 18:08:15 -0500 | [diff] [blame] | 85 | |
| 86 | &wkup_i2c0 { |
| 87 | pinctrl-names = "default"; |
| 88 | pinctrl-0 = <&wkup_i2c0_pins_default>; |
| 89 | clock-frequency = <400000>; |
Andreas Dannenberg | 67bb387 | 2019-06-04 18:08:18 -0500 | [diff] [blame] | 90 | |
| 91 | tca9554: gpio@38 { |
| 92 | compatible = "nxp,pca9554"; |
| 93 | reg = <0x38>; |
| 94 | gpio-controller; |
| 95 | #gpio-cells = <2>; |
| 96 | }; |
Andreas Dannenberg | d20cf7b | 2019-06-04 18:08:15 -0500 | [diff] [blame] | 97 | }; |
Vignesh Raghavendra | 5bbcabb | 2019-12-09 10:37:33 +0530 | [diff] [blame] | 98 | |
| 99 | &dwc3_1 { |
| 100 | status = "okay"; |
| 101 | }; |
| 102 | |
| 103 | &usb1_phy { |
| 104 | status = "okay"; |
| 105 | }; |
| 106 | |
| 107 | &usb1 { |
| 108 | pinctrl-names = "default"; |
| 109 | pinctrl-0 = <&usb1_pins_default>; |
| 110 | dr_mode = "otg"; |
| 111 | }; |
| 112 | |
| 113 | &dwc3_0 { |
| 114 | status = "disabled"; |
| 115 | }; |
| 116 | |
| 117 | &usb0_phy { |
| 118 | status = "disabled"; |
| 119 | }; |