1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for AM6 SoC Family Main Domain peripherals
5 * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
7 #include <dt-bindings/phy/phy-am654-serdes.h>
10 msmc_ram: sram@70000000 {
11 compatible = "mmio-sram";
12 reg = <0x0 0x70000000 0x0 0x200000>;
15 ranges = <0x0 0x0 0x70000000 0x200000>;
22 reg = <0xf0000 0x10000>;
26 reg = <0x100000 0x100000>;
30 gic500: interrupt-controller@1800000 {
31 compatible = "arm,gic-v3";
35 #interrupt-cells = <3>;
37 reg = <0x00 0x01800000 0x00 0x10000>, /* GICD */
38 <0x00 0x01880000 0x00 0x90000>; /* GICR */
41 * virtual CPU interface maintenance interrupt
43 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
45 gic_its: msi-controller@1820000 {
46 compatible = "arm,gic-v3-its";
47 reg = <0x00 0x01820000 0x00 0x10000>;
48 socionext,synquacer-pre-its = <0x1000000 0x400000>;
54 serdes0: serdes@900000 {
55 compatible = "ti,phy-am654-serdes";
56 reg = <0x0 0x900000 0x0 0x2000>;
59 power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>;
60 clocks = <&k3_clks 153 4>, <&k3_clks 153 1>, <&serdes1 AM654_SERDES_LO_REFCLK>;
61 clock-output-names = "serdes0_cmu_refclk", "serdes0_lo_refclk", "serdes0_ro_refclk";
62 assigned-clocks = <&k3_clks 153 4>, <&serdes0 AM654_SERDES_CMU_REFCLK>;
63 assigned-clock-parents = <&k3_clks 153 8>, <&k3_clks 153 4>;
64 ti,serdes-clk = <&serdes0_clk>;
66 mux-controls = <&serdes_mux 0>;
69 serdes1: serdes@910000 {
70 compatible = "ti,phy-am654-serdes";
71 reg = <0x0 0x910000 0x0 0x2000>;
74 power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
75 clocks = <&serdes0 AM654_SERDES_RO_REFCLK>, <&k3_clks 154 1>, <&k3_clks 154 5>;
76 clock-output-names = "serdes1_cmu_refclk", "serdes1_lo_refclk", "serdes1_ro_refclk";
77 assigned-clocks = <&k3_clks 154 5>, <&serdes1 AM654_SERDES_CMU_REFCLK>;
78 assigned-clock-parents = <&k3_clks 154 9>, <&k3_clks 154 5>;
79 ti,serdes-clk = <&serdes1_clk>;
81 mux-controls = <&serdes_mux 1>;
84 main_uart0: serial@2800000 {
85 compatible = "ti,am654-uart";
86 reg = <0x00 0x02800000 0x00 0x100>;
89 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
90 clock-frequency = <48000000>;
91 current-speed = <115200>;
92 power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
95 main_uart1: serial@2810000 {
96 compatible = "ti,am654-uart";
97 reg = <0x00 0x02810000 0x00 0x100>;
100 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
101 clock-frequency = <48000000>;
102 power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
105 main_uart2: serial@2820000 {
106 compatible = "ti,am654-uart";
107 reg = <0x00 0x02820000 0x00 0x100>;
110 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
111 clock-frequency = <48000000>;
112 power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;
115 crypto: crypto@4e00000 {
116 compatible = "ti,am654-sa2ul";
117 reg = <0x0 0x4e00000 0x0 0x1200>;
118 power-domains = <&k3_pds 136 TI_SCI_PD_EXCLUSIVE>;
119 #address-cells = <2>;
121 ranges = <0x0 0x04e00000 0x00 0x04e00000 0x0 0x30000>;
124 dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
125 <&main_udmap 0x4001>;
126 dma-names = "tx", "rx1", "rx2";
130 compatible = "inside-secure,safexcel-eip76";
131 reg = <0x0 0x4e10000 0x0 0x7d>;
132 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
133 clocks = <&k3_clks 136 1>;
137 main_pmx0: pinmux@11c000 {
138 compatible = "pinctrl-single";
139 reg = <0x0 0x11c000 0x0 0x2e4>;
140 #pinctrl-cells = <1>;
141 pinctrl-single,register-width = <32>;
142 pinctrl-single,function-mask = <0xffffffff>;
145 main_pmx1: pinmux@11c2e8 {
146 compatible = "pinctrl-single";
147 reg = <0x0 0x11c2e8 0x0 0x24>;
148 #pinctrl-cells = <1>;
149 pinctrl-single,register-width = <32>;
150 pinctrl-single,function-mask = <0xffffffff>;
153 main_i2c0: i2c@2000000 {
154 compatible = "ti,am654-i2c", "ti,omap4-i2c";
155 reg = <0x0 0x2000000 0x0 0x100>;
156 interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
157 #address-cells = <1>;
160 clocks = <&k3_clks 110 1>;
161 power-domains = <&k3_pds 110 TI_SCI_PD_EXCLUSIVE>;
164 main_i2c1: i2c@2010000 {
165 compatible = "ti,am654-i2c", "ti,omap4-i2c";
166 reg = <0x0 0x2010000 0x0 0x100>;
167 interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
168 #address-cells = <1>;
171 clocks = <&k3_clks 111 1>;
172 power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>;
175 main_i2c2: i2c@2020000 {
176 compatible = "ti,am654-i2c", "ti,omap4-i2c";
177 reg = <0x0 0x2020000 0x0 0x100>;
178 interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
179 #address-cells = <1>;
182 clocks = <&k3_clks 112 1>;
183 power-domains = <&k3_pds 112 TI_SCI_PD_EXCLUSIVE>;
186 main_i2c3: i2c@2030000 {
187 compatible = "ti,am654-i2c", "ti,omap4-i2c";
188 reg = <0x0 0x2030000 0x0 0x100>;
189 interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
190 #address-cells = <1>;
193 clocks = <&k3_clks 113 1>;
194 power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
198 compatible = "ti,am654-ecap", "ti,am3352-ecap";
200 reg = <0x0 0x03100000 0x0 0x60>;
201 power-domains = <&k3_pds 39 TI_SCI_PD_EXCLUSIVE>;
202 clocks = <&k3_clks 39 0>;
206 main_spi0: spi@2100000 {
207 compatible = "ti,am654-mcspi","ti,omap4-mcspi";
208 reg = <0x0 0x2100000 0x0 0x400>;
209 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
210 clocks = <&k3_clks 137 1>;
211 power-domains = <&k3_pds 137 TI_SCI_PD_EXCLUSIVE>;
212 #address-cells = <1>;
214 dmas = <&main_udmap 0xc500>, <&main_udmap 0x4500>;
215 dma-names = "tx0", "rx0";
218 main_spi1: spi@2110000 {
219 compatible = "ti,am654-mcspi","ti,omap4-mcspi";
220 reg = <0x0 0x2110000 0x0 0x400>;
221 interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
222 clocks = <&k3_clks 138 1>;
223 power-domains = <&k3_pds 138 TI_SCI_PD_EXCLUSIVE>;
224 #address-cells = <1>;
226 assigned-clocks = <&k3_clks 137 1>;
227 assigned-clock-rates = <48000000>;
230 main_spi2: spi@2120000 {
231 compatible = "ti,am654-mcspi","ti,omap4-mcspi";
232 reg = <0x0 0x2120000 0x0 0x400>;
233 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
234 clocks = <&k3_clks 139 1>;
235 power-domains = <&k3_pds 139 TI_SCI_PD_EXCLUSIVE>;
236 #address-cells = <1>;
240 main_spi3: spi@2130000 {
241 compatible = "ti,am654-mcspi","ti,omap4-mcspi";
242 reg = <0x0 0x2130000 0x0 0x400>;
243 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
244 clocks = <&k3_clks 140 1>;
245 power-domains = <&k3_pds 140 TI_SCI_PD_EXCLUSIVE>;
246 #address-cells = <1>;
250 main_spi4: spi@2140000 {
251 compatible = "ti,am654-mcspi","ti,omap4-mcspi";
252 reg = <0x0 0x2140000 0x0 0x400>;
253 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
254 clocks = <&k3_clks 141 1>;
255 power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
256 #address-cells = <1>;
260 sdhci0: sdhci@4f80000 {
261 compatible = "ti,am654-sdhci-5.1";
262 reg = <0x0 0x4f80000 0x0 0x260>, <0x0 0x4f90000 0x0 0x134>;
263 power-domains = <&k3_pds 47 TI_SCI_PD_EXCLUSIVE>;
264 clocks = <&k3_clks 47 0>, <&k3_clks 47 1>;
265 clock-names = "clk_ahb", "clk_xin";
266 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
269 ti,otap-del-sel-legacy = <0x0>;
270 ti,otap-del-sel-mmc-hs = <0x0>;
271 ti,otap-del-sel-sd-hs = <0x0>;
272 ti,otap-del-sel-sdr12 = <0x0>;
273 ti,otap-del-sel-sdr25 = <0x0>;
274 ti,otap-del-sel-sdr50 = <0x8>;
275 ti,otap-del-sel-sdr104 = <0x7>;
276 ti,otap-del-sel-ddr50 = <0x5>;
277 ti,otap-del-sel-ddr52 = <0x5>;
278 ti,otap-del-sel-hs200 = <0x5>;
279 ti,otap-del-sel-hs400 = <0x0>;
284 sdhci1: sdhci@4fa0000 {
285 compatible = "ti,am654-sdhci-5.1";
286 reg = <0x0 0x4fa0000 0x0 0x260>, <0x0 0x4fb0000 0x0 0x134>;
287 power-domains = <&k3_pds 48 TI_SCI_PD_EXCLUSIVE>;
288 clocks = <&k3_clks 48 0>, <&k3_clks 48 1>;
289 clock-names = "clk_ahb", "clk_xin";
290 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
291 ti,otap-del-sel-legacy = <0x0>;
292 ti,otap-del-sel-mmc-hs = <0x0>;
293 ti,otap-del-sel-sd-hs = <0x0>;
294 ti,otap-del-sel-sdr12 = <0x0>;
295 ti,otap-del-sel-sdr25 = <0x0>;
296 ti,otap-del-sel-sdr50 = <0x8>;
297 ti,otap-del-sel-sdr104 = <0x7>;
298 ti,otap-del-sel-ddr50 = <0x4>;
299 ti,otap-del-sel-ddr52 = <0x4>;
300 ti,otap-del-sel-hs200 = <0x7>;
301 ti,clkbuf-sel = <0x7>;
302 ti,otap-del-sel = <0x2>;
308 scm_conf: scm_conf@100000 {
309 compatible = "syscon", "simple-mfd";
310 reg = <0 0x00100000 0 0x1c000>;
311 #address-cells = <1>;
313 ranges = <0x0 0x0 0x00100000 0x1c000>;
315 pcie0_mode: pcie-mode@4060 {
316 compatible = "syscon";
317 reg = <0x00004060 0x4>;
320 pcie1_mode: pcie-mode@4070 {
321 compatible = "syscon";
322 reg = <0x00004070 0x4>;
325 pcie_devid: pcie-devid@210 {
326 compatible = "syscon";
327 reg = <0x00000210 0x4>;
330 serdes0_clk: serdes_clk@4080 {
331 compatible = "syscon";
332 reg = <0x00004080 0x4>;
335 serdes1_clk: serdes_clk@4090 {
336 compatible = "syscon";
337 reg = <0x00004090 0x4>;
340 serdes_mux: mux-controller {
341 compatible = "mmio-mux";
342 #mux-control-cells = <1>;
343 mux-reg-masks = <0x4080 0x3>, /* SERDES0 lane select */
344 <0x4090 0x3>; /* SERDES1 lane select */
347 dss_oldi_io_ctrl: dss_oldi_io_ctrl@41e0 {
348 compatible = "syscon";
349 reg = <0x0000041e0 0x14>;
352 ehrpwm_tbclk: syscon@4140 {
353 compatible = "ti,am654-ehrpwm-tbclk", "syscon";
359 dwc3_0: dwc3@4000000 {
360 compatible = "ti,am654-dwc3";
361 reg = <0x0 0x4000000 0x0 0x4000>;
362 #address-cells = <1>;
364 ranges = <0x0 0x0 0x4000000 0x20000>;
365 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
367 power-domains = <&k3_pds 151 TI_SCI_PD_EXCLUSIVE>;
368 clocks = <&k3_clks 151 2>, <&k3_clks 151 7>;
369 assigned-clocks = <&k3_clks 151 2>, <&k3_clks 151 7>;
370 assigned-clock-parents = <&k3_clks 151 4>, /* set REF_CLK to 20MHz i.e. PER0_PLL/48 */
371 <&k3_clks 151 9>; /* set PIPE3_TXB_CLK to CLK_12M_RC/256 (for HS only) */
374 compatible = "snps,dwc3";
375 reg = <0x10000 0x10000>;
376 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
377 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
378 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
379 interrupt-names = "peripheral",
382 maximum-speed = "high-speed";
385 phy-names = "usb2-phy";
386 snps,dis_u3_susphy_quirk;
390 usb0_phy: phy@4100000 {
391 compatible = "ti,am654-usb2", "ti,omap-usb2";
392 reg = <0x0 0x4100000 0x0 0x54>;
393 syscon-phy-power = <&scm_conf 0x4000>;
394 clocks = <&k3_clks 151 0>, <&k3_clks 151 1>;
395 clock-names = "wkupclk", "refclk";
399 dwc3_1: dwc3@4020000 {
400 compatible = "ti,am654-dwc3";
401 reg = <0x0 0x4020000 0x0 0x4000>;
402 #address-cells = <1>;
404 ranges = <0x0 0x0 0x4020000 0x20000>;
405 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
407 power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
408 clocks = <&k3_clks 152 2>;
409 assigned-clocks = <&k3_clks 152 2>;
410 assigned-clock-parents = <&k3_clks 152 4>; /* set REF_CLK to 20MHz i.e. PER0_PLL/48 */
413 compatible = "snps,dwc3";
414 reg = <0x10000 0x10000>;
415 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
416 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
417 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
418 interrupt-names = "peripheral",
421 maximum-speed = "high-speed";
424 phy-names = "usb2-phy";
428 usb1_phy: phy@4110000 {
429 compatible = "ti,am654-usb2", "ti,omap-usb2";
430 reg = <0x0 0x4110000 0x0 0x54>;
431 syscon-phy-power = <&scm_conf 0x4020>;
432 clocks = <&k3_clks 152 0>, <&k3_clks 152 1>;
433 clock-names = "wkupclk", "refclk";
437 intr_main_gpio: interrupt-controller0 {
438 compatible = "ti,sci-intr";
439 ti,intr-trigger-type = <1>;
440 interrupt-controller;
441 interrupt-parent = <&gic500>;
442 #interrupt-cells = <1>;
444 ti,sci-dev-id = <100>;
445 ti,interrupt-ranges = <0 392 32>;
449 compatible = "simple-mfd";
450 #address-cells = <2>;
456 ti,sci-dev-id = <118>;
458 intr_main_navss: interrupt-controller1 {
459 compatible = "ti,sci-intr";
460 ti,intr-trigger-type = <4>;
461 interrupt-controller;
462 interrupt-parent = <&gic500>;
463 #interrupt-cells = <1>;
465 ti,sci-dev-id = <182>;
466 ti,interrupt-ranges = <0 64 64>,
470 inta_main_udmass: interrupt-controller@33d00000 {
471 compatible = "ti,sci-inta";
472 reg = <0x0 0x33d00000 0x0 0x100000>;
473 interrupt-controller;
474 interrupt-parent = <&intr_main_navss>;
477 ti,sci-dev-id = <179>;
478 ti,interrupt-ranges = <0 0 256>;
481 secure_proxy_main: mailbox@32c00000 {
482 compatible = "ti,am654-secure-proxy";
484 reg-names = "target_data", "rt", "scfg";
485 reg = <0x00 0x32c00000 0x00 0x100000>,
486 <0x00 0x32400000 0x00 0x100000>,
487 <0x00 0x32800000 0x00 0x100000>;
488 interrupt-names = "rx_011";
489 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
492 hwspinlock: spinlock@30e00000 {
493 compatible = "ti,am654-hwspinlock";
494 reg = <0x00 0x30e00000 0x00 0x1000>;
498 mailbox0_cluster0: mailbox@31f80000 {
499 compatible = "ti,am654-mailbox";
500 reg = <0x00 0x31f80000 0x00 0x200>;
502 ti,mbox-num-users = <4>;
503 ti,mbox-num-fifos = <16>;
504 interrupt-parent = <&intr_main_navss>;
507 mailbox0_cluster1: mailbox@31f81000 {
508 compatible = "ti,am654-mailbox";
509 reg = <0x00 0x31f81000 0x00 0x200>;
511 ti,mbox-num-users = <4>;
512 ti,mbox-num-fifos = <16>;
513 interrupt-parent = <&intr_main_navss>;
516 mailbox0_cluster2: mailbox@31f82000 {
517 compatible = "ti,am654-mailbox";
518 reg = <0x00 0x31f82000 0x00 0x200>;
520 ti,mbox-num-users = <4>;
521 ti,mbox-num-fifos = <16>;
522 interrupt-parent = <&intr_main_navss>;
525 mailbox0_cluster3: mailbox@31f83000 {
526 compatible = "ti,am654-mailbox";
527 reg = <0x00 0x31f83000 0x00 0x200>;
529 ti,mbox-num-users = <4>;
530 ti,mbox-num-fifos = <16>;
531 interrupt-parent = <&intr_main_navss>;
534 mailbox0_cluster4: mailbox@31f84000 {
535 compatible = "ti,am654-mailbox";
536 reg = <0x00 0x31f84000 0x00 0x200>;
538 ti,mbox-num-users = <4>;
539 ti,mbox-num-fifos = <16>;
540 interrupt-parent = <&intr_main_navss>;
543 mailbox0_cluster5: mailbox@31f85000 {
544 compatible = "ti,am654-mailbox";
545 reg = <0x00 0x31f85000 0x00 0x200>;
547 ti,mbox-num-users = <4>;
548 ti,mbox-num-fifos = <16>;
549 interrupt-parent = <&intr_main_navss>;
552 mailbox0_cluster6: mailbox@31f86000 {
553 compatible = "ti,am654-mailbox";
554 reg = <0x00 0x31f86000 0x00 0x200>;
556 ti,mbox-num-users = <4>;
557 ti,mbox-num-fifos = <16>;
558 interrupt-parent = <&intr_main_navss>;
561 mailbox0_cluster7: mailbox@31f87000 {
562 compatible = "ti,am654-mailbox";
563 reg = <0x00 0x31f87000 0x00 0x200>;
565 ti,mbox-num-users = <4>;
566 ti,mbox-num-fifos = <16>;
567 interrupt-parent = <&intr_main_navss>;
570 mailbox0_cluster8: mailbox@31f88000 {
571 compatible = "ti,am654-mailbox";
572 reg = <0x00 0x31f88000 0x00 0x200>;
574 ti,mbox-num-users = <4>;
575 ti,mbox-num-fifos = <16>;
576 interrupt-parent = <&intr_main_navss>;
579 mailbox0_cluster9: mailbox@31f89000 {
580 compatible = "ti,am654-mailbox";
581 reg = <0x00 0x31f89000 0x00 0x200>;
583 ti,mbox-num-users = <4>;
584 ti,mbox-num-fifos = <16>;
585 interrupt-parent = <&intr_main_navss>;
588 mailbox0_cluster10: mailbox@31f8a000 {
589 compatible = "ti,am654-mailbox";
590 reg = <0x00 0x31f8a000 0x00 0x200>;
592 ti,mbox-num-users = <4>;
593 ti,mbox-num-fifos = <16>;
594 interrupt-parent = <&intr_main_navss>;
597 mailbox0_cluster11: mailbox@31f8b000 {
598 compatible = "ti,am654-mailbox";
599 reg = <0x00 0x31f8b000 0x00 0x200>;
601 ti,mbox-num-users = <4>;
602 ti,mbox-num-fifos = <16>;
603 interrupt-parent = <&intr_main_navss>;
606 ringacc: ringacc@3c000000 {
607 compatible = "ti,am654-navss-ringacc";
608 reg = <0x0 0x3c000000 0x0 0x400000>,
609 <0x0 0x38000000 0x0 0x400000>,
610 <0x0 0x31120000 0x0 0x100>,
611 <0x0 0x33000000 0x0 0x40000>;
612 reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
613 ti,num-rings = <818>;
614 ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
615 ti,dma-ring-reset-quirk;
617 ti,sci-dev-id = <187>;
618 msi-parent = <&inta_main_udmass>;
621 main_udmap: dma-controller@31150000 {
622 compatible = "ti,am654-navss-main-udmap";
623 reg = <0x0 0x31150000 0x0 0x100>,
624 <0x0 0x34000000 0x0 0x100000>,
625 <0x0 0x35000000 0x0 0x100000>;
626 reg-names = "gcfg", "rchanrt", "tchanrt";
627 msi-parent = <&inta_main_udmass>;
631 ti,sci-dev-id = <188>;
632 ti,ringacc = <&ringacc>;
634 ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */
636 ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
638 ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */
642 compatible = "ti,am65-cpts";
643 reg = <0x0 0x310d0000 0x0 0x400>;
645 clocks = <&main_cpts_mux>;
646 clock-names = "cpts";
647 interrupts-extended = <&intr_main_navss 391>;
648 interrupt-names = "cpts";
649 ti,cpts-periodic-outputs = <6>;
650 ti,cpts-ext-ts-inputs = <8>;
652 main_cpts_mux: refclk-mux {
654 clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
655 <&k3_clks 118 6>, <&k3_clks 118 3>,
656 <&k3_clks 118 8>, <&k3_clks 118 14>,
657 <&k3_clks 120 3>, <&k3_clks 121 3>;
658 assigned-clocks = <&main_cpts_mux>;
659 assigned-clock-parents = <&k3_clks 118 5>;
664 main_gpio0: main_gpio0@600000 {
665 compatible = "ti,am654-gpio", "ti,keystone-gpio";
666 reg = <0x0 0x600000 0x0 0x100>;
669 interrupt-parent = <&intr_main_gpio>;
670 interrupts = <192>, <193>, <194>, <195>, <196>, <197>;
671 interrupt-controller;
672 #interrupt-cells = <2>;
674 ti,davinci-gpio-unbanked = <0>;
675 clocks = <&k3_clks 57 0>;
676 clock-names = "gpio";
679 main_gpio1: main_gpio1@601000 {
680 compatible = "ti,am654-gpio", "ti,keystone-gpio";
681 reg = <0x0 0x601000 0x0 0x100>;
684 interrupt-parent = <&intr_main_gpio>;
685 interrupts = <200>, <201>, <202>, <203>, <204>, <205>;
686 interrupt-controller;
687 #interrupt-cells = <2>;
689 ti,davinci-gpio-unbanked = <0>;
690 clocks = <&k3_clks 58 0>;
691 clock-names = "gpio";
694 pcie0_rc: pcie@5500000 {
695 compatible = "ti,am654-pcie-rc";
696 reg = <0x0 0x5500000 0x0 0x1000>, <0x0 0x5501000 0x0 0x1000>, <0x0 0x10000000 0x0 0x2000>, <0x0 0x5506000 0x0 0x1000>;
697 reg-names = "app", "dbics", "config", "atu";
698 power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
699 #address-cells = <3>;
701 ranges = <0x81000000 0 0 0x0 0x10020000 0 0x00010000
702 0x82000000 0 0x10030000 0x0 0x10030000 0 0x07FD0000>;
703 ti,syscon-pcie-id = <&pcie_devid>;
704 ti,syscon-pcie-mode = <&pcie0_mode>;
705 bus-range = <0x0 0xff>;
707 max-link-speed = <2>;
709 interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
710 msi-map = <0x0 &gic_its 0x0 0x10000>;
713 pcie0_ep: pcie-ep@5500000 {
714 compatible = "ti,am654-pcie-ep";
715 reg = <0x0 0x5500000 0x0 0x1000>, <0x0 0x5501000 0x0 0x1000>, <0x0 0x10000000 0x0 0x8000000>, <0x0 0x5506000 0x0 0x1000>;
716 reg-names = "app", "dbics", "addr_space", "atu";
717 power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
718 ti,syscon-pcie-mode = <&pcie0_mode>;
719 num-ib-windows = <16>;
720 num-ob-windows = <16>;
721 max-link-speed = <2>;
723 interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
726 pcie1_rc: pcie@5600000 {
727 compatible = "ti,am654-pcie-rc";
728 reg = <0x0 0x5600000 0x0 0x1000>, <0x0 0x5601000 0x0 0x1000>, <0x0 0x18000000 0x0 0x2000>, <0x0 0x5606000 0x0 0x1000>;
729 reg-names = "app", "dbics", "config", "atu";
730 power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>;
731 #address-cells = <3>;
733 ranges = <0x81000000 0 0 0x0 0x18020000 0 0x00010000
734 0x82000000 0 0x18030000 0x0 0x18030000 0 0x07FD0000>;
735 ti,syscon-pcie-id = <&pcie_devid>;
736 ti,syscon-pcie-mode = <&pcie1_mode>;
737 bus-range = <0x0 0xff>;
739 max-link-speed = <2>;
741 interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
742 msi-map = <0x0 &gic_its 0x10000 0x10000>;
745 pcie1_ep: pcie-ep@5600000 {
746 compatible = "ti,am654-pcie-ep";
747 reg = <0x0 0x5600000 0x0 0x1000>, <0x0 0x5601000 0x0 0x1000>, <0x0 0x18000000 0x0 0x4000000>, <0x0 0x5606000 0x0 0x1000>;
748 reg-names = "app", "dbics", "addr_space", "atu";
749 power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>;
750 ti,syscon-pcie-mode = <&pcie1_mode>;
751 num-ib-windows = <16>;
752 num-ob-windows = <16>;
753 max-link-speed = <2>;
755 interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
758 mcasp0: mcasp@2b00000 {
759 compatible = "ti,am33xx-mcasp-audio";
760 reg = <0x0 0x02b00000 0x0 0x2000>,
761 <0x0 0x02b08000 0x0 0x1000>;
762 reg-names = "mpu","dat";
763 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
764 <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
765 interrupt-names = "tx", "rx";
767 dmas = <&main_udmap 0xc400>, <&main_udmap 0x4400>;
768 dma-names = "tx", "rx";
770 clocks = <&k3_clks 104 0>;
772 power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
777 mcasp1: mcasp@2b10000 {
778 compatible = "ti,am33xx-mcasp-audio";
779 reg = <0x0 0x02b10000 0x0 0x2000>,
780 <0x0 0x02b18000 0x0 0x1000>;
781 reg-names = "mpu","dat";
782 interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
783 <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
784 interrupt-names = "tx", "rx";
786 dmas = <&main_udmap 0xc401>, <&main_udmap 0x4401>;
787 dma-names = "tx", "rx";
789 clocks = <&k3_clks 105 0>;
791 power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
796 mcasp2: mcasp@2b20000 {
797 compatible = "ti,am33xx-mcasp-audio";
798 reg = <0x0 0x02b20000 0x0 0x2000>,
799 <0x0 0x02b28000 0x0 0x1000>;
800 reg-names = "mpu","dat";
801 interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
802 <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
803 interrupt-names = "tx", "rx";
805 dmas = <&main_udmap 0xc402>, <&main_udmap 0x4402>;
806 dma-names = "tx", "rx";
808 clocks = <&k3_clks 106 0>;
810 power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
816 compatible = "ti,am654-cal";
817 reg = <0x0 0x06f03000 0x0 0x400>,
818 <0x0 0x06f03800 0x0 0x40>;
819 reg-names = "cal_top",
821 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
822 ti,camerrx-control = <&scm_conf 0x40c0>;
824 clocks = <&k3_clks 2 0>;
825 power-domains = <&k3_pds 2 TI_SCI_PD_EXCLUSIVE>;
828 #address-cells = <1>;
838 compatible = "ti,am65x-dss";
839 reg = <0x0 0x04a00000 0x0 0x1000>, /* common */
840 <0x0 0x04a02000 0x0 0x1000>, /* vidl1 */
841 <0x0 0x04a06000 0x0 0x1000>, /* vid */
842 <0x0 0x04a07000 0x0 0x1000>, /* ovr1 */
843 <0x0 0x04a08000 0x0 0x1000>, /* ovr2 */
844 <0x0 0x04a0a000 0x0 0x1000>, /* vp1 */
845 <0x0 0x04a0b000 0x0 0x1000>; /* vp2 */
846 reg-names = "common", "vidl1", "vid",
847 "ovr1", "ovr2", "vp1", "vp2";
849 ti,am65x-oldi-io-ctrl = <&dss_oldi_io_ctrl>;
851 power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>;
853 clocks = <&k3_clks 67 1>,
856 clock-names = "fck", "vp1", "vp2";
859 * Set vp2 clk (DPI_1_IN_CLK) mux to PLL4 via
860 * DIV1. See "Figure 12-3365. DSS Integration"
861 * in AM65x TRM for details.
863 assigned-clocks = <&k3_clks 67 2>;
864 assigned-clock-parents = <&k3_clks 67 5>;
866 interrupts = <GIC_SPI 166 IRQ_TYPE_EDGE_RISING>;
871 #address-cells = <1>;
876 ehrpwm0: pwm@3000000 {
877 compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
879 reg = <0x0 0x3000000 0x0 0x100>;
880 power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>;
881 clocks = <&ehrpwm_tbclk 0>, <&k3_clks 40 0>;
882 clock-names = "tbclk", "fck";
885 ehrpwm1: pwm@3010000 {
886 compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
888 reg = <0x0 0x3010000 0x0 0x100>;
889 power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>;
890 clocks = <&ehrpwm_tbclk 1>, <&k3_clks 41 0>;
891 clock-names = "tbclk", "fck";
894 ehrpwm2: pwm@3020000 {
895 compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
897 reg = <0x0 0x3020000 0x0 0x100>;
898 power-domains = <&k3_pds 42 TI_SCI_PD_EXCLUSIVE>;
899 clocks = <&ehrpwm_tbclk 2>, <&k3_clks 42 0>;
900 clock-names = "tbclk", "fck";
903 ehrpwm3: pwm@3030000 {
904 compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
906 reg = <0x0 0x3030000 0x0 0x100>;
907 power-domains = <&k3_pds 43 TI_SCI_PD_EXCLUSIVE>;
908 clocks = <&ehrpwm_tbclk 3>, <&k3_clks 43 0>;
909 clock-names = "tbclk", "fck";
912 ehrpwm4: pwm@3040000 {
913 compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
915 reg = <0x0 0x3040000 0x0 0x100>;
916 power-domains = <&k3_pds 44 TI_SCI_PD_EXCLUSIVE>;
917 clocks = <&ehrpwm_tbclk 4>, <&k3_clks 44 0>;
918 clock-names = "tbclk", "fck";
921 ehrpwm5: pwm@3050000 {
922 compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
924 reg = <0x0 0x3050000 0x0 0x100>;
925 power-domains = <&k3_pds 45 TI_SCI_PD_EXCLUSIVE>;
926 clocks = <&ehrpwm_tbclk 5>, <&k3_clks 45 0>;
927 clock-names = "tbclk", "fck";