blob: f25c7136c98de41a0971283f6226774f99223aff [file] [log] [blame]
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
Neha Malcom Francisca5f1e22023-07-22 00:14:30 +05306#include "k3-j7200-binman.dtsi"
7
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +05308/ {
9 chosen {
10 stdout-path = "serial2:115200n8";
11 tick-timer = &timer1;
12 };
13
Vignesh Raghavendradb6451e2020-08-07 00:27:01 +053014 aliases {
15 ethernet0 = &cpsw_port1;
Lokesh Vutla6239cc82021-02-01 11:26:41 +053016 i2c0 = &wkup_i2c0;
17 i2c1 = &mcu_i2c0;
18 i2c2 = &mcu_i2c1;
19 i2c3 = &main_i2c0;
Vignesh Raghavendradb6451e2020-08-07 00:27:01 +053020 };
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053021};
22
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053023&cbass_main {
Simon Glass8c103c32023-02-13 08:56:33 -070024 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053025};
26
27&main_navss {
Simon Glass8c103c32023-02-13 08:56:33 -070028 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053029};
30
31&cbass_mcu_wakeup {
Simon Glass8c103c32023-02-13 08:56:33 -070032 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053033
34 timer1: timer@40400000 {
35 compatible = "ti,omap5430-timer";
36 reg = <0x0 0x40400000 0x0 0x80>;
37 ti,timer-alwon;
Tero Kristobb318d82021-06-11 11:45:27 +030038 clock-frequency = <250000000>;
Simon Glass8c103c32023-02-13 08:56:33 -070039 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053040 };
Lokesh Vutla6239cc82021-02-01 11:26:41 +053041
42 chipid@43000014 {
Simon Glass8c103c32023-02-13 08:56:33 -070043 bootph-pre-ram;
Lokesh Vutla6239cc82021-02-01 11:26:41 +053044 };
Vignesh Raghavendra2af181b2021-06-07 19:47:51 +053045
Tom Rinifa09b122021-09-10 17:37:43 -040046 mcu_navss: bus@28380000 {
Simon Glass8c103c32023-02-13 08:56:33 -070047 bootph-pre-ram;
Vignesh Raghavendra95eca862021-06-14 14:12:39 +053048 #address-cells = <2>;
49 #size-cells = <2>;
Vignesh Raghavendra2af181b2021-06-07 19:47:51 +053050
51 ringacc@2b800000 {
52 reg = <0x0 0x2b800000 0x0 0x400000>,
53 <0x0 0x2b000000 0x0 0x400000>,
54 <0x0 0x28590000 0x0 0x100>,
55 <0x0 0x2a500000 0x0 0x40000>,
56 <0x0 0x28440000 0x0 0x40000>;
57 reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
Simon Glass8c103c32023-02-13 08:56:33 -070058 bootph-pre-ram;
Vignesh Raghavendra2af181b2021-06-07 19:47:51 +053059 };
60
61 dma-controller@285c0000 {
62 reg = <0x0 0x285c0000 0x0 0x100>,
63 <0x0 0x284c0000 0x0 0x4000>,
64 <0x0 0x2a800000 0x0 0x40000>,
65 <0x0 0x284a0000 0x0 0x4000>,
66 <0x0 0x2aa00000 0x0 0x40000>,
67 <0x0 0x28400000 0x0 0x2000>;
68 reg-names = "gcfg", "rchan", "rchanrt", "tchan",
69 "tchanrt", "rflow";
Simon Glass8c103c32023-02-13 08:56:33 -070070 bootph-pre-ram;
Vignesh Raghavendra2af181b2021-06-07 19:47:51 +053071 };
72 };
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053073};
74
75&secure_proxy_main {
Simon Glass8c103c32023-02-13 08:56:33 -070076 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053077};
78
79&dmsc {
Simon Glass8c103c32023-02-13 08:56:33 -070080 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053081 k3_sysreset: sysreset-controller {
82 compatible = "ti,sci-sysreset";
Simon Glass8c103c32023-02-13 08:56:33 -070083 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053084 };
85};
86
87&k3_pds {
Simon Glass8c103c32023-02-13 08:56:33 -070088 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053089};
90
91&k3_clks {
Simon Glass8c103c32023-02-13 08:56:33 -070092 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053093};
94
95&k3_reset {
Simon Glass8c103c32023-02-13 08:56:33 -070096 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +053097};
98
99&wkup_pmx0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700100 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530101};
102
103&main_pmx0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700104 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530105};
106
107&main_uart0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700108 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530109};
110
111&mcu_uart0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700112 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530113};
114
115&main_sdhci0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700116 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530117};
118
119&main_sdhci1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700120 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530121};
122
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530123&wkup_i2c0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700124 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530125};
126
127&main_i2c0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700128 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530129};
130
131&main_i2c0_pins_default {
Simon Glass8c103c32023-02-13 08:56:33 -0700132 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530133};
134
135&exp2 {
Simon Glass8c103c32023-02-13 08:56:33 -0700136 bootph-pre-ram;
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530137};
Vignesh Raghavendra86c9bd42020-08-07 00:26:56 +0530138
Vignesh Raghavendradb6451e2020-08-07 00:27:01 +0530139&mcu_cpsw {
140 reg = <0x0 0x46000000 0x0 0x200000>,
141 <0x0 0x40f00200 0x0 0x8>;
142 reg-names = "cpsw_nuss", "mac_efuse";
Vignesh Raghavendra1e8f2462021-02-09 13:38:48 +0530143 /delete-property/ ranges;
Vignesh Raghavendradb6451e2020-08-07 00:27:01 +0530144
145 cpsw-phy-sel@40f04040 {
146 compatible = "ti,am654-cpsw-phy-sel";
147 reg= <0x0 0x40f04040 0x0 0x4>;
148 reg-names = "gmii-sel";
149 };
150};
151
Vignesh Raghavendra86c9bd42020-08-07 00:26:56 +0530152&main_usbss0_pins_default {
Simon Glass8c103c32023-02-13 08:56:33 -0700153 bootph-pre-ram;
Vignesh Raghavendra86c9bd42020-08-07 00:26:56 +0530154};
155
156&usbss0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700157 bootph-pre-ram;
Vignesh Raghavendra86c9bd42020-08-07 00:26:56 +0530158 ti,usb2-only;
159};
160
161&usb0 {
162 dr_mode = "peripheral";
Simon Glass8c103c32023-02-13 08:56:33 -0700163 bootph-pre-ram;
Vignesh Raghavendra86c9bd42020-08-07 00:26:56 +0530164};
Vignesh Raghavendrac07d0682020-08-13 14:56:17 +0530165
Vignesh Raghavendrac07d0682020-08-13 14:56:17 +0530166&mcu_fss0_hpb0_pins_default {
Simon Glass8c103c32023-02-13 08:56:33 -0700167 bootph-pre-ram;
Vignesh Raghavendrac07d0682020-08-13 14:56:17 +0530168};
169
170&fss {
Simon Glass8c103c32023-02-13 08:56:33 -0700171 bootph-pre-ram;
Vignesh Raghavendrac07d0682020-08-13 14:56:17 +0530172};
173
174&hbmc {
Simon Glass8c103c32023-02-13 08:56:33 -0700175 bootph-pre-ram;
Vignesh Raghavendrac07d0682020-08-13 14:56:17 +0530176
177 flash@0,0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700178 bootph-pre-ram;
Vignesh Raghavendrac07d0682020-08-13 14:56:17 +0530179 };
180};
181
182&hbmc_mux {
Simon Glass8c103c32023-02-13 08:56:33 -0700183 bootph-pre-ram;
Vignesh Raghavendrac07d0682020-08-13 14:56:17 +0530184};
Aswath Govindraju08189ff2021-07-21 21:28:43 +0530185
186&serdes_ln_ctrl {
187 u-boot,mux-autoprobe;
188};
189
190&usb_serdes_mux {
191 u-boot,mux-autoprobe;
192};
193
194&serdes0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700195 bootph-pre-ram;
Aswath Govindraju08189ff2021-07-21 21:28:43 +0530196};
Suman Anna5d908362022-02-13 12:48:48 -0600197
198&main_r5fss0 {
199 ti,cluster-mode = <0>;
200};