blob: 7ebbf17862555c9c8586c6214c22511e872111eb [file] [log] [blame]
Lokesh Vutla8bfaf012018-08-27 15:59:08 +05301// 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 Abbasd8fb3092019-06-11 00:43:31 +05309#include <dt-bindings/pinctrl/k3.h>
Lokesh Vutla8bfaf012018-08-27 15:59:08 +053010
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 Anna34721e52019-09-04 16:01:41 +053020 aliases {
21 remoteproc0 = &mcu_r5fss0_core0;
22 remoteproc1 = &mcu_r5fss0_core1;
23 };
24
Lokesh Vutla8bfaf012018-08-27 15:59:08 +053025 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 Abbasd8fb3092019-06-11 00:43:31 +053043
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 Raghavendra5bbcabb2019-12-09 10:37:33 +053061
62 usb1_pins_default: usb1_pins_default {
63 pinctrl-single,pins = <
64 AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */
65 >;
66 };
Faiz Abbasd8fb3092019-06-11 00:43:31 +053067};
68
Andreas Dannenbergd20cf7b2019-06-04 18:08:15 -050069&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 Abbasd8fb3092019-06-11 00:43:31 +053078&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 Dannenbergd20cf7b2019-06-04 18:08:15 -050085
86&wkup_i2c0 {
87 pinctrl-names = "default";
88 pinctrl-0 = <&wkup_i2c0_pins_default>;
89 clock-frequency = <400000>;
Andreas Dannenberg67bb3872019-06-04 18:08:18 -050090
91 tca9554: gpio@38 {
92 compatible = "nxp,pca9554";
93 reg = <0x38>;
94 gpio-controller;
95 #gpio-cells = <2>;
96 };
Andreas Dannenbergd20cf7b2019-06-04 18:08:15 -050097};
Vignesh Raghavendra5bbcabb2019-12-09 10:37:33 +053098
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};