mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 10:24:49 +00:00

Updated PLL driver sequencing requires us to use udelay in the PLL driver as there is no poll bit to get the status of operations. tick-timer(mcu_timer0/main_timer0) setting up the clocks for itself is something that won't work as the PLL driver will be using udelay and PLLs are configured during clock probe which would end up in a recursive probe. tick-timer being used by K3 devices are configured by ROM and we really don't need to configure any of the clocks. Remove the clock dependency from R5 stage as we don't need to setup clocks for it. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
110 lines
2.3 KiB
Text
110 lines
2.3 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* AM62P5 SK dts file for R5 SPL
|
|
* Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
|
|
*/
|
|
|
|
#include "k3-am62p5-sk.dts"
|
|
#include "k3-am62p5-sk-u-boot.dtsi"
|
|
|
|
#include "k3-am62p-ddr-lp4-50-1600.dtsi"
|
|
#include "k3-am62a-ddr.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
remoteproc0 = &sysctrler;
|
|
remoteproc1 = &a53_0;
|
|
serial0 = &wkup_uart0;
|
|
serial2 = &main_uart0;
|
|
serial3 = &main_uart1;
|
|
};
|
|
|
|
a53_0: a53@0 {
|
|
compatible = "ti,am654-rproc";
|
|
reg = <0x00 0x00a90000 0x00 0x10>;
|
|
power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
|
|
<&k3_pds 135 TI_SCI_PD_EXCLUSIVE>,
|
|
<&k3_pds 166 TI_SCI_PD_EXCLUSIVE>;
|
|
resets = <&k3_reset 135 0>;
|
|
clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
|
|
clock-names = "gtc", "core";
|
|
assigned-clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
|
|
assigned-clock-parents = <&k3_clks 61 2>;
|
|
assigned-clock-rates = <200000000>, <1200000000>;
|
|
ti,sci = <&dmsc>;
|
|
ti,sci-proc-id = <32>;
|
|
ti,sci-host-id = <10>;
|
|
bootph-all;
|
|
};
|
|
|
|
dm_tifs: dm-tifs {
|
|
compatible = "ti,j721e-dm-sci";
|
|
ti,host-id = <36>;
|
|
ti,secure-host;
|
|
mbox-names = "rx", "tx";
|
|
mboxes= <&secure_proxy_main 20>,
|
|
<&secure_proxy_main 21>;
|
|
bootph-all;
|
|
};
|
|
};
|
|
|
|
&dmsc {
|
|
mboxes= <&secure_proxy_main 0>,
|
|
<&secure_proxy_main 1>,
|
|
<&secure_proxy_main 0>;
|
|
mbox-names = "rx", "tx", "notify";
|
|
ti,host-id = <35>;
|
|
ti,secure-host;
|
|
};
|
|
|
|
&cbass_main {
|
|
sa3_secproxy: secproxy@44880000 {
|
|
compatible = "ti,am654-secure-proxy";
|
|
#mbox-cells = <1>;
|
|
reg = <0x00 0x44880000 0x00 0x20000>,
|
|
<0x00 0x44860000 0x00 0x20000>,
|
|
<0x00 0x43600000 0x00 0x10000>;
|
|
reg-names = "rt", "scfg", "target_data";
|
|
bootph-all;
|
|
};
|
|
|
|
sysctrler: sysctrler {
|
|
compatible = "ti,am654-system-controller";
|
|
mboxes= <&secure_proxy_main 1>,
|
|
<&secure_proxy_main 0>,
|
|
<&sa3_secproxy 0>;
|
|
mbox-names = "tx", "rx", "boot_notify";
|
|
bootph-all;
|
|
};
|
|
};
|
|
|
|
&main_timer0 {
|
|
/delete-property/ clocks;
|
|
/delete-property/ clocks-names;
|
|
/delete-property/ assigned-clocks;
|
|
/delete-property/ assigned-clock-parents;
|
|
clock-frequency = <25000000>;
|
|
};
|
|
|
|
/* WKUP UART0 is used for DM firmware logs */
|
|
&wkup_uart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Main UART1 is used for TIFS firmware logs */
|
|
&main_uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&main_pktdma {
|
|
ti,sci = <&dm_tifs>;
|
|
};
|
|
|
|
&main_bcdma {
|
|
ti,sci = <&dm_tifs>;
|
|
};
|
|
|
|
&ospi0 {
|
|
reg = <0x00 0x0fc40000 0x00 0x100>,
|
|
<0x00 0x60000000 0x00 0x08000000>;
|
|
};
|