blob: f940ffee8787286313d23907b6131ea19a8010e8 [file] [log] [blame]
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
Neha Malcom Francis106589a2023-07-22 00:14:36 +05306#include "k3-j721s2-binman.dtsi"
7
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +05308/ {
9 chosen {
10 stdout-path = "serial2:115200n8";
11 tick-timer = &timer1;
12 };
13
14 aliases {
15 serial0 = &wkup_uart0;
16 serial1 = &mcu_uart0;
17 serial2 = &main_uart8;
18 i2c0 = &wkup_i2c0;
19 i2c1 = &mcu_i2c0;
20 i2c2 = &mcu_i2c1;
21 i2c3 = &main_i2c0;
22 ethernet0 = &cpsw_port1;
23 };
24};
25
26&wkup_i2c0 {
Simon Glass8c103c32023-02-13 08:56:33 -070027 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053028};
29
30&cbass_main {
Simon Glass8c103c32023-02-13 08:56:33 -070031 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053032};
33
34&main_navss {
Simon Glass8c103c32023-02-13 08:56:33 -070035 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053036};
37
38&cbass_mcu_wakeup {
Simon Glass8c103c32023-02-13 08:56:33 -070039 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053040
41 timer1: timer@40400000 {
42 compatible = "ti,omap5430-timer";
43 reg = <0x0 0x40400000 0x0 0x80>;
44 ti,timer-alwon;
Vignesh Raghavendra7262ff72022-03-07 14:55:51 +053045 clock-frequency = <250000000>;
Simon Glass8c103c32023-02-13 08:56:33 -070046 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053047 };
48
49 chipid@43000014 {
Simon Glass8c103c32023-02-13 08:56:33 -070050 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053051 };
52};
53
54&mcu_navss {
Simon Glass8c103c32023-02-13 08:56:33 -070055 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053056};
57
58&mcu_ringacc {
59 reg = <0x0 0x2b800000 0x0 0x400000>,
60 <0x0 0x2b000000 0x0 0x400000>,
61 <0x0 0x28590000 0x0 0x100>,
62 <0x0 0x2a500000 0x0 0x40000>,
63 <0x0 0x28440000 0x0 0x40000>;
64 reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
Simon Glass8c103c32023-02-13 08:56:33 -070065 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053066};
67
68&mcu_udmap {
69 reg = <0x0 0x285c0000 0x0 0x100>,
70 <0x0 0x284c0000 0x0 0x4000>,
71 <0x0 0x2a800000 0x0 0x40000>,
72 <0x0 0x284a0000 0x0 0x4000>,
73 <0x0 0x2aa00000 0x0 0x40000>,
74 <0x0 0x28400000 0x0 0x2000>;
75 reg-names = "gcfg", "rchan", "rchanrt", "tchan",
76 "tchanrt", "rflow";
Simon Glass8c103c32023-02-13 08:56:33 -070077 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053078};
79
80&secure_proxy_main {
Simon Glass8c103c32023-02-13 08:56:33 -070081 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053082};
83
84&sms {
Simon Glass8c103c32023-02-13 08:56:33 -070085 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053086 k3_sysreset: sysreset-controller {
87 compatible = "ti,sci-sysreset";
Simon Glass8c103c32023-02-13 08:56:33 -070088 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053089 };
90};
91
92&main_pmx0 {
Simon Glass8c103c32023-02-13 08:56:33 -070093 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053094};
95
96&main_uart8_pins_default {
Simon Glass8c103c32023-02-13 08:56:33 -070097 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +053098};
99
100&main_mmc1_pins_default {
Simon Glass8c103c32023-02-13 08:56:33 -0700101 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530102};
103
104&wkup_pmx0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700105 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530106};
107
108&k3_pds {
Simon Glass8c103c32023-02-13 08:56:33 -0700109 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530110};
111
112&k3_clks {
Simon Glass8c103c32023-02-13 08:56:33 -0700113 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530114};
115
116&k3_reset {
Simon Glass8c103c32023-02-13 08:56:33 -0700117 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530118};
119
120&main_uart8 {
Simon Glass8c103c32023-02-13 08:56:33 -0700121 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530122};
123
124&mcu_uart0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700125 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530126};
127
128&wkup_uart0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700129 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530130};
131
132&mcu_cpsw {
133 reg = <0x0 0x46000000 0x0 0x200000>,
134 <0x0 0x40f00200 0x0 0x8>;
135 reg-names = "cpsw_nuss", "mac_efuse";
136 /delete-property/ ranges;
137
138 cpsw-phy-sel@40f04040 {
139 compatible = "ti,am654-cpsw-phy-sel";
140 reg= <0x0 0x40f04040 0x0 0x4>;
141 reg-names = "gmii-sel";
142 };
143};
144
145&main_sdhci0 {
Simon Glass8c103c32023-02-13 08:56:33 -0700146 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530147};
148
149&main_sdhci1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700150 bootph-pre-ram;
Aswath Govindrajua9d8cf22022-01-25 20:56:42 +0530151};