2018-11-02 14:21:09 +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"
|
|
|
|
#include "k3-am654-base-board-u-boot.dtsi"
|
2019-10-07 08:34:25 +00:00
|
|
|
#include "k3-am654-base-board-ddr4-1600MTs.dtsi"
|
2018-11-02 14:21:09 +00:00
|
|
|
#include "k3-am654-ddr.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "ti,am654-evm", "ti,am654";
|
|
|
|
model = "Texas Instruments AM654 R5 Base Board";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &wkup_uart0;
|
2019-08-15 20:55:30 +00:00
|
|
|
serial1 = &mcu_uart0;
|
2018-11-02 14:21:09 +00:00
|
|
|
serial2 = &main_uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial2:115200n8";
|
|
|
|
tick-timer = &timer1;
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
remoteproc0 = &sysctrler;
|
|
|
|
remoteproc1 = &a53_0;
|
|
|
|
};
|
|
|
|
|
|
|
|
a53_0: a53@0 {
|
|
|
|
compatible = "ti,am654-rproc";
|
|
|
|
reg = <0x0 0x00a90000 0x0 0x10>;
|
2019-06-07 13:54:47 +00:00
|
|
|
power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
|
|
|
|
<&k3_pds 202 TI_SCI_PD_EXCLUSIVE>;
|
2018-11-02 14:21:09 +00:00
|
|
|
resets = <&k3_reset 202 0>;
|
|
|
|
assigned-clocks = <&k3_clks 202 0>;
|
|
|
|
assigned-clock-rates = <800000000>;
|
|
|
|
ti,sci = <&dmsc>;
|
|
|
|
ti,sci-proc-id = <32>;
|
|
|
|
ti,sci-host-id = <10>;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
vtt_supply: vtt_supply {
|
|
|
|
compatible = "regulator-gpio";
|
|
|
|
regulator-name = "vtt";
|
|
|
|
regulator-min-microvolt = <0>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
gpios = <&wkup_gpio0 28 GPIO_ACTIVE_HIGH>;
|
|
|
|
states = <0 0x0 3300000 0x1>;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&cbass_main {
|
|
|
|
timer1: timer@40400000 {
|
|
|
|
compatible = "ti,omap5430-timer";
|
|
|
|
reg = <0x0 0x40400000 0x0 0x80>;
|
|
|
|
ti,timer-alwon;
|
|
|
|
clock-frequency = <25000000>;
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&cbass_mcu {
|
|
|
|
mcu_secproxy: secproxy@28380000 {
|
|
|
|
compatible = "ti,am654-secure-proxy";
|
|
|
|
reg = <0x0 0x2a380000 0x0 0x80000>,
|
|
|
|
<0x0 0x2a400000 0x0 0x80000>,
|
|
|
|
<0x0 0x2a480000 0x0 0x80000>;
|
|
|
|
reg-names = "rt", "scfg", "target_data";
|
|
|
|
#mbox-cells = <1>;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&cbass_wakeup {
|
|
|
|
sysctrler: sysctrler {
|
|
|
|
compatible = "ti,am654-system-controller";
|
|
|
|
mboxes= <&mcu_secproxy 4>, <&mcu_secproxy 5>;
|
|
|
|
mbox-names = "tx", "rx";
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
wkup_gpio0: wkup_gpio0@42110000 {
|
|
|
|
compatible = "ti,k2g-gpio", "ti,keystone-gpio";
|
|
|
|
reg = <0x42110000 0x100>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
ti,ngpio = <56>;
|
|
|
|
ti,davinci-gpio-unbanked = <0>;
|
|
|
|
clocks = <&k3_clks 59 0>;
|
|
|
|
clock-names = "gpio";
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2019-10-24 09:30:54 +00:00
|
|
|
wkup_vtm0: wkup_vtm@42050000 {
|
|
|
|
compatible = "ti,am654-vtm", "ti,am654-avs";
|
|
|
|
reg = <0x42050000 0x25c>;
|
2020-01-10 09:31:57 +00:00
|
|
|
power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
|
2019-10-24 09:30:54 +00:00
|
|
|
#thermal-sensor-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2019-06-10 19:13:31 +00:00
|
|
|
clk_200mhz: dummy_clock {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <200000000>;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2018-11-02 14:21:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&dmsc {
|
2019-04-25 17:27:02 +00:00
|
|
|
mboxes= <&mcu_secproxy 8>, <&mcu_secproxy 6>, <&mcu_secproxy 5>;
|
2018-11-02 14:21:09 +00:00
|
|
|
mbox-names = "tx", "rx", "notify";
|
|
|
|
ti,host-id = <4>;
|
|
|
|
ti,secure-host;
|
|
|
|
};
|
|
|
|
|
|
|
|
&wkup_uart0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&wkup_uart0_pins_default>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2019-08-15 20:55:30 +00:00
|
|
|
&mcu_uart0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mcu_uart0_pins_default>;
|
|
|
|
clock-frequency = <48000000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2019-06-07 13:54:47 +00:00
|
|
|
&main_uart0 {
|
|
|
|
power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
|
|
|
|
};
|
|
|
|
|
2019-10-24 09:30:57 +00:00
|
|
|
&wkup_vtm0 {
|
|
|
|
vdd-supply-3 = <&vdd_mpu>;
|
|
|
|
vdd-supply-4 = <&vdd_mpu>;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2018-11-02 14:21:09 +00:00
|
|
|
&wkup_pmx0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
wkup_uart0_pins_default: wkup_uart0_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
2019-04-29 17:56:44 +00:00
|
|
|
AM65X_WKUP_IOPAD(0x00a0, PIN_INPUT, 0) /* (AB1) WKUP_UART0_RXD */
|
|
|
|
AM65X_WKUP_IOPAD(0x00a4, PIN_OUTPUT, 0) /* (AB5) WKUP_UART0_TXD */
|
|
|
|
AM65X_WKUP_IOPAD(0x00c8, PIN_INPUT, 1) /* (AC2) WKUP_GPIO0_6.WKUP_UART0_CTSn */
|
|
|
|
AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT, 1) /* (AC1) WKUP_GPIO0_7.WKUP_UART0_RTSn */
|
2018-11-02 14:21:09 +00:00
|
|
|
>;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
wkup_vtt_pins_default: wkup_vtt_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
2019-04-29 17:56:44 +00:00
|
|
|
AM65X_WKUP_IOPAD(0x0040, PIN_OUTPUT_PULLUP, 7) /* WKUP_GPIO0_28 */
|
2018-11-02 14:21:09 +00:00
|
|
|
>;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2019-06-04 23:08:15 +00:00
|
|
|
|
2019-08-15 20:55:30 +00:00
|
|
|
mcu_uart0_pins_default: mcu_uart0_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
AM65X_WKUP_IOPAD(0x0044, PIN_INPUT, 4) /* (P4) MCU_OSPI1_D1.MCU_UART0_RXD */
|
|
|
|
AM65X_WKUP_IOPAD(0x0048, PIN_OUTPUT, 4) /* (P5) MCU_OSPI1_D2.MCU_UART0_TXD */
|
|
|
|
AM65X_WKUP_IOPAD(0x004C, PIN_INPUT, 4) /* (P1) MCU_OSPI1_D3.MCU_UART0_CTSn */
|
|
|
|
AM65X_WKUP_IOPAD(0x0054, PIN_OUTPUT, 4) /* (N3) MCU_OSPI1_CSn1.MCU_UART0_RTSn */
|
|
|
|
>;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2019-06-04 23:08:15 +00:00
|
|
|
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 */
|
|
|
|
>;
|
|
|
|
};
|
2020-02-04 05:39:51 +00:00
|
|
|
|
|
|
|
mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins_default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* (V1) MCU_OSPI0_CLK */
|
|
|
|
AM65X_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* (U2) MCU_OSPI0_DQS */
|
|
|
|
AM65X_WKUP_IOPAD(0x000c, PIN_INPUT, 0) /* (U4) MCU_OSPI0_D0 */
|
|
|
|
AM65X_WKUP_IOPAD(0x0010, PIN_INPUT, 0) /* (U5) MCU_OSPI0_D1 */
|
|
|
|
AM65X_WKUP_IOPAD(0x0014, PIN_INPUT, 0) /* (T2) MCU_OSPI0_D2 */
|
|
|
|
AM65X_WKUP_IOPAD(0x0018, PIN_INPUT, 0) /* (T3) MCU_OSPI0_D3 */
|
|
|
|
AM65X_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* (T4) MCU_OSPI0_D4 */
|
|
|
|
AM65X_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* (T5) MCU_OSPI0_D5 */
|
|
|
|
AM65X_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* (R2) MCU_OSPI0_D6 */
|
|
|
|
AM65X_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* (R3) MCU_OSPI0_D7 */
|
|
|
|
AM65X_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* (R4) MCU_OSPI0_CSn0 */
|
|
|
|
>;
|
|
|
|
};
|
2018-11-02 14:21:09 +00:00
|
|
|
};
|
|
|
|
|
2019-06-10 19:13:31 +00:00
|
|
|
&main_pmx0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
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(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-11-02 14:21:09 +00:00
|
|
|
&memorycontroller {
|
|
|
|
vtt-supply = <&vtt_supply>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&wkup_vtt_pins_default>;
|
|
|
|
};
|
2019-06-10 19:13:31 +00:00
|
|
|
|
|
|
|
&sdhci0 {
|
|
|
|
clock-names = "clk_xin";
|
|
|
|
clocks = <&clk_200mhz>;
|
|
|
|
/delete-property/ power-domains;
|
|
|
|
ti,driver-strength-ohm = <50>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci1 {
|
|
|
|
clock-names = "clk_xin";
|
|
|
|
clocks = <&clk_200mhz>;
|
|
|
|
/delete-property/ power-domains;
|
2019-06-10 19:13:36 +00:00
|
|
|
ti,driver-strength-ohm = <50>;
|
2019-06-10 19:13:31 +00:00
|
|
|
};
|
2019-06-04 23:08:15 +00:00
|
|
|
|
|
|
|
&wkup_i2c0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&wkup_i2c0_pins_default>;
|
|
|
|
clock-frequency = <400000>;
|
2019-10-24 09:30:55 +00:00
|
|
|
u-boot,dm-spl;
|
2019-10-24 09:30:56 +00:00
|
|
|
|
|
|
|
vdd_mpu: tps62363@60 {
|
|
|
|
compatible = "ti,tps62363";
|
|
|
|
reg = <0x60>;
|
|
|
|
regulator-name = "VDD_MPU";
|
|
|
|
regulator-min-microvolt = <500000>;
|
|
|
|
regulator-max-microvolt = <1770000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
ti,vsel0-state-high;
|
|
|
|
ti,vsel1-state-high;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2019-06-04 23:08:15 +00:00
|
|
|
};
|
2020-02-04 05:39:51 +00:00
|
|
|
|
|
|
|
&ospi0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
|
|
|
|
|
|
|
|
reg = <0x0 0x47040000 0x0 0x100>,
|
|
|
|
<0x0 0x50000000 0x0 0x8000000>;
|
|
|
|
|
|
|
|
flash@0{
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
reg = <0x0>;
|
|
|
|
spi-tx-bus-width = <1>;
|
|
|
|
spi-rx-bus-width = <8>;
|
|
|
|
spi-max-frequency = <40000000>;
|
|
|
|
cdns,tshsl-ns = <60>;
|
|
|
|
cdns,tsd2d-ns = <60>;
|
|
|
|
cdns,tchsh-ns = <60>;
|
|
|
|
cdns,tslch-ns = <60>;
|
|
|
|
cdns,read-delay = <0>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
};
|
|
|
|
};
|