blob: b0602d1dad2bca3b5a80df1c57549ee1ff9a9071 [file] [log] [blame]
Lokesh Vutla853f7f52018-08-27 15:59:09 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
4 */
5
Andreas Dannenberg7202af92019-04-29 12:56:44 -05006#include <dt-bindings/pinctrl/k3.h>
Grygorii Strashko6f2929d2019-07-09 10:30:36 +05307#include <dt-bindings/net/ti-dp83867.h>
Lokesh Vutla853f7f52018-08-27 15:59:09 +05308
9/ {
10 chosen {
11 stdout-path = "serial2:115200n8";
12 };
13
14 aliases {
15 serial2 = &main_uart0;
Grygorii Strashko5195c102019-07-09 10:30:35 +053016 ethernet0 = &cpsw_port1;
Aswath Govindraju62be2362020-11-20 21:18:55 +053017 usb0 = &usb0;
18 usb1 = &usb1;
Lokesh Vutlae4978762021-02-01 11:26:39 +053019 spi0 = &ospi0;
20 spi1 = &ospi1;
Lokesh Vutla853f7f52018-08-27 15:59:09 +053021 };
22};
23
24&cbass_main{
25 u-boot,dm-spl;
Lokesh Vutlae4978762021-02-01 11:26:39 +053026 main-navss {
27 u-boot,dm-spl;
28 };
Lokesh Vutla853f7f52018-08-27 15:59:09 +053029};
30
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053031&cbass_mcu {
32 u-boot,dm-spl;
Grygorii Strashko736b6c32019-02-05 17:31:26 +053033
Lokesh Vutlae4978762021-02-01 11:26:39 +053034 mcu-navss {
Vignesh Raghavendra9e9dfc12020-02-04 11:09:51 +053035 u-boot,dm-spl;
Grygorii Strashko736b6c32019-02-05 17:31:26 +053036
Vignesh Raghavendra99faf0d2020-07-07 13:43:35 +053037 ringacc@2b800000 {
Vignesh Raghavendra9e9dfc12020-02-04 11:09:51 +053038 u-boot,dm-spl;
Lokesh Vutlae4978762021-02-01 11:26:39 +053039 ti,dma-ring-reset-quirk;
Grygorii Strashko736b6c32019-02-05 17:31:26 +053040 };
41
Vignesh Raghavendra99faf0d2020-07-07 13:43:35 +053042 dma-controller@285c0000 {
Vignesh Raghavendra9e9dfc12020-02-04 11:09:51 +053043 u-boot,dm-spl;
Grygorii Strashko736b6c32019-02-05 17:31:26 +053044 };
45 };
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053046};
47
48&cbass_wakeup {
49 u-boot,dm-spl;
Lokesh Vutlae4978762021-02-01 11:26:39 +053050
51 chipid@43000014 {
52 u-boot,dm-spl;
53 };
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053054};
55
56&secure_proxy_main {
Lokesh Vutla853f7f52018-08-27 15:59:09 +053057 u-boot,dm-spl;
58};
59
60&dmsc {
61 u-boot,dm-spl;
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053062 k3_sysreset: sysreset-controller {
63 compatible = "ti,sci-sysreset";
64 u-boot,dm-spl;
65 };
Lokesh Vutla853f7f52018-08-27 15:59:09 +053066};
67
68&k3_pds {
69 u-boot,dm-spl;
70};
71
72&k3_clks {
73 u-boot,dm-spl;
74};
75
76&k3_reset {
77 u-boot,dm-spl;
78};
79
Andreas Dannenberg7e0363b2019-06-04 18:08:15 -050080&wkup_pmx0 {
81 u-boot,dm-spl;
82
83 wkup_i2c0_pins_default {
84 u-boot,dm-spl;
85 };
86};
87
Lokesh Vutla853f7f52018-08-27 15:59:09 +053088&main_pmx0 {
89 u-boot,dm-spl;
Faiz Abbasc20aee32020-08-03 11:35:12 +053090 usb0_pins_default: usb0_pins_default {
91 pinctrl-single,pins = <
92 AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) USB0_DRVVBUS */
93 >;
94 u-boot,dm-spl;
95 };
Lokesh Vutla853f7f52018-08-27 15:59:09 +053096};
97
Lokesh Vutlae4978762021-02-01 11:26:39 +053098&main_uart0_pins_default {
99 u-boot,dm-spl;
100};
101
Lokesh Vutla853f7f52018-08-27 15:59:09 +0530102&main_pmx1 {
103 u-boot,dm-spl;
104};
105
Grygorii Strashko6f2929d2019-07-09 10:30:36 +0530106&wkup_pmx0 {
Vignesh Raghavendra9e9dfc12020-02-04 11:09:51 +0530107 mcu-fss0-ospi0-pins-default {
108 u-boot,dm-spl;
109 };
Grygorii Strashko6f2929d2019-07-09 10:30:36 +0530110};
111
Lokesh Vutla853f7f52018-08-27 15:59:09 +0530112&main_uart0 {
113 u-boot,dm-spl;
Lokesh Vutla853f7f52018-08-27 15:59:09 +0530114};
115
Faiz Abbas2121c7e2021-02-04 15:10:56 +0530116&main_mmc0_pins_default {
117 u-boot,dm-spl;
118};
119
120&main_mmc1_pins_default {
121 u-boot,dm-spl;
122};
123
Lokesh Vutla853f7f52018-08-27 15:59:09 +0530124&sdhci0 {
125 u-boot,dm-spl;
Lokesh Vutla853f7f52018-08-27 15:59:09 +0530126};
127
128&sdhci1 {
129 u-boot,dm-spl;
Lokesh Vutla853f7f52018-08-27 15:59:09 +0530130};
Grygorii Strashko6f2929d2019-07-09 10:30:36 +0530131
Grygorii Strashko6f2929d2019-07-09 10:30:36 +0530132&davinci_mdio {
133 phy0: ethernet-phy@0 {
134 reg = <0>;
135 /* TODO: phy reset: TCA9555RTWR(i2c:0x21)[p04].GPIO_MCU_RGMII_RSTN */
136 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
Grygorii Strashko6f2929d2019-07-09 10:30:36 +0530137 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
138 };
139};
140
Grygorii Strashko6f2929d2019-07-09 10:30:36 +0530141&mcu_cpsw {
142 reg = <0x0 0x46000000 0x0 0x200000>,
143 <0x0 0x40f00200 0x0 0x2>;
144 reg-names = "cpsw_nuss", "mac_efuse";
Vignesh Raghavendra3f09ebf2020-07-06 13:36:56 +0530145 /delete-property/ ranges;
Grygorii Strashko6f2929d2019-07-09 10:30:36 +0530146
147 cpsw-phy-sel@40f04040 {
148 compatible = "ti,am654-cpsw-phy-sel";
149 reg= <0x0 0x40f04040 0x0 0x4>;
150 reg-names = "gmii-sel";
151 };
152};
Andreas Dannenberg7e0363b2019-06-04 18:08:15 -0500153
154&wkup_i2c0 {
155 u-boot,dm-spl;
156};
Vignesh Raghavendra60120072019-12-09 10:37:33 +0530157
158&usb1 {
159 dr_mode = "peripheral";
160};
Vignesh Raghavendra9e9dfc12020-02-04 11:09:51 +0530161
162&fss {
163 u-boot,dm-spl;
164};
165
166&ospi0 {
167 u-boot,dm-spl;
168
169 flash@0{
170 u-boot,dm-spl;
171 };
172};
Dave Gerlachbec8b942020-07-15 23:40:00 -0500173
Faiz Abbasc20aee32020-08-03 11:35:12 +0530174&dwc3_0 {
175 status = "okay";
176 u-boot,dm-spl;
177};
178
179&usb0_phy {
180 status = "okay";
181 u-boot,dm-spl;
182};
183
184&usb0 {
185 pinctrl-names = "default";
186 pinctrl-0 = <&usb0_pins_default>;
Aswath Govindrajud3af9e32020-11-20 21:18:54 +0530187 dr_mode = "host";
Faiz Abbasc20aee32020-08-03 11:35:12 +0530188 u-boot,dm-spl;
189};
190
191&scm_conf {
192 u-boot,dm-spl;
193};