"Das U-Boot" Source Tree
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6/dts-v1/;
7
8#include "k3-am654-base-board.dts"
9#include "k3-am654-base-board-u-boot.dtsi"
10#include "k3-am654-base-board-ddr4-1600MTs.dtsi"
11#include "k3-am654-ddr.dtsi"
12
13/ {
14 aliases {
15 remoteproc0 = &sysctrler;
16 remoteproc1 = &a53_0;
17 };
18
19 a53_0: a53@0 {
20 compatible = "ti,am654-rproc";
21 reg = <0x0 0x00a90000 0x0 0x10>;
22 power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
23 <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>;
24 resets = <&k3_reset 202 0>;
25 clocks = <&k3_clks 61 0>, <&k3_clks 202 0>;
26 clock-names = "gtc", "core";
27 assigned-clocks = <&k3_clks 202 0>;
28 assigned-clock-rates = <800000000>;
29 ti,sci = <&dmsc>;
30 ti,sci-proc-id = <32>;
31 ti,sci-host-id = <10>;
32 bootph-pre-ram;
33 };
34
35 clk_200mhz: dummy_clock {
36 compatible = "fixed-clock";
37 #clock-cells = <0>;
38 clock-frequency = <200000000>;
39 bootph-pre-ram;
40 };
41};
42
43&secure_proxy_mcu {
44 status = "okay";
45 bootph-pre-ram;
46};
47
48&cbass_wakeup {
49 sysctrler: sysctrler {
50 compatible = "ti,am654-system-controller";
51 mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>;
52 mbox-names = "tx", "rx";
53 bootph-pre-ram;
54 };
55};
56
57/*
58 * timer init is called as part of rproc_start() while
59 * starting System Firmware, so any clock/power-domain
60 * operations will fail as SYSFW is not yet up and running.
61 * Delete all clock/power-domain properties to avoid
62 * timer init failure.
63 * This is an always on timer at 20MHz.
64 */
65&mcu_timer0 {
66 /delete-property/ clocks;
67 /delete-property/ assigned-clocks;
68 /delete-property/ assigned-clock-parents;
69 /delete-property/ power-domains;
70};
71
72&dmsc {
73 mboxes = <&secure_proxy_mcu 8>,
74 <&secure_proxy_mcu 6>,
75 <&secure_proxy_mcu 5>;
76 mbox-names = "tx", "rx", "notify";
77 ti,host-id = <4>;
78 ti,secure-host;
79};
80
81&wkup_uart0 {
82 status = "okay";
83 bootph-pre-ram;
84};
85
86&mcu_uart0 {
87 clock-frequency = <48000000>;
88 /delete-property/ power-domains;
89 status = "okay";
90 bootph-pre-ram;
91};
92
93&wkup_vtm0 {
94 compatible = "ti,am654-vtm", "ti,am654-avs";
95 vdd-supply-3 = <&vdd_mpu>;
96 vdd-supply-4 = <&vdd_mpu>;
97};
98
99&memorycontroller {
100 vtt-supply = <&vtt_supply>;
101};
102
103/*
104 * MMC is probed to pull in firmware, so any clock
105 * or power-domain operation will fail as we do not
106 * have the firmware running at this point. Delete the
107 * power-domain properties to avoid making calls to
108 * SYSFW before it is loaded. Public ROM has already
109 * set it up for us anyway.
110 */
111&sdhci0 {
112 clock-names = "clk_xin";
113 clocks = <&clk_200mhz>;
114 /delete-property/ power-domains;
115};
116
117/*
118 * MMC is probed to pull in firmware, so any clock
119 * or power-domain operation will fail as we do not
120 * have the firmware running at this point. Delete the
121 * power-domain properties to avoid making calls to
122 * SYSFW before it is loaded. Public ROM has already
123 * set it up for us anyway.
124 */
125&sdhci1 {
126 clock-names = "clk_xin";
127 clocks = <&clk_200mhz>;
128 /delete-property/ power-domains;
129};
130
131&ospi0 {
132 reg = <0x0 0x47040000 0x0 0x100>,
133 <0x0 0x50000000 0x0 0x8000000>;
134};
135
136&dwc3_0 {
137 status = "okay";
138 /delete-property/ clocks;
139 /delete-property/ power-domains;
140 /delete-property/ assigned-clocks;
141 /delete-property/ assigned-clock-parents;
142};
143
144&mcu_cpsw {
145 reg = <0x0 0x46000000 0x0 0x200000>,
146 <0x0 0x40f00200 0x0 0x2>;
147 reg-names = "cpsw_nuss", "mac_efuse";
148 /delete-property/ ranges;
149
150 cpsw-phy-sel@40f04040 {
151 compatible = "ti,am654-cpsw-phy-sel";
152 reg= <0x0 0x40f04040 0x0 0x4>;
153 reg-names = "gmii-sel";
154 };
155};
156
157&usb1 {
158 dr_mode = "peripheral";
159};