blob: 28b697b67ae08ec38fd0a5cdfc80d4f5713c8597 [file] [log] [blame]
Marcel Ziswiler315deb32023-08-04 12:08:08 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2023 Toradex
4 */
5
6#include "k3-am625-verdin-wifi-dev-binman.dtsi"
7
8/ {
9 aliases {
10 eeprom0 = &eeprom_module;
11 eeprom1 = &eeprom_carrier_board;
12 eeprom2 = &eeprom_display_adapter;
13 };
14
15 chosen {
16 tick-timer = &main_timer0;
17 };
18
19 memory@80000000 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +020020 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020021 };
Emanuele Ghidoli26b5cba2024-02-23 10:11:41 +010022
23 sysinfo {
24 compatible = "toradex,sysinfo";
25 };
Marcel Ziswiler315deb32023-08-04 12:08:08 +020026};
27
Nishanth Menon947dc7d2023-11-14 21:28:55 -060028&main_timer0 {
29 clock-frequency = <25000000>;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020030};
31
Roger Quadros74f59242023-10-28 20:36:02 +030032&main_bcdma {
33 reg = <0x00 0x485c0100 0x00 0x100>,
34 <0x00 0x4c000000 0x00 0x20000>,
35 <0x00 0x4a820000 0x00 0x20000>,
36 <0x00 0x4aa40000 0x00 0x20000>,
37 <0x00 0x4bc00000 0x00 0x100000>,
38 <0x00 0x48600000 0x00 0x8000>,
39 <0x00 0x484a4000 0x00 0x2000>,
40 <0x00 0x484c2000 0x00 0x2000>;
41 reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt",
42 "ringrt" , "cfg", "tchan", "rchan";
Roger Quadros88a6b0a2023-11-14 22:28:56 +020043 bootph-all;
Roger Quadros74f59242023-10-28 20:36:02 +030044};
45
46&main_pktdma {
47 reg = <0x00 0x485c0000 0x00 0x100>,
48 <0x00 0x4a800000 0x00 0x20000>,
49 <0x00 0x4aa00000 0x00 0x20000>,
50 <0x00 0x4b800000 0x00 0x200000>,
51 <0x00 0x485e0000 0x00 0x10000>,
52 <0x00 0x484a0000 0x00 0x2000>,
53 <0x00 0x484c0000 0x00 0x2000>,
54 <0x00 0x48430000 0x00 0x1000>;
55 reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt",
56 "cfg", "tchan", "rchan", "rflow";
57 bootph-all;
58};
59
Marcel Ziswiler315deb32023-08-04 12:08:08 +020060&cpsw3g {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +020061 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020062};
63
64&cpsw3g_phy0 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +020065 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020066};
67
68&cpsw3g_phy1 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +020069 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020070};
71
72&cpsw_port1 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +020073 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020074};
75
76&cpsw_port2 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +020077 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020078};
79
80/* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */
81&cpsw3g_mdio {
82 /delete-property/ assigned-clocks;
83 /delete-property/ assigned-clock-parents;
84 /delete-property/ assigned-clock-rates;
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +020085 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020086};
87
88&dmsc {
Marcel Ziswiler315deb32023-08-04 12:08:08 +020089 k3_sysreset: sysreset-controller {
90 compatible = "ti,sci-sysreset";
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +020091 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020092 };
93};
94
Marcel Ziswiler315deb32023-08-04 12:08:08 +020095&fss {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +020096 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +020097};
98
Marcel Ziswiler315deb32023-08-04 12:08:08 +020099&main_gpio0 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200100 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200101};
102
103/* On-module I2C - PMIC_I2C */
104&main_i2c0 {
105 eeprom_module: eeprom@50 {
106 compatible = "i2c-eeprom";
107 pagesize = <16>;
108 reg = <0x50>;
109 };
110};
111
112/* Verdin I2C_1 */
113&main_i2c1 {
114 /* EEPROM on display adapter (MIPI DSI Display Adapter) */
115 eeprom_display_adapter: eeprom@50 {
116 compatible = "i2c-eeprom";
117 reg = <0x50>;
118 pagesize = <16>;
119 };
120
121 /* EEPROM on carrier board */
122 eeprom_carrier_board: eeprom@57 {
123 compatible = "i2c-eeprom";
124 reg = <0x57>;
125 pagesize = <16>;
126 };
127};
128
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200129/* Verdin UART_3, used as the Linux console */
130&main_uart0 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200131 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200132};
133
134/* Verdin UART_1 */
135&main_uart1 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200136 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200137};
138
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200139&pinctrl_ctrl_sleep_moci {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200140 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200141};
142
143&pinctrl_i2c0 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200144 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200145};
146
147&pinctrl_i2c1 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200148 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200149};
150
151&pinctrl_sdhci0 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200152 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200153};
154
155&pinctrl_uart0 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200156 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200157};
158
159&pinctrl_uart1 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200160 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200161};
162
163&pinctrl_wkup_uart0 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200164 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200165};
166
167&sdhci0 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200168 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200169};
170
171&sdhci2 {
172 status = "disabled";
173};
174
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200175&verdin_ctrl_sleep_moci {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200176 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200177};
178
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200179/* Verdin UART_2 */
180&wkup_uart0 {
Marcel Ziswilerddaf8ab2023-10-10 13:13:04 +0200181 bootph-all;
Marcel Ziswiler315deb32023-08-04 12:08:08 +0200182};