Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 1 | // 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 Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 20 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 21 | }; |
22 | }; | ||||
23 | |||||
24 | &cbass_main { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 25 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 26 | |
27 | timer@2400000 { | ||||
28 | clock-frequency = <25000000>; | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 29 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 30 | }; |
31 | }; | ||||
32 | |||||
33 | &cbass_mcu { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 34 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 35 | }; |
36 | |||||
37 | &cbass_wakeup { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 38 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 39 | }; |
40 | |||||
41 | &chipid { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 42 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 43 | }; |
44 | |||||
45 | &cpsw3g { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 46 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 47 | }; |
48 | |||||
49 | &cpsw3g_phy0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 50 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 51 | }; |
52 | |||||
53 | &cpsw3g_phy1 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 54 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 55 | }; |
56 | |||||
57 | &cpsw_port1 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 58 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 59 | }; |
60 | |||||
61 | &cpsw_port2 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 62 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 63 | }; |
64 | |||||
65 | /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ | ||||
66 | &cpsw3g_mdio { | ||||
67 | /delete-property/ assigned-clocks; | ||||
68 | /delete-property/ assigned-clock-parents; | ||||
69 | /delete-property/ assigned-clock-rates; | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 70 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 71 | }; |
72 | |||||
73 | &dmsc { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 74 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 75 | |
76 | k3_sysreset: sysreset-controller { | ||||
77 | compatible = "ti,sci-sysreset"; | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 78 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 79 | }; |
80 | }; | ||||
81 | |||||
82 | &dmss { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 83 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 84 | }; |
85 | |||||
86 | &fss { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 87 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 88 | }; |
89 | |||||
90 | &k3_clks { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 91 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 92 | }; |
93 | |||||
94 | &k3_pds { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 95 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 96 | }; |
97 | |||||
98 | &k3_reset { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 99 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 100 | }; |
101 | |||||
102 | &main_gpio0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 103 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 104 | }; |
105 | |||||
106 | /* On-module I2C - PMIC_I2C */ | ||||
107 | &main_i2c0 { | ||||
108 | eeprom_module: eeprom@50 { | ||||
109 | compatible = "i2c-eeprom"; | ||||
110 | pagesize = <16>; | ||||
111 | reg = <0x50>; | ||||
112 | }; | ||||
113 | }; | ||||
114 | |||||
115 | /* Verdin I2C_1 */ | ||||
116 | &main_i2c1 { | ||||
117 | /* EEPROM on display adapter (MIPI DSI Display Adapter) */ | ||||
118 | eeprom_display_adapter: eeprom@50 { | ||||
119 | compatible = "i2c-eeprom"; | ||||
120 | reg = <0x50>; | ||||
121 | pagesize = <16>; | ||||
122 | }; | ||||
123 | |||||
124 | /* EEPROM on carrier board */ | ||||
125 | eeprom_carrier_board: eeprom@57 { | ||||
126 | compatible = "i2c-eeprom"; | ||||
127 | reg = <0x57>; | ||||
128 | pagesize = <16>; | ||||
129 | }; | ||||
130 | }; | ||||
131 | |||||
132 | &main_pmx0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 133 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 134 | }; |
135 | |||||
136 | /* Verdin UART_3, used as the Linux console */ | ||||
137 | &main_uart0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 138 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 139 | }; |
140 | |||||
141 | /* Verdin UART_1 */ | ||||
142 | &main_uart1 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 143 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 144 | }; |
145 | |||||
146 | &mcu_pmx0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 147 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 148 | }; |
149 | |||||
150 | &pinctrl_ctrl_sleep_moci { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 151 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 152 | }; |
153 | |||||
154 | &pinctrl_i2c0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 155 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 156 | }; |
157 | |||||
158 | &pinctrl_i2c1 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 159 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 160 | }; |
161 | |||||
162 | &pinctrl_sdhci0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 163 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 164 | }; |
165 | |||||
166 | &pinctrl_uart0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 167 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 168 | }; |
169 | |||||
170 | &pinctrl_uart1 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 171 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 172 | }; |
173 | |||||
174 | &pinctrl_wkup_uart0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 175 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 176 | }; |
177 | |||||
178 | &sdhci0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 179 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 180 | }; |
181 | |||||
182 | &sdhci2 { | ||||
183 | status = "disabled"; | ||||
184 | }; | ||||
185 | |||||
186 | &secure_proxy_main { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 187 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 188 | }; |
189 | |||||
190 | &verdin_ctrl_sleep_moci { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 191 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 192 | }; |
193 | |||||
194 | &wkup_conf { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 195 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 196 | }; |
197 | |||||
198 | /* Verdin UART_2 */ | ||||
199 | &wkup_uart0 { | ||||
Marcel Ziswiler | ddaf8ab | 2023-10-10 13:13:04 +0200 | [diff] [blame] | 200 | bootph-all; |
Marcel Ziswiler | 315deb3 | 2023-08-04 12:08:08 +0200 | [diff] [blame] | 201 | }; |