blob: 6e31dfd97c5e8bb2f665522189de8d22f40f4761 [file] [log] [blame]
Lokesh Vutla86106ed2021-05-06 16:45:00 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
Roger Quadrosaf6e2a72023-08-05 11:14:40 +03006#include "k3-am642-sk.dts"
Dave Gerlachd7760d02022-09-29 12:35:48 -05007#include "k3-am64-sk-lp4-1600MTs.dtsi"
Lokesh Vutla86106ed2021-05-06 16:45:00 +05308#include "k3-am64-ddr.dtsi"
9
Roger Quadrosaf6e2a72023-08-05 11:14:40 +030010#include "k3-am642-sk-u-boot.dtsi"
Lokesh Vutla86106ed2021-05-06 16:45:00 +053011
Roger Quadrosaf6e2a72023-08-05 11:14:40 +030012/ {
Lokesh Vutla86106ed2021-05-06 16:45:00 +053013 aliases {
14 remoteproc0 = &sysctrler;
15 remoteproc1 = &a53_0;
16 };
17
Lokesh Vutla86106ed2021-05-06 16:45:00 +053018 a53_0: a53@0 {
19 compatible = "ti,am654-rproc";
20 reg = <0x00 0x00a90000 0x00 0x10>;
21 power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
Manorit Chawdhrya6c9a6b2023-04-14 09:47:56 +053022 <&k3_pds 135 TI_SCI_PD_EXCLUSIVE>,
23 <&k3_pds 137 TI_SCI_PD_EXCLUSIVE>;
Lokesh Vutla86106ed2021-05-06 16:45:00 +053024 resets = <&k3_reset 135 0>;
Manorit Chawdhryf23728b2024-10-15 16:22:19 +053025 clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
26 clock-names = "gtc", "core";
Lokesh Vutla86106ed2021-05-06 16:45:00 +053027 assigned-clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
28 assigned-clock-parents = <&k3_clks 61 2>;
29 assigned-clock-rates = <200000000>, <1000000000>;
30 ti,sci = <&dmsc>;
31 ti,sci-proc-id = <32>;
32 ti,sci-host-id = <10>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Lokesh Vutla86106ed2021-05-06 16:45:00 +053034 };
35
Lokesh Vutla86106ed2021-05-06 16:45:00 +053036 clk_200mhz: dummy-clock-200mhz {
37 compatible = "fixed-clock";
38 #clock-cells = <0>;
39 clock-frequency = <200000000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070040 bootph-pre-ram;
Lokesh Vutla86106ed2021-05-06 16:45:00 +053041 };
42};
43
44&cbass_main {
45 sysctrler: sysctrler {
46 compatible = "ti,am654-system-controller";
47 mboxes= <&secure_proxy_main 1>, <&secure_proxy_main 0>;
48 mbox-names = "tx", "rx";
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-pre-ram;
Lokesh Vutla86106ed2021-05-06 16:45:00 +053050 };
51};
52
Lokesh Vutla86106ed2021-05-06 16:45:00 +053053&dmsc {
54 mboxes= <&secure_proxy_main 0>,
55 <&secure_proxy_main 1>,
56 <&secure_proxy_main 0>;
57 mbox-names = "rx", "tx", "notify";
58 ti,host-id = <35>;
59 ti,secure-host;
60};
61
Lokesh Vutla86106ed2021-05-06 16:45:00 +053062&sdhci1 {
Lokesh Vutla86106ed2021-05-06 16:45:00 +053063 clocks = <&clk_200mhz>;
64 clock-names = "clk_xin";
Lokesh Vutla86106ed2021-05-06 16:45:00 +053065};
66
Kishon Vijay Abraham I35c392c2021-10-20 21:09:12 +053067&serdes_wiz0 {
68 status = "okay";
69};
70
Roger Quadrosaf6e2a72023-08-05 11:14:40 +030071/* UART is initialized before SYSFW is started
72 * so we can't do any power-domain/clock operations.
73 * Delete clock/power-domain properties to avoid
74 * UART init failure
75 */
76&main_uart0 {
77 /delete-property/ power-domains;
78 /delete-property/ clocks;
79 /delete-property/ clock-names;
Vignesh Raghavendra14953582021-12-24 12:55:35 +053080};
81
Roger Quadrosaf6e2a72023-08-05 11:14:40 +030082/* timer init is called as part of rproc_start() while
83 * starting System Firmware, so any clock/power-domain
84 * operations will fail as SYSFW is not yet up and running.
85 * Delete all clock/power-domain properties to avoid
86 * timer init failure.
87 * This is an always on timer at 20MHz.
88 */
89&main_timer0 {
90 /delete-property/ clocks;
91 /delete-property/ assigned-clocks;
92 /delete-property/ assigned-clock-parents;
93 /delete-property/ power-domains;
Vignesh Raghavendra14953582021-12-24 12:55:35 +053094};
Jonathan Humphreyse1ce4f42024-02-23 18:17:02 -060095
96&ospi0 {
97 reg = <0x00 0x0fc40000 0x00 0x100>,
98 <0x00 0x60000000 0x00 0x8000000>;
99};