2018-11-02 14:21:09 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
2023-11-01 20:56:03 +00:00
|
|
|
* Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
|
2018-11-02 14:21:09 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2023-12-29 17:47:03 +00:00
|
|
|
#include "k3-am654-base-board.dts"
|
|
|
|
#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"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
2023-12-29 17:47:00 +00:00
|
|
|
remoteproc0 = &sysctrler;
|
|
|
|
remoteproc1 = &a53_0;
|
2018-11-02 14:21:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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>;
|
2021-01-06 19:20:31 +00:00
|
|
|
clocks = <&k3_clks 61 0>;
|
2018-11-02 14:21:09 +00:00
|
|
|
assigned-clocks = <&k3_clks 202 0>;
|
|
|
|
assigned-clock-rates = <800000000>;
|
|
|
|
ti,sci = <&dmsc>;
|
|
|
|
ti,sci-proc-id = <32>;
|
|
|
|
ti,sci-host-id = <10>;
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-11-02 14:21:09 +00:00
|
|
|
};
|
2023-12-29 17:47:21 +00:00
|
|
|
|
|
|
|
clk_200mhz: dummy_clock {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <200000000>;
|
|
|
|
bootph-pre-ram;
|
|
|
|
};
|
2018-11-02 14:21:09 +00:00
|
|
|
};
|
|
|
|
|
2023-12-29 17:47:22 +00:00
|
|
|
&secure_proxy_mcu {
|
|
|
|
status = "okay";
|
|
|
|
bootph-pre-ram;
|
2023-12-29 17:47:00 +00:00
|
|
|
};
|
|
|
|
|
2018-11-02 14:21:09 +00:00
|
|
|
&cbass_wakeup {
|
|
|
|
sysctrler: sysctrler {
|
|
|
|
compatible = "ti,am654-system-controller";
|
2023-12-29 17:47:22 +00:00
|
|
|
mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>;
|
2018-11-02 14:21:09 +00:00
|
|
|
mbox-names = "tx", "rx";
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2018-11-02 14:21:09 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-12-29 17:47:06 +00:00
|
|
|
/*
|
|
|
|
* timer init is called as part of rproc_start() while
|
|
|
|
* starting System Firmware, so any clock/power-domain
|
|
|
|
* operations will fail as SYSFW is not yet up and running.
|
|
|
|
* Delete all clock/power-domain properties to avoid
|
|
|
|
* timer init failure.
|
|
|
|
* This is an always on timer at 20MHz.
|
|
|
|
*/
|
|
|
|
&mcu_timer0 {
|
|
|
|
/delete-property/ clocks;
|
|
|
|
/delete-property/ assigned-clocks;
|
|
|
|
/delete-property/ assigned-clock-parents;
|
|
|
|
/delete-property/ power-domains;
|
|
|
|
};
|
|
|
|
|
2018-11-02 14:21:09 +00:00
|
|
|
&dmsc {
|
2023-12-29 17:47:22 +00:00
|
|
|
mboxes = <&secure_proxy_mcu 8>,
|
|
|
|
<&secure_proxy_mcu 6>,
|
|
|
|
<&secure_proxy_mcu 5>;
|
2018-11-02 14:21:09 +00:00
|
|
|
mbox-names = "tx", "rx", "notify";
|
|
|
|
ti,host-id = <4>;
|
|
|
|
ti,secure-host;
|
|
|
|
};
|
|
|
|
|
|
|
|
&wkup_uart0 {
|
|
|
|
status = "okay";
|
2023-12-29 17:47:02 +00:00
|
|
|
bootph-pre-ram;
|
2018-11-02 14:21:09 +00:00
|
|
|
};
|
|
|
|
|
2019-08-15 20:55:30 +00:00
|
|
|
&mcu_uart0 {
|
|
|
|
clock-frequency = <48000000>;
|
2021-02-01 05:56:39 +00:00
|
|
|
/delete-property/ power-domains;
|
2019-08-15 20:55:30 +00:00
|
|
|
status = "okay";
|
2023-12-29 17:47:02 +00:00
|
|
|
bootph-pre-ram;
|
2019-08-15 20:55:30 +00:00
|
|
|
};
|
|
|
|
|
2019-10-24 09:30:57 +00:00
|
|
|
&wkup_vtm0 {
|
2021-02-01 05:56:39 +00:00
|
|
|
compatible = "ti,am654-vtm", "ti,am654-avs";
|
2019-10-24 09:30:57 +00:00
|
|
|
vdd-supply-3 = <&vdd_mpu>;
|
|
|
|
vdd-supply-4 = <&vdd_mpu>;
|
|
|
|
};
|
|
|
|
|
2018-11-02 14:21:09 +00:00
|
|
|
&memorycontroller {
|
|
|
|
vtt-supply = <&vtt_supply>;
|
|
|
|
};
|
2019-06-10 19:13:31 +00:00
|
|
|
|
2023-12-29 17:47:12 +00:00
|
|
|
/*
|
|
|
|
* MMC is probed to pull in firmware, so any clock
|
|
|
|
* or power-domain operation will fail as we do not
|
|
|
|
* have the firmware running at this point. Delete the
|
|
|
|
* power-domain properties to avoid making calls to
|
|
|
|
* SYSFW before it is loaded. Public ROM has already
|
|
|
|
* set it up for us anyway.
|
|
|
|
*/
|
2019-06-10 19:13:31 +00:00
|
|
|
&sdhci0 {
|
|
|
|
clock-names = "clk_xin";
|
|
|
|
clocks = <&clk_200mhz>;
|
|
|
|
/delete-property/ power-domains;
|
|
|
|
};
|
|
|
|
|
2023-12-29 17:47:13 +00:00
|
|
|
/*
|
|
|
|
* MMC is probed to pull in firmware, so any clock
|
|
|
|
* or power-domain operation will fail as we do not
|
|
|
|
* have the firmware running at this point. Delete the
|
|
|
|
* power-domain properties to avoid making calls to
|
|
|
|
* SYSFW before it is loaded. Public ROM has already
|
|
|
|
* set it up for us anyway.
|
|
|
|
*/
|
2019-06-10 19:13:31 +00:00
|
|
|
&sdhci1 {
|
|
|
|
clock-names = "clk_xin";
|
|
|
|
clocks = <&clk_200mhz>;
|
|
|
|
/delete-property/ power-domains;
|
|
|
|
};
|
2019-06-04 23:08:15 +00:00
|
|
|
|
2020-02-04 05:39:51 +00:00
|
|
|
&ospi0 {
|
|
|
|
reg = <0x0 0x47040000 0x0 0x100>,
|
|
|
|
<0x0 0x50000000 0x0 0x8000000>;
|
|
|
|
};
|
2020-08-03 06:05:11 +00:00
|
|
|
|
|
|
|
&dwc3_0 {
|
|
|
|
status = "okay";
|
2022-05-18 11:19:12 +00:00
|
|
|
/delete-property/ clocks;
|
2020-08-03 06:05:11 +00:00
|
|
|
/delete-property/ power-domains;
|
|
|
|
/delete-property/ assigned-clocks;
|
|
|
|
/delete-property/ assigned-clock-parents;
|
|
|
|
};
|
|
|
|
|
2023-12-29 17:47:00 +00:00
|
|
|
&mcu_cpsw {
|
|
|
|
reg = <0x0 0x46000000 0x0 0x200000>,
|
|
|
|
<0x0 0x40f00200 0x0 0x2>;
|
|
|
|
reg-names = "cpsw_nuss", "mac_efuse";
|
|
|
|
/delete-property/ ranges;
|
|
|
|
|
|
|
|
cpsw-phy-sel@40f04040 {
|
|
|
|
compatible = "ti,am654-cpsw-phy-sel";
|
|
|
|
reg= <0x0 0x40f04040 0x0 0x4>;
|
|
|
|
reg-names = "gmii-sel";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb1 {
|
|
|
|
dr_mode = "peripheral";
|
|
|
|
};
|