blob: 22166c79425d82daf4be30f67fc93bf6dc350636 [file] [log] [blame]
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for J721E SoC Family MCU/WAKEUP Domain peripherals
4 *
Lokesh Vutla70e16742021-02-01 11:26:40 +05305 * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +05306 */
7
8&cbass_mcu_wakeup {
Tom Rinifa09b122021-09-10 17:37:43 -04009 dmsc: system-controller@44083000 {
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +053010 compatible = "ti,k2g-sci";
11 ti,host-id = <12>;
12
13 mbox-names = "rx", "tx";
14
15 mboxes= <&secure_proxy_main 11>,
16 <&secure_proxy_main 13>;
17
18 reg-names = "debug_messages";
19 reg = <0x00 0x44083000 0x0 0x1000>;
20
21 k3_pds: power-controller {
22 compatible = "ti,sci-pm-domain";
23 #power-domain-cells = <2>;
24 };
25
Tom Rinifa09b122021-09-10 17:37:43 -040026 k3_clks: clock-controller {
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +053027 compatible = "ti,k2g-sci-clk";
28 #clock-cells = <2>;
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +053029 };
30
31 k3_reset: reset-controller {
32 compatible = "ti,sci-reset";
33 #reset-cells = <2>;
34 };
35 };
36
Vignesh Raghavendraaeeca072020-07-06 13:36:55 +053037 mcu_conf: syscon@40f00000 {
38 compatible = "syscon", "simple-mfd";
39 reg = <0x0 0x40f00000 0x0 0x20000>;
40 #address-cells = <1>;
41 #size-cells = <1>;
42 ranges = <0x0 0x0 0x40f00000 0x20000>;
43
44 phy_gmii_sel: phy@4040 {
45 compatible = "ti,am654-phy-gmii-sel";
46 reg = <0x4040 0x4>;
47 #phy-cells = <1>;
48 };
49 };
50
Lokesh Vutla70e16742021-02-01 11:26:40 +053051 chipid@43000014 {
52 compatible = "ti,am654-chipid";
53 reg = <0x0 0x43000014 0x0 0x4>;
54 };
55
56 wkup_pmx0: pinctrl@4301c000 {
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +053057 compatible = "pinctrl-single";
58 /* Proxy 0 addressing */
59 reg = <0x00 0x4301c000 0x00 0x178>;
60 #pinctrl-cells = <1>;
61 pinctrl-single,register-width = <32>;
62 pinctrl-single,function-mask = <0xffffffff>;
63 };
64
Lokesh Vutla70e16742021-02-01 11:26:40 +053065 mcu_ram: sram@41c00000 {
66 compatible = "mmio-sram";
67 reg = <0x00 0x41c00000 0x00 0x100000>;
68 ranges = <0x0 0x00 0x41c00000 0x100000>;
69 #address-cells = <1>;
70 #size-cells = <1>;
71 };
72
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +053073 wkup_uart0: serial@42300000 {
74 compatible = "ti,j721e-uart", "ti,am654-uart";
75 reg = <0x00 0x42300000 0x00 0x100>;
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +053076 interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>;
77 clock-frequency = <48000000>;
78 current-speed = <115200>;
79 power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>;
80 clocks = <&k3_clks 287 0>;
81 clock-names = "fclk";
82 };
83
84 mcu_uart0: serial@40a00000 {
85 compatible = "ti,j721e-uart", "ti,am654-uart";
86 reg = <0x00 0x40a00000 0x00 0x100>;
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +053087 interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>;
88 clock-frequency = <96000000>;
89 current-speed = <115200>;
90 power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
91 clocks = <&k3_clks 149 0>;
92 clock-names = "fclk";
93 };
Lokesh Vutlab9f035e2019-09-04 16:01:37 +053094
Tom Rinifa09b122021-09-10 17:37:43 -040095 wkup_gpio_intr: interrupt-controller@42200000 {
Lokesh Vutla70e16742021-02-01 11:26:40 +053096 compatible = "ti,sci-intr";
Tom Rinifa09b122021-09-10 17:37:43 -040097 reg = <0x00 0x42200000 0x00 0x400>;
Lokesh Vutla70e16742021-02-01 11:26:40 +053098 ti,intr-trigger-type = <1>;
99 interrupt-controller;
100 interrupt-parent = <&gic500>;
101 #interrupt-cells = <1>;
102 ti,sci = <&dmsc>;
103 ti,sci-dev-id = <137>;
104 ti,interrupt-ranges = <16 960 16>;
105 };
106
107 wkup_gpio0: gpio@42110000 {
108 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
109 reg = <0x0 0x42110000 0x0 0x100>;
110 gpio-controller;
111 #gpio-cells = <2>;
112 interrupt-parent = <&wkup_gpio_intr>;
113 interrupts = <103>, <104>, <105>, <106>, <107>, <108>;
114 interrupt-controller;
115 #interrupt-cells = <2>;
116 ti,ngpio = <84>;
117 ti,davinci-gpio-unbanked = <0>;
118 power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
119 clocks = <&k3_clks 113 0>;
120 clock-names = "gpio";
121 };
122
123 wkup_gpio1: gpio@42100000 {
124 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
125 reg = <0x0 0x42100000 0x0 0x100>;
126 gpio-controller;
127 #gpio-cells = <2>;
128 interrupt-parent = <&wkup_gpio_intr>;
129 interrupts = <112>, <113>, <114>, <115>, <116>, <117>;
130 interrupt-controller;
131 #interrupt-cells = <2>;
132 ti,ngpio = <84>;
133 ti,davinci-gpio-unbanked = <0>;
134 power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
135 clocks = <&k3_clks 114 0>;
136 clock-names = "gpio";
137 };
138
139 mcu_i2c0: i2c@40b00000 {
140 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
141 reg = <0x0 0x40b00000 0x0 0x100>;
142 interrupts = <GIC_SPI 852 IRQ_TYPE_LEVEL_HIGH>;
Lokesh Vutlab9f035e2019-09-04 16:01:37 +0530143 #address-cells = <1>;
Lokesh Vutla70e16742021-02-01 11:26:40 +0530144 #size-cells = <0>;
145 clock-names = "fck";
146 clocks = <&k3_clks 194 0>;
147 power-domains = <&k3_pds 194 TI_SCI_PD_EXCLUSIVE>;
148 };
Lokesh Vutlab9f035e2019-09-04 16:01:37 +0530149
Lokesh Vutla70e16742021-02-01 11:26:40 +0530150 mcu_i2c1: i2c@40b10000 {
151 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
152 reg = <0x0 0x40b10000 0x0 0x100>;
153 interrupts = <GIC_SPI 853 IRQ_TYPE_LEVEL_HIGH>;
154 #address-cells = <1>;
155 #size-cells = <0>;
156 clock-names = "fck";
157 clocks = <&k3_clks 195 0>;
158 power-domains = <&k3_pds 195 TI_SCI_PD_EXCLUSIVE>;
159 };
Lokesh Vutlab9f035e2019-09-04 16:01:37 +0530160
Lokesh Vutla70e16742021-02-01 11:26:40 +0530161 wkup_i2c0: i2c@42120000 {
162 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
163 reg = <0x0 0x42120000 0x0 0x100>;
164 interrupts = <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>;
165 #address-cells = <1>;
166 #size-cells = <0>;
167 clock-names = "fck";
168 clocks = <&k3_clks 197 0>;
169 power-domains = <&k3_pds 197 TI_SCI_PD_SHARED>;
Lokesh Vutlab9f035e2019-09-04 16:01:37 +0530170 };
Vignesh Raghavendra358032f2019-10-23 13:30:02 +0530171
172 fss: fss@47000000 {
Vaishnav Achath297daac2022-05-09 11:50:09 +0530173 compatible = "syscon", "simple-mfd";
Vignesh Raghavendra358032f2019-10-23 13:30:02 +0530174 reg = <0x0 0x47000000 0x0 0x100>;
175 #address-cells = <2>;
176 #size-cells = <2>;
177 ranges;
178
Vaishnav Achath297daac2022-05-09 11:50:09 +0530179 hbmc_mux: hbmc-mux {
180 compatible = "mmio-mux";
181 #mux-control-cells = <1>;
182 mux-reg-masks = <0x4 0x2>; /* HBMC select */
183 };
184
185 hbmc: hyperbus@47034000 {
186 compatible = "ti,j721e-hbmc", "ti,am654-hbmc";
187 reg = <0x0 0x47034000 0x0 0x100>,
188 <0x5 0x00000000 0x1 0x0000000>;
189 power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
190 #address-cells = <2>;
191 #size-cells = <1>;
192 mux-controls = <&hbmc_mux 0>;
193 assigned-clocks = <&k3_clks 102 0>;
194 assigned-clock-rates = <250000000>;
195 };
196
Vignesh Raghavendra224d7fe2020-02-04 11:09:52 +0530197 ospi0: spi@47040000 {
Tom Rinifa09b122021-09-10 17:37:43 -0400198 compatible = "ti,am654-ospi", "cdns,qspi-nor";
Vignesh Raghavendra224d7fe2020-02-04 11:09:52 +0530199 reg = <0x0 0x47040000 0x0 0x100>,
200 <0x5 0x00000000 0x1 0x0000000>;
201 interrupts = <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>;
202 cdns,fifo-depth = <256>;
203 cdns,fifo-width = <4>;
204 cdns,trigger-address = <0x0>;
205 clocks = <&k3_clks 103 0>;
206 assigned-clocks = <&k3_clks 103 0>;
207 assigned-clock-parents = <&k3_clks 103 2>;
208 assigned-clock-rates = <166666666>;
209 power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
210 #address-cells = <1>;
211 #size-cells = <0>;
212 };
213
214 ospi1: spi@47050000 {
Tom Rinifa09b122021-09-10 17:37:43 -0400215 compatible = "ti,am654-ospi", "cdns,qspi-nor";
Vignesh Raghavendra224d7fe2020-02-04 11:09:52 +0530216 reg = <0x0 0x47050000 0x0 0x100>,
217 <0x7 0x00000000 0x1 0x00000000>;
218 interrupts = <GIC_SPI 841 IRQ_TYPE_LEVEL_HIGH>;
219 cdns,fifo-depth = <256>;
220 cdns,fifo-width = <4>;
221 cdns,trigger-address = <0x0>;
222 clocks = <&k3_clks 104 0>;
223 power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
224 #address-cells = <1>;
225 #size-cells = <0>;
226 };
Vignesh Raghavendra358032f2019-10-23 13:30:02 +0530227 };
Vignesh Raghavendra01ec6a52020-01-27 23:22:13 +0530228
Lokesh Vutla70e16742021-02-01 11:26:40 +0530229 tscadc0: tscadc@40200000 {
230 compatible = "ti,am3359-tscadc";
231 reg = <0x0 0x40200000 0x0 0x1000>;
232 interrupts = <GIC_SPI 860 IRQ_TYPE_LEVEL_HIGH>;
233 power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>;
234 clocks = <&k3_clks 0 1>;
235 assigned-clocks = <&k3_clks 0 3>;
236 assigned-clock-rates = <60000000>;
237 clock-names = "adc_tsc_fck";
238 dmas = <&main_udmap 0x7400>,
239 <&main_udmap 0x7401>;
240 dma-names = "fifo0", "fifo1";
241
242 adc {
243 #io-channel-cells = <1>;
244 compatible = "ti,am3359-adc";
245 };
Vignesh Raghavendra01ec6a52020-01-27 23:22:13 +0530246 };
247
Lokesh Vutla70e16742021-02-01 11:26:40 +0530248 tscadc1: tscadc@40210000 {
249 compatible = "ti,am3359-tscadc";
250 reg = <0x0 0x40210000 0x0 0x1000>;
251 interrupts = <GIC_SPI 861 IRQ_TYPE_LEVEL_HIGH>;
252 power-domains = <&k3_pds 1 TI_SCI_PD_EXCLUSIVE>;
253 clocks = <&k3_clks 1 1>;
254 assigned-clocks = <&k3_clks 1 3>;
255 assigned-clock-rates = <60000000>;
256 clock-names = "adc_tsc_fck";
257 dmas = <&main_udmap 0x7402>,
258 <&main_udmap 0x7403>;
259 dma-names = "fifo0", "fifo1";
260
261 adc {
262 #io-channel-cells = <1>;
263 compatible = "ti,am3359-adc";
264 };
Vignesh Raghavendra01ec6a52020-01-27 23:22:13 +0530265 };
Vignesh Raghavendra99faf0d2020-07-07 13:43:35 +0530266
Tom Rinifa09b122021-09-10 17:37:43 -0400267 mcu_navss: bus@28380000 {
Vignesh Raghavendra99faf0d2020-07-07 13:43:35 +0530268 compatible = "simple-mfd";
269 #address-cells = <2>;
270 #size-cells = <2>;
Tom Rinifa09b122021-09-10 17:37:43 -0400271 ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
Vignesh Raghavendra99faf0d2020-07-07 13:43:35 +0530272 dma-coherent;
273 dma-ranges;
274
275 ti,sci-dev-id = <232>;
276
277 mcu_ringacc: ringacc@2b800000 {
278 compatible = "ti,am654-navss-ringacc";
279 reg = <0x0 0x2b800000 0x0 0x400000>,
280 <0x0 0x2b000000 0x0 0x400000>,
281 <0x0 0x28590000 0x0 0x100>,
282 <0x0 0x2a500000 0x0 0x40000>;
283 reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
284 ti,num-rings = <286>;
285 ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
286 ti,sci = <&dmsc>;
287 ti,sci-dev-id = <235>;
Lokesh Vutla70e16742021-02-01 11:26:40 +0530288 msi-parent = <&main_udmass_inta>;
Vignesh Raghavendra99faf0d2020-07-07 13:43:35 +0530289 };
290
291 mcu_udmap: dma-controller@285c0000 {
292 compatible = "ti,j721e-navss-mcu-udmap";
293 reg = <0x0 0x285c0000 0x0 0x100>,
294 <0x0 0x2a800000 0x0 0x40000>,
295 <0x0 0x2aa00000 0x0 0x40000>;
296 reg-names = "gcfg", "rchanrt", "tchanrt";
Lokesh Vutla70e16742021-02-01 11:26:40 +0530297 msi-parent = <&main_udmass_inta>;
Vignesh Raghavendra99faf0d2020-07-07 13:43:35 +0530298 #dma-cells = <1>;
299
300 ti,sci = <&dmsc>;
301 ti,sci-dev-id = <236>;
302 ti,ringacc = <&mcu_ringacc>;
303
304 ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
305 <0x0f>; /* TX_HCHAN */
306 ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
307 <0x0b>; /* RX_HCHAN */
308 ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
309 };
310 };
Vignesh Raghavendraaeeca072020-07-06 13:36:55 +0530311
312 mcu_cpsw: ethernet@46000000 {
313 compatible = "ti,j721e-cpsw-nuss";
314 #address-cells = <2>;
315 #size-cells = <2>;
316 reg = <0x0 0x46000000 0x0 0x200000>;
317 reg-names = "cpsw_nuss";
318 ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>;
319 dma-coherent;
320 clocks = <&k3_clks 18 22>;
321 clock-names = "fck";
322 power-domains = <&k3_pds 18 TI_SCI_PD_EXCLUSIVE>;
323
324 dmas = <&mcu_udmap 0xf000>,
325 <&mcu_udmap 0xf001>,
326 <&mcu_udmap 0xf002>,
327 <&mcu_udmap 0xf003>,
328 <&mcu_udmap 0xf004>,
329 <&mcu_udmap 0xf005>,
330 <&mcu_udmap 0xf006>,
331 <&mcu_udmap 0xf007>,
332 <&mcu_udmap 0x7000>;
333 dma-names = "tx0", "tx1", "tx2", "tx3",
334 "tx4", "tx5", "tx6", "tx7",
335 "rx";
336
337 ethernet-ports {
338 #address-cells = <1>;
339 #size-cells = <0>;
340
341 cpsw_port1: port@1 {
342 reg = <1>;
343 ti,mac-only;
344 label = "port1";
345 ti,syscon-efuse = <&mcu_conf 0x200>;
346 phys = <&phy_gmii_sel 1>;
347 };
348 };
349
350 davinci_mdio: mdio@f00 {
351 compatible = "ti,cpsw-mdio","ti,davinci_mdio";
352 reg = <0x0 0xf00 0x0 0x100>;
353 #address-cells = <1>;
354 #size-cells = <0>;
355 clocks = <&k3_clks 18 22>;
356 clock-names = "fck";
357 bus_freq = <1000000>;
358 };
359
360 cpts@3d000 {
361 compatible = "ti,am65-cpts";
362 reg = <0x0 0x3d000 0x0 0x400>;
363 clocks = <&k3_clks 18 2>;
364 clock-names = "cpts";
365 interrupts-extended = <&gic500 GIC_SPI 858 IRQ_TYPE_LEVEL_HIGH>;
366 interrupt-names = "cpts";
367 ti,cpts-ext-ts-inputs = <4>;
368 ti,cpts-periodic-outputs = <2>;
369 };
370 };
Dave Gerlache8918bc2020-07-15 23:40:01 -0500371
Lokesh Vutla70e16742021-02-01 11:26:40 +0530372 mcu_r5fss0: r5fss@41000000 {
373 compatible = "ti,j721e-r5fss";
374 ti,cluster-mode = <1>;
375 #address-cells = <1>;
376 #size-cells = <1>;
377 ranges = <0x41000000 0x00 0x41000000 0x20000>,
378 <0x41400000 0x00 0x41400000 0x20000>;
379 power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
380
381 mcu_r5fss0_core0: r5f@41000000 {
382 compatible = "ti,j721e-r5f";
383 reg = <0x41000000 0x00008000>,
384 <0x41010000 0x00008000>;
385 reg-names = "atcm", "btcm";
386 ti,sci = <&dmsc>;
387 ti,sci-dev-id = <250>;
388 ti,sci-proc-ids = <0x01 0xff>;
389 resets = <&k3_reset 250 1>;
390 firmware-name = "j7-mcu-r5f0_0-fw";
391 ti,atcm-enable = <1>;
392 ti,btcm-enable = <1>;
393 ti,loczrama = <1>;
394 };
395
396 mcu_r5fss0_core1: r5f@41400000 {
397 compatible = "ti,j721e-r5f";
398 reg = <0x41400000 0x00008000>,
399 <0x41410000 0x00008000>;
400 reg-names = "atcm", "btcm";
401 ti,sci = <&dmsc>;
402 ti,sci-dev-id = <251>;
403 ti,sci-proc-ids = <0x02 0xff>;
404 resets = <&k3_reset 251 1>;
405 firmware-name = "j7-mcu-r5f0_1-fw";
406 ti,atcm-enable = <1>;
407 ti,btcm-enable = <1>;
408 ti,loczrama = <1>;
409 };
Dave Gerlache8918bc2020-07-15 23:40:01 -0500410 };
Lokesh Vutlaeeb2e8b2019-06-13 10:29:53 +0530411};