2018-08-27 10:29:08 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "k3-am654.dtsi"
|
2019-06-10 19:13:31 +00:00
|
|
|
#include <dt-bindings/pinctrl/k3.h>
|
2018-08-27 10:29:08 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "ti,am654-evm", "ti,am654";
|
|
|
|
model = "Texas Instruments AM654 Base Board";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial2:115200n8";
|
|
|
|
bootargs = "earlycon=ns16550a,mmio32,0x02800000";
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@80000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
/* 4G RAM */
|
|
|
|
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
|
|
|
|
<0x00000008 0x80000000 0x00000000 0x80000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
ranges;
|
|
|
|
secure_ddr: secure_ddr@9e800000 {
|
|
|
|
reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */
|
|
|
|
alignment = <0x1000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2019-06-10 19:13:31 +00:00
|
|
|
|
|
|
|
&main_pmx0 {
|
|
|
|
main_mmc0_pins_default: main_mmc0_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */
|
|
|
|
AM65X_IOPAD(0x01aC, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */
|
|
|
|
AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */
|
|
|
|
AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */
|
|
|
|
AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */
|
|
|
|
AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */
|
|
|
|
AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */
|
|
|
|
AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */
|
|
|
|
AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */
|
|
|
|
AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */
|
|
|
|
AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */
|
|
|
|
AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-06-04 23:08:15 +00:00
|
|
|
&wkup_pmx0 {
|
|
|
|
wkup_i2c0_pins_default: wkup-i2c0-pins-default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */
|
|
|
|
AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-06-10 19:13:31 +00:00
|
|
|
&sdhci0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&main_mmc0_pins_default>;
|
|
|
|
bus-width = <8>;
|
|
|
|
non-removable;
|
|
|
|
ti,driver-strength-ohm = <50>;
|
|
|
|
};
|
2019-06-04 23:08:15 +00:00
|
|
|
|
|
|
|
&wkup_i2c0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&wkup_i2c0_pins_default>;
|
|
|
|
clock-frequency = <400000>;
|
2019-06-04 23:08:18 +00:00
|
|
|
|
|
|
|
tca9554: gpio@38 {
|
|
|
|
compatible = "nxp,pca9554";
|
|
|
|
reg = <0x38>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
2019-06-04 23:08:15 +00:00
|
|
|
};
|