xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am62a-main.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
17ef62cebSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
27ef62cebSEmmanuel Vadot/*
37ef62cebSEmmanuel Vadot * Device Tree Source for AM62A SoC Family Main Domain peripherals
47ef62cebSEmmanuel Vadot *
57ef62cebSEmmanuel Vadot * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
67ef62cebSEmmanuel Vadot */
77ef62cebSEmmanuel Vadot
87ef62cebSEmmanuel Vadot&cbass_main {
97ef62cebSEmmanuel Vadot	oc_sram: sram@70000000 {
107ef62cebSEmmanuel Vadot		compatible = "mmio-sram";
117ef62cebSEmmanuel Vadot		reg = <0x00 0x70000000 0x00 0x10000>;
127ef62cebSEmmanuel Vadot		#address-cells = <1>;
137ef62cebSEmmanuel Vadot		#size-cells = <1>;
147ef62cebSEmmanuel Vadot		ranges = <0x0 0x00 0x70000000 0x10000>;
157ef62cebSEmmanuel Vadot	};
167ef62cebSEmmanuel Vadot
177ef62cebSEmmanuel Vadot	gic500: interrupt-controller@1800000 {
187ef62cebSEmmanuel Vadot		compatible = "arm,gic-v3";
197ef62cebSEmmanuel Vadot		reg = <0x00 0x01800000 0x00 0x10000>,	/* GICD */
207ef62cebSEmmanuel Vadot		      <0x00 0x01880000 0x00 0xc0000>,	/* GICR */
217ef62cebSEmmanuel Vadot		      <0x00 0x01880000 0x00 0xc0000>,   /* GICR */
227ef62cebSEmmanuel Vadot		      <0x01 0x00000000 0x00 0x2000>,    /* GICC */
237ef62cebSEmmanuel Vadot		      <0x01 0x00010000 0x00 0x1000>,    /* GICH */
247ef62cebSEmmanuel Vadot		      <0x01 0x00020000 0x00 0x2000>;    /* GICV */
257ef62cebSEmmanuel Vadot		#address-cells = <2>;
267ef62cebSEmmanuel Vadot		#size-cells = <2>;
277ef62cebSEmmanuel Vadot		ranges;
287ef62cebSEmmanuel Vadot		#interrupt-cells = <3>;
297ef62cebSEmmanuel Vadot		interrupt-controller;
307ef62cebSEmmanuel Vadot		/*
317ef62cebSEmmanuel Vadot		 * vcpumntirq:
327ef62cebSEmmanuel Vadot		 * virtual CPU interface maintenance interrupt
337ef62cebSEmmanuel Vadot		 */
347ef62cebSEmmanuel Vadot		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
357ef62cebSEmmanuel Vadot
367ef62cebSEmmanuel Vadot		gic_its: msi-controller@1820000 {
377ef62cebSEmmanuel Vadot			compatible = "arm,gic-v3-its";
387ef62cebSEmmanuel Vadot			reg = <0x00 0x01820000 0x00 0x10000>;
397ef62cebSEmmanuel Vadot			socionext,synquacer-pre-its = <0x1000000 0x400000>;
407ef62cebSEmmanuel Vadot			msi-controller;
417ef62cebSEmmanuel Vadot			#msi-cells = <1>;
427ef62cebSEmmanuel Vadot		};
437ef62cebSEmmanuel Vadot	};
447ef62cebSEmmanuel Vadot
457ef62cebSEmmanuel Vadot	main_conf: syscon@100000 {
467ef62cebSEmmanuel Vadot		compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
477ef62cebSEmmanuel Vadot		reg = <0x00 0x00100000 0x00 0x20000>;
487ef62cebSEmmanuel Vadot		#address-cells = <1>;
497ef62cebSEmmanuel Vadot		#size-cells = <1>;
507ef62cebSEmmanuel Vadot		ranges = <0x00 0x00 0x00100000 0x20000>;
51cb7aa33aSEmmanuel Vadot
52cb7aa33aSEmmanuel Vadot		phy_gmii_sel: phy@4044 {
53cb7aa33aSEmmanuel Vadot			compatible = "ti,am654-phy-gmii-sel";
54cb7aa33aSEmmanuel Vadot			reg = <0x4044 0x8>;
55cb7aa33aSEmmanuel Vadot			#phy-cells = <1>;
56cb7aa33aSEmmanuel Vadot		};
57cb7aa33aSEmmanuel Vadot
58cb7aa33aSEmmanuel Vadot		epwm_tbclk: clock-controller@4130 {
59cb7aa33aSEmmanuel Vadot			compatible = "ti,am62-epwm-tbclk", "syscon";
60cb7aa33aSEmmanuel Vadot			reg = <0x4130 0x4>;
61cb7aa33aSEmmanuel Vadot			#clock-cells = <1>;
62cb7aa33aSEmmanuel Vadot		};
637ef62cebSEmmanuel Vadot	};
647ef62cebSEmmanuel Vadot
657ef62cebSEmmanuel Vadot	dmss: bus@48000000 {
667ef62cebSEmmanuel Vadot		compatible = "simple-bus";
677ef62cebSEmmanuel Vadot		#address-cells = <2>;
687ef62cebSEmmanuel Vadot		#size-cells = <2>;
697ef62cebSEmmanuel Vadot		dma-ranges;
707ef62cebSEmmanuel Vadot		ranges = <0x00 0x48000000 0x00 0x48000000 0x00 0x06000000>;
717ef62cebSEmmanuel Vadot
727ef62cebSEmmanuel Vadot		ti,sci-dev-id = <25>;
737ef62cebSEmmanuel Vadot
747ef62cebSEmmanuel Vadot		secure_proxy_main: mailbox@4d000000 {
757ef62cebSEmmanuel Vadot			compatible = "ti,am654-secure-proxy";
767ef62cebSEmmanuel Vadot			reg = <0x00 0x4d000000 0x00 0x80000>,
777ef62cebSEmmanuel Vadot			      <0x00 0x4a600000 0x00 0x80000>,
787ef62cebSEmmanuel Vadot			      <0x00 0x4a400000 0x00 0x80000>;
797ef62cebSEmmanuel Vadot			reg-names = "target_data", "rt", "scfg";
807ef62cebSEmmanuel Vadot			#mbox-cells = <1>;
817ef62cebSEmmanuel Vadot			interrupt-names = "rx_012";
827ef62cebSEmmanuel Vadot			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
837ef62cebSEmmanuel Vadot		};
84cb7aa33aSEmmanuel Vadot
85cb7aa33aSEmmanuel Vadot		inta_main_dmss: interrupt-controller@48000000 {
86cb7aa33aSEmmanuel Vadot			compatible = "ti,sci-inta";
87cb7aa33aSEmmanuel Vadot			reg = <0x00 0x48000000 0x00 0x100000>;
88cb7aa33aSEmmanuel Vadot			#interrupt-cells = <0>;
89cb7aa33aSEmmanuel Vadot			interrupt-controller;
90cb7aa33aSEmmanuel Vadot			interrupt-parent = <&gic500>;
91cb7aa33aSEmmanuel Vadot			msi-controller;
92cb7aa33aSEmmanuel Vadot			ti,sci = <&dmsc>;
93cb7aa33aSEmmanuel Vadot			ti,sci-dev-id = <28>;
94cb7aa33aSEmmanuel Vadot			ti,interrupt-ranges = <6 70 34>;
95cb7aa33aSEmmanuel Vadot			ti,unmapped-event-sources = <&main_bcdma>, <&main_pktdma>;
96cb7aa33aSEmmanuel Vadot		};
97cb7aa33aSEmmanuel Vadot
98cb7aa33aSEmmanuel Vadot		main_bcdma: dma-controller@485c0100 {
99cb7aa33aSEmmanuel Vadot			compatible = "ti,am64-dmss-bcdma";
100cb7aa33aSEmmanuel Vadot			reg = <0x00 0x485c0100 0x00 0x100>,
101cb7aa33aSEmmanuel Vadot			      <0x00 0x4c000000 0x00 0x20000>,
102cb7aa33aSEmmanuel Vadot			      <0x00 0x4a820000 0x00 0x20000>,
103cb7aa33aSEmmanuel Vadot			      <0x00 0x4aa40000 0x00 0x20000>,
104cb7aa33aSEmmanuel Vadot			      <0x00 0x4bc00000 0x00 0x100000>;
105cb7aa33aSEmmanuel Vadot			reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt";
106cb7aa33aSEmmanuel Vadot			msi-parent = <&inta_main_dmss>;
107cb7aa33aSEmmanuel Vadot			#dma-cells = <3>;
108cb7aa33aSEmmanuel Vadot			ti,sci = <&dmsc>;
109cb7aa33aSEmmanuel Vadot			ti,sci-dev-id = <26>;
110cb7aa33aSEmmanuel Vadot			ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
111cb7aa33aSEmmanuel Vadot			ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
112cb7aa33aSEmmanuel Vadot			ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */
113cb7aa33aSEmmanuel Vadot		};
114cb7aa33aSEmmanuel Vadot
115cb7aa33aSEmmanuel Vadot		main_pktdma: dma-controller@485c0000 {
116cb7aa33aSEmmanuel Vadot			compatible = "ti,am64-dmss-pktdma";
117cb7aa33aSEmmanuel Vadot			reg = <0x00 0x485c0000 0x00 0x100>,
118cb7aa33aSEmmanuel Vadot			      <0x00 0x4a800000 0x00 0x20000>,
119cb7aa33aSEmmanuel Vadot			      <0x00 0x4aa00000 0x00 0x40000>,
120cb7aa33aSEmmanuel Vadot			      <0x00 0x4b800000 0x00 0x400000>;
121cb7aa33aSEmmanuel Vadot			reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt";
122cb7aa33aSEmmanuel Vadot			msi-parent = <&inta_main_dmss>;
123cb7aa33aSEmmanuel Vadot			#dma-cells = <2>;
124cb7aa33aSEmmanuel Vadot			ti,sci = <&dmsc>;
125cb7aa33aSEmmanuel Vadot			ti,sci-dev-id = <30>;
126cb7aa33aSEmmanuel Vadot			ti,sci-rm-range-tchan = <0x23>, /* UNMAPPED_TX_CHAN */
127cb7aa33aSEmmanuel Vadot						<0x24>, /* CPSW_TX_CHAN */
128cb7aa33aSEmmanuel Vadot						<0x25>, /* SAUL_TX_0_CHAN */
129cb7aa33aSEmmanuel Vadot						<0x26>; /* SAUL_TX_1_CHAN */
130cb7aa33aSEmmanuel Vadot			ti,sci-rm-range-tflow = <0x10>, /* RING_UNMAPPED_TX_CHAN */
131cb7aa33aSEmmanuel Vadot						<0x11>, /* RING_CPSW_TX_CHAN */
132cb7aa33aSEmmanuel Vadot						<0x12>, /* RING_SAUL_TX_0_CHAN */
133cb7aa33aSEmmanuel Vadot						<0x13>; /* RING_SAUL_TX_1_CHAN */
134cb7aa33aSEmmanuel Vadot			ti,sci-rm-range-rchan = <0x29>, /* UNMAPPED_RX_CHAN */
135cb7aa33aSEmmanuel Vadot						<0x2b>, /* CPSW_RX_CHAN */
136cb7aa33aSEmmanuel Vadot						<0x2d>, /* SAUL_RX_0_CHAN */
137cb7aa33aSEmmanuel Vadot						<0x2f>, /* SAUL_RX_1_CHAN */
138cb7aa33aSEmmanuel Vadot						<0x31>, /* SAUL_RX_2_CHAN */
139cb7aa33aSEmmanuel Vadot						<0x33>; /* SAUL_RX_3_CHAN */
140cb7aa33aSEmmanuel Vadot			ti,sci-rm-range-rflow = <0x2a>, /* FLOW_UNMAPPED_RX_CHAN */
141cb7aa33aSEmmanuel Vadot						<0x2c>, /* FLOW_CPSW_RX_CHAN */
142cb7aa33aSEmmanuel Vadot						<0x2e>, /* FLOW_SAUL_RX_0/1_CHAN */
143cb7aa33aSEmmanuel Vadot						<0x32>; /* FLOW_SAUL_RX_2/3_CHAN */
144cb7aa33aSEmmanuel Vadot		};
1457ef62cebSEmmanuel Vadot	};
1467ef62cebSEmmanuel Vadot
1477ef62cebSEmmanuel Vadot	dmsc: system-controller@44043000 {
1487ef62cebSEmmanuel Vadot		compatible = "ti,k2g-sci";
1497ef62cebSEmmanuel Vadot		reg = <0x00 0x44043000 0x00 0xfe0>;
1507ef62cebSEmmanuel Vadot		reg-names = "debug_messages";
1517ef62cebSEmmanuel Vadot		ti,host-id = <12>;
1527ef62cebSEmmanuel Vadot		mbox-names = "rx", "tx";
1537ef62cebSEmmanuel Vadot		mboxes= <&secure_proxy_main 12>,
1547ef62cebSEmmanuel Vadot			<&secure_proxy_main 13>;
1557ef62cebSEmmanuel Vadot
1567ef62cebSEmmanuel Vadot		k3_pds: power-controller {
1577ef62cebSEmmanuel Vadot			compatible = "ti,sci-pm-domain";
1587ef62cebSEmmanuel Vadot			#power-domain-cells = <2>;
1597ef62cebSEmmanuel Vadot		};
1607ef62cebSEmmanuel Vadot
1617ef62cebSEmmanuel Vadot		k3_clks: clock-controller {
1627ef62cebSEmmanuel Vadot			compatible = "ti,k2g-sci-clk";
1637ef62cebSEmmanuel Vadot			#clock-cells = <2>;
1647ef62cebSEmmanuel Vadot		};
1657ef62cebSEmmanuel Vadot
1667ef62cebSEmmanuel Vadot		k3_reset: reset-controller {
1677ef62cebSEmmanuel Vadot			compatible = "ti,sci-reset";
1687ef62cebSEmmanuel Vadot			#reset-cells = <2>;
1697ef62cebSEmmanuel Vadot		};
1707ef62cebSEmmanuel Vadot	};
1717ef62cebSEmmanuel Vadot
172*f126890aSEmmanuel Vadot	secure_proxy_sa3: mailbox@43600000 {
173*f126890aSEmmanuel Vadot		compatible = "ti,am654-secure-proxy";
174*f126890aSEmmanuel Vadot		#mbox-cells = <1>;
175*f126890aSEmmanuel Vadot		reg-names = "target_data", "rt", "scfg";
176*f126890aSEmmanuel Vadot		reg = <0x00 0x43600000 0x00 0x10000>,
177*f126890aSEmmanuel Vadot		      <0x00 0x44880000 0x00 0x20000>,
178*f126890aSEmmanuel Vadot		      <0x00 0x44860000 0x00 0x20000>;
179*f126890aSEmmanuel Vadot		/*
180*f126890aSEmmanuel Vadot		 * Marked Disabled:
181*f126890aSEmmanuel Vadot		 * Node is incomplete as it is meant for bootloaders and
182*f126890aSEmmanuel Vadot		 * firmware on non-MPU processors
183*f126890aSEmmanuel Vadot		 */
184*f126890aSEmmanuel Vadot		status = "disabled";
185*f126890aSEmmanuel Vadot	};
186*f126890aSEmmanuel Vadot
1877ef62cebSEmmanuel Vadot	main_pmx0: pinctrl@f4000 {
1887ef62cebSEmmanuel Vadot		compatible = "pinctrl-single";
1897ef62cebSEmmanuel Vadot		reg = <0x00 0xf4000 0x00 0x2ac>;
1907ef62cebSEmmanuel Vadot		#pinctrl-cells = <1>;
1917ef62cebSEmmanuel Vadot		pinctrl-single,register-width = <32>;
1927ef62cebSEmmanuel Vadot		pinctrl-single,function-mask = <0xffffffff>;
1937ef62cebSEmmanuel Vadot	};
1947ef62cebSEmmanuel Vadot
195*f126890aSEmmanuel Vadot	main_timer0: timer@2400000 {
196*f126890aSEmmanuel Vadot		compatible = "ti,am654-timer";
197*f126890aSEmmanuel Vadot		reg = <0x00 0x2400000 0x00 0x400>;
198*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
199*f126890aSEmmanuel Vadot		clocks = <&k3_clks 36 2>;
200*f126890aSEmmanuel Vadot		clock-names = "fck";
201*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 36 2>;
202*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 36 3>;
203*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>;
204*f126890aSEmmanuel Vadot		ti,timer-pwm;
205*f126890aSEmmanuel Vadot	};
206*f126890aSEmmanuel Vadot
207*f126890aSEmmanuel Vadot	main_timer1: timer@2410000 {
208*f126890aSEmmanuel Vadot		compatible = "ti,am654-timer";
209*f126890aSEmmanuel Vadot		reg = <0x00 0x2410000 0x00 0x400>;
210*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
211*f126890aSEmmanuel Vadot		clocks = <&k3_clks 37 2>;
212*f126890aSEmmanuel Vadot		clock-names = "fck";
213*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 37 2>;
214*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 37 3>;
215*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>;
216*f126890aSEmmanuel Vadot		ti,timer-pwm;
217*f126890aSEmmanuel Vadot	};
218*f126890aSEmmanuel Vadot
219*f126890aSEmmanuel Vadot	main_timer2: timer@2420000 {
220*f126890aSEmmanuel Vadot		compatible = "ti,am654-timer";
221*f126890aSEmmanuel Vadot		reg = <0x00 0x2420000 0x00 0x400>;
222*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
223*f126890aSEmmanuel Vadot		clocks = <&k3_clks 38 2>;
224*f126890aSEmmanuel Vadot		clock-names = "fck";
225*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 38 2>;
226*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 38 3>;
227*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>;
228*f126890aSEmmanuel Vadot		ti,timer-pwm;
229*f126890aSEmmanuel Vadot	};
230*f126890aSEmmanuel Vadot
231*f126890aSEmmanuel Vadot	main_timer3: timer@2430000 {
232*f126890aSEmmanuel Vadot		compatible = "ti,am654-timer";
233*f126890aSEmmanuel Vadot		reg = <0x00 0x2430000 0x00 0x400>;
234*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
235*f126890aSEmmanuel Vadot		clocks = <&k3_clks 39 2>;
236*f126890aSEmmanuel Vadot		clock-names = "fck";
237*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 39 2>;
238*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 39 3>;
239*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 39 TI_SCI_PD_EXCLUSIVE>;
240*f126890aSEmmanuel Vadot		ti,timer-pwm;
241*f126890aSEmmanuel Vadot	};
242*f126890aSEmmanuel Vadot
243*f126890aSEmmanuel Vadot	main_timer4: timer@2440000 {
244*f126890aSEmmanuel Vadot		compatible = "ti,am654-timer";
245*f126890aSEmmanuel Vadot		reg = <0x00 0x2440000 0x00 0x400>;
246*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
247*f126890aSEmmanuel Vadot		clocks = <&k3_clks 40 2>;
248*f126890aSEmmanuel Vadot		clock-names = "fck";
249*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 40 2>;
250*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 40 3>;
251*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>;
252*f126890aSEmmanuel Vadot		ti,timer-pwm;
253*f126890aSEmmanuel Vadot	};
254*f126890aSEmmanuel Vadot
255*f126890aSEmmanuel Vadot	main_timer5: timer@2450000 {
256*f126890aSEmmanuel Vadot		compatible = "ti,am654-timer";
257*f126890aSEmmanuel Vadot		reg = <0x00 0x2450000 0x00 0x400>;
258*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
259*f126890aSEmmanuel Vadot		clocks = <&k3_clks 41 2>;
260*f126890aSEmmanuel Vadot		clock-names = "fck";
261*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 41 2>;
262*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 41 3>;
263*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>;
264*f126890aSEmmanuel Vadot		ti,timer-pwm;
265*f126890aSEmmanuel Vadot	};
266*f126890aSEmmanuel Vadot
267*f126890aSEmmanuel Vadot	main_timer6: timer@2460000 {
268*f126890aSEmmanuel Vadot		compatible = "ti,am654-timer";
269*f126890aSEmmanuel Vadot		reg = <0x00 0x2460000 0x00 0x400>;
270*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
271*f126890aSEmmanuel Vadot		clocks = <&k3_clks 42 2>;
272*f126890aSEmmanuel Vadot		clock-names = "fck";
273*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 42 2>;
274*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 42 3>;
275*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 42 TI_SCI_PD_EXCLUSIVE>;
276*f126890aSEmmanuel Vadot		ti,timer-pwm;
277*f126890aSEmmanuel Vadot	};
278*f126890aSEmmanuel Vadot
279*f126890aSEmmanuel Vadot	main_timer7: timer@2470000 {
280*f126890aSEmmanuel Vadot		compatible = "ti,am654-timer";
281*f126890aSEmmanuel Vadot		reg = <0x00 0x2470000 0x00 0x400>;
282*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
283*f126890aSEmmanuel Vadot		clocks = <&k3_clks 43 2>;
284*f126890aSEmmanuel Vadot		clock-names = "fck";
285*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 43 2>;
286*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 43 3>;
287*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 43 TI_SCI_PD_EXCLUSIVE>;
288*f126890aSEmmanuel Vadot		ti,timer-pwm;
289*f126890aSEmmanuel Vadot	};
290*f126890aSEmmanuel Vadot
2917ef62cebSEmmanuel Vadot	main_uart0: serial@2800000 {
2927ef62cebSEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
2937ef62cebSEmmanuel Vadot		reg = <0x00 0x02800000 0x00 0x100>;
2947ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
2957ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
2967ef62cebSEmmanuel Vadot		clocks = <&k3_clks 146 0>;
2977ef62cebSEmmanuel Vadot		clock-names = "fclk";
2987ef62cebSEmmanuel Vadot		status = "disabled";
2997ef62cebSEmmanuel Vadot	};
3007ef62cebSEmmanuel Vadot
3017ef62cebSEmmanuel Vadot	main_uart1: serial@2810000 {
3027ef62cebSEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
3037ef62cebSEmmanuel Vadot		reg = <0x00 0x02810000 0x00 0x100>;
3047ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
3057ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
3067ef62cebSEmmanuel Vadot		clocks = <&k3_clks 152 0>;
3077ef62cebSEmmanuel Vadot		clock-names = "fclk";
3087ef62cebSEmmanuel Vadot		status = "disabled";
3097ef62cebSEmmanuel Vadot	};
3107ef62cebSEmmanuel Vadot
3117ef62cebSEmmanuel Vadot	main_uart2: serial@2820000 {
3127ef62cebSEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
3137ef62cebSEmmanuel Vadot		reg = <0x00 0x02820000 0x00 0x100>;
3147ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
3157ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>;
3167ef62cebSEmmanuel Vadot		clocks = <&k3_clks 153 0>;
3177ef62cebSEmmanuel Vadot		clock-names = "fclk";
3187ef62cebSEmmanuel Vadot		status = "disabled";
3197ef62cebSEmmanuel Vadot	};
3207ef62cebSEmmanuel Vadot
3217ef62cebSEmmanuel Vadot	main_uart3: serial@2830000 {
3227ef62cebSEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
3237ef62cebSEmmanuel Vadot		reg = <0x00 0x02830000 0x00 0x100>;
3247ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
3257ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
3267ef62cebSEmmanuel Vadot		clocks = <&k3_clks 154 0>;
3277ef62cebSEmmanuel Vadot		clock-names = "fclk";
3287ef62cebSEmmanuel Vadot		status = "disabled";
3297ef62cebSEmmanuel Vadot	};
3307ef62cebSEmmanuel Vadot
3317ef62cebSEmmanuel Vadot	main_uart4: serial@2840000 {
3327ef62cebSEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
3337ef62cebSEmmanuel Vadot		reg = <0x00 0x02840000 0x00 0x100>;
3347ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
3357ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 155 TI_SCI_PD_EXCLUSIVE>;
3367ef62cebSEmmanuel Vadot		clocks = <&k3_clks 155 0>;
3377ef62cebSEmmanuel Vadot		clock-names = "fclk";
3387ef62cebSEmmanuel Vadot		status = "disabled";
3397ef62cebSEmmanuel Vadot	};
3407ef62cebSEmmanuel Vadot
3417ef62cebSEmmanuel Vadot	main_uart5: serial@2850000 {
3427ef62cebSEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
3437ef62cebSEmmanuel Vadot		reg = <0x00 0x02850000 0x00 0x100>;
3447ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
3457ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 156 TI_SCI_PD_EXCLUSIVE>;
3467ef62cebSEmmanuel Vadot		clocks = <&k3_clks 156 0>;
3477ef62cebSEmmanuel Vadot		clock-names = "fclk";
3487ef62cebSEmmanuel Vadot		status = "disabled";
3497ef62cebSEmmanuel Vadot	};
3507ef62cebSEmmanuel Vadot
3517ef62cebSEmmanuel Vadot	main_uart6: serial@2860000 {
3527ef62cebSEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
3537ef62cebSEmmanuel Vadot		reg = <0x00 0x02860000 0x00 0x100>;
3547ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
3557ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 158 TI_SCI_PD_EXCLUSIVE>;
3567ef62cebSEmmanuel Vadot		clocks = <&k3_clks 158 0>;
3577ef62cebSEmmanuel Vadot		clock-names = "fclk";
3587ef62cebSEmmanuel Vadot		status = "disabled";
3597ef62cebSEmmanuel Vadot	};
3607ef62cebSEmmanuel Vadot
3617ef62cebSEmmanuel Vadot	main_i2c0: i2c@20000000 {
3627ef62cebSEmmanuel Vadot		compatible = "ti,am64-i2c", "ti,omap4-i2c";
3637ef62cebSEmmanuel Vadot		reg = <0x00 0x20000000 0x00 0x100>;
3647ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
3657ef62cebSEmmanuel Vadot		#address-cells = <1>;
3667ef62cebSEmmanuel Vadot		#size-cells = <0>;
3677ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
3687ef62cebSEmmanuel Vadot		clocks = <&k3_clks 102 2>;
3697ef62cebSEmmanuel Vadot		clock-names = "fck";
3707ef62cebSEmmanuel Vadot		status = "disabled";
3717ef62cebSEmmanuel Vadot	};
3727ef62cebSEmmanuel Vadot
3737ef62cebSEmmanuel Vadot	main_i2c1: i2c@20010000 {
3747ef62cebSEmmanuel Vadot		compatible = "ti,am64-i2c", "ti,omap4-i2c";
3757ef62cebSEmmanuel Vadot		reg = <0x00 0x20010000 0x00 0x100>;
3767ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
3777ef62cebSEmmanuel Vadot		#address-cells = <1>;
3787ef62cebSEmmanuel Vadot		#size-cells = <0>;
3797ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
3807ef62cebSEmmanuel Vadot		clocks = <&k3_clks 103 2>;
3817ef62cebSEmmanuel Vadot		clock-names = "fck";
3827ef62cebSEmmanuel Vadot		status = "disabled";
3837ef62cebSEmmanuel Vadot	};
3847ef62cebSEmmanuel Vadot
3857ef62cebSEmmanuel Vadot	main_i2c2: i2c@20020000 {
3867ef62cebSEmmanuel Vadot		compatible = "ti,am64-i2c", "ti,omap4-i2c";
3877ef62cebSEmmanuel Vadot		reg = <0x00 0x20020000 0x00 0x100>;
3887ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
3897ef62cebSEmmanuel Vadot		#address-cells = <1>;
3907ef62cebSEmmanuel Vadot		#size-cells = <0>;
3917ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
3927ef62cebSEmmanuel Vadot		clocks = <&k3_clks 104 2>;
3937ef62cebSEmmanuel Vadot		clock-names = "fck";
3947ef62cebSEmmanuel Vadot		status = "disabled";
3957ef62cebSEmmanuel Vadot	};
3967ef62cebSEmmanuel Vadot
3977ef62cebSEmmanuel Vadot	main_i2c3: i2c@20030000 {
3987ef62cebSEmmanuel Vadot		compatible = "ti,am64-i2c", "ti,omap4-i2c";
3997ef62cebSEmmanuel Vadot		reg = <0x00 0x20030000 0x00 0x100>;
4007ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
4017ef62cebSEmmanuel Vadot		#address-cells = <1>;
4027ef62cebSEmmanuel Vadot		#size-cells = <0>;
4037ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
4047ef62cebSEmmanuel Vadot		clocks = <&k3_clks 105 2>;
4057ef62cebSEmmanuel Vadot		clock-names = "fck";
4067ef62cebSEmmanuel Vadot		status = "disabled";
4077ef62cebSEmmanuel Vadot	};
4087ef62cebSEmmanuel Vadot
409cb7aa33aSEmmanuel Vadot	main_spi0: spi@20100000 {
410cb7aa33aSEmmanuel Vadot		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
411cb7aa33aSEmmanuel Vadot		reg = <0x00 0x20100000 0x00 0x400>;
412cb7aa33aSEmmanuel Vadot		interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
413cb7aa33aSEmmanuel Vadot		#address-cells = <1>;
414cb7aa33aSEmmanuel Vadot		#size-cells = <0>;
415cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
416cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 141 0>;
417cb7aa33aSEmmanuel Vadot		status = "disabled";
418cb7aa33aSEmmanuel Vadot	};
419cb7aa33aSEmmanuel Vadot
420cb7aa33aSEmmanuel Vadot	main_spi1: spi@20110000 {
421cb7aa33aSEmmanuel Vadot		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
422cb7aa33aSEmmanuel Vadot		reg = <0x00 0x20110000 0x00 0x400>;
423cb7aa33aSEmmanuel Vadot		interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
424cb7aa33aSEmmanuel Vadot		#address-cells = <1>;
425cb7aa33aSEmmanuel Vadot		#size-cells = <0>;
426cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
427cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 142 0>;
428cb7aa33aSEmmanuel Vadot		status = "disabled";
429cb7aa33aSEmmanuel Vadot	};
430cb7aa33aSEmmanuel Vadot
431cb7aa33aSEmmanuel Vadot	main_spi2: spi@20120000 {
432cb7aa33aSEmmanuel Vadot		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
433cb7aa33aSEmmanuel Vadot		reg = <0x00 0x20120000 0x00 0x400>;
434cb7aa33aSEmmanuel Vadot		interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
435cb7aa33aSEmmanuel Vadot		#address-cells = <1>;
436cb7aa33aSEmmanuel Vadot		#size-cells = <0>;
437cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
438cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 143 0>;
439cb7aa33aSEmmanuel Vadot		status = "disabled";
440cb7aa33aSEmmanuel Vadot	};
441cb7aa33aSEmmanuel Vadot
4427ef62cebSEmmanuel Vadot	main_gpio_intr: interrupt-controller@a00000 {
4437ef62cebSEmmanuel Vadot		compatible = "ti,sci-intr";
4447ef62cebSEmmanuel Vadot		reg = <0x00 0x00a00000 0x00 0x800>;
4457ef62cebSEmmanuel Vadot		ti,intr-trigger-type = <1>;
4467ef62cebSEmmanuel Vadot		interrupt-controller;
4477ef62cebSEmmanuel Vadot		interrupt-parent = <&gic500>;
4487ef62cebSEmmanuel Vadot		#interrupt-cells = <1>;
4497ef62cebSEmmanuel Vadot		ti,sci = <&dmsc>;
4507ef62cebSEmmanuel Vadot		ti,sci-dev-id = <3>;
4517ef62cebSEmmanuel Vadot		ti,interrupt-ranges = <0 32 16>;
4527ef62cebSEmmanuel Vadot		status = "disabled";
4537ef62cebSEmmanuel Vadot	};
4547ef62cebSEmmanuel Vadot
4557ef62cebSEmmanuel Vadot	main_gpio0: gpio@600000 {
4567ef62cebSEmmanuel Vadot		compatible = "ti,am64-gpio", "ti,keystone-gpio";
4577ef62cebSEmmanuel Vadot		reg = <0x00 0x00600000 0x0 0x100>;
4587ef62cebSEmmanuel Vadot		gpio-controller;
4597ef62cebSEmmanuel Vadot		#gpio-cells = <2>;
4607ef62cebSEmmanuel Vadot		interrupt-parent = <&main_gpio_intr>;
4617ef62cebSEmmanuel Vadot		interrupts = <190>, <191>, <192>,
4627ef62cebSEmmanuel Vadot			     <193>, <194>, <195>;
4637ef62cebSEmmanuel Vadot		interrupt-controller;
4647ef62cebSEmmanuel Vadot		#interrupt-cells = <2>;
4657ef62cebSEmmanuel Vadot		ti,ngpio = <87>;
4667ef62cebSEmmanuel Vadot		ti,davinci-gpio-unbanked = <0>;
4677ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
4687ef62cebSEmmanuel Vadot		clocks = <&k3_clks 77 0>;
4697ef62cebSEmmanuel Vadot		clock-names = "gpio";
4707ef62cebSEmmanuel Vadot		status = "disabled";
4717ef62cebSEmmanuel Vadot	};
4727ef62cebSEmmanuel Vadot
4737ef62cebSEmmanuel Vadot	main_gpio1: gpio@601000 {
4747ef62cebSEmmanuel Vadot		compatible = "ti,am64-gpio", "ti,keystone-gpio";
4757ef62cebSEmmanuel Vadot		reg = <0x00 0x00601000 0x0 0x100>;
4767ef62cebSEmmanuel Vadot		gpio-controller;
4777ef62cebSEmmanuel Vadot		#gpio-cells = <2>;
4787ef62cebSEmmanuel Vadot		interrupt-parent = <&main_gpio_intr>;
4797ef62cebSEmmanuel Vadot		interrupts = <180>, <181>, <182>,
4807ef62cebSEmmanuel Vadot			     <183>, <184>, <185>;
4817ef62cebSEmmanuel Vadot		interrupt-controller;
4827ef62cebSEmmanuel Vadot		#interrupt-cells = <2>;
4837ef62cebSEmmanuel Vadot		ti,ngpio = <88>;
4847ef62cebSEmmanuel Vadot		ti,davinci-gpio-unbanked = <0>;
4857ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
4867ef62cebSEmmanuel Vadot		clocks = <&k3_clks 78 0>;
4877ef62cebSEmmanuel Vadot		clock-names = "gpio";
4887ef62cebSEmmanuel Vadot		status = "disabled";
4897ef62cebSEmmanuel Vadot	};
4907ef62cebSEmmanuel Vadot
4917ef62cebSEmmanuel Vadot	sdhci1: mmc@fa00000 {
4927ef62cebSEmmanuel Vadot		compatible = "ti,am62-sdhci";
4937ef62cebSEmmanuel Vadot		reg = <0x00 0xfa00000 0x00 0x260>, <0x00 0xfa08000 0x00 0x134>;
4947ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
4957ef62cebSEmmanuel Vadot		power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
4967ef62cebSEmmanuel Vadot		clocks = <&k3_clks 58 5>, <&k3_clks 58 6>;
4977ef62cebSEmmanuel Vadot		clock-names = "clk_ahb", "clk_xin";
4987ef62cebSEmmanuel Vadot		ti,trm-icp = <0x2>;
4997ef62cebSEmmanuel Vadot		ti,otap-del-sel-legacy = <0x0>;
5007ef62cebSEmmanuel Vadot		ti,otap-del-sel-sd-hs = <0x0>;
5017ef62cebSEmmanuel Vadot		ti,otap-del-sel-sdr12 = <0xf>;
5027ef62cebSEmmanuel Vadot		ti,otap-del-sel-sdr25 = <0xf>;
5037ef62cebSEmmanuel Vadot		ti,otap-del-sel-sdr50 = <0xc>;
5047ef62cebSEmmanuel Vadot		ti,otap-del-sel-sdr104 = <0x6>;
5057ef62cebSEmmanuel Vadot		ti,otap-del-sel-ddr50 = <0x9>;
5067ef62cebSEmmanuel Vadot		ti,itap-del-sel-legacy = <0x0>;
5077ef62cebSEmmanuel Vadot		ti,itap-del-sel-sd-hs = <0x0>;
5087ef62cebSEmmanuel Vadot		ti,itap-del-sel-sdr12 = <0x0>;
5097ef62cebSEmmanuel Vadot		ti,itap-del-sel-sdr25 = <0x0>;
5107ef62cebSEmmanuel Vadot		ti,clkbuf-sel = <0x7>;
5117ef62cebSEmmanuel Vadot		bus-width = <4>;
5127ef62cebSEmmanuel Vadot		no-1-8-v;
5137ef62cebSEmmanuel Vadot		status = "disabled";
5147ef62cebSEmmanuel Vadot	};
515cb7aa33aSEmmanuel Vadot
516cb7aa33aSEmmanuel Vadot	usbss0: dwc3-usb@f900000 {
517cb7aa33aSEmmanuel Vadot		compatible = "ti,am62-usb";
518cb7aa33aSEmmanuel Vadot		reg = <0x00 0x0f900000 0x00 0x800>;
519cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 161 3>;
520cb7aa33aSEmmanuel Vadot		clock-names = "ref";
521cb7aa33aSEmmanuel Vadot		ti,syscon-phy-pll-refclk = <&wkup_conf 0x4008>;
522cb7aa33aSEmmanuel Vadot		#address-cells = <2>;
523cb7aa33aSEmmanuel Vadot		#size-cells = <2>;
524cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 178 TI_SCI_PD_EXCLUSIVE>;
525cb7aa33aSEmmanuel Vadot		ranges;
526cb7aa33aSEmmanuel Vadot		status = "disabled";
527cb7aa33aSEmmanuel Vadot
528cb7aa33aSEmmanuel Vadot		usb0: usb@31000000 {
529cb7aa33aSEmmanuel Vadot			compatible = "snps,dwc3";
530cb7aa33aSEmmanuel Vadot			reg =<0x00 0x31000000 0x00 0x50000>;
531cb7aa33aSEmmanuel Vadot			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
532cb7aa33aSEmmanuel Vadot				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; /* irq.0 */
533cb7aa33aSEmmanuel Vadot			interrupt-names = "host", "peripheral";
534cb7aa33aSEmmanuel Vadot			maximum-speed = "high-speed";
535cb7aa33aSEmmanuel Vadot			dr_mode = "otg";
536cb7aa33aSEmmanuel Vadot		};
537cb7aa33aSEmmanuel Vadot	};
538cb7aa33aSEmmanuel Vadot
539cb7aa33aSEmmanuel Vadot	usbss1: dwc3-usb@f910000 {
540cb7aa33aSEmmanuel Vadot		compatible = "ti,am62-usb";
541cb7aa33aSEmmanuel Vadot		reg = <0x00 0x0f910000 0x00 0x800>;
542cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 162 3>;
543cb7aa33aSEmmanuel Vadot		clock-names = "ref";
544cb7aa33aSEmmanuel Vadot		ti,syscon-phy-pll-refclk = <&wkup_conf 0x4018>;
545cb7aa33aSEmmanuel Vadot		#address-cells = <2>;
546cb7aa33aSEmmanuel Vadot		#size-cells = <2>;
547cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>;
548cb7aa33aSEmmanuel Vadot		ranges;
549cb7aa33aSEmmanuel Vadot		status = "disabled";
550cb7aa33aSEmmanuel Vadot
551cb7aa33aSEmmanuel Vadot		usb1: usb@31100000 {
552cb7aa33aSEmmanuel Vadot			compatible = "snps,dwc3";
553cb7aa33aSEmmanuel Vadot			reg =<0x00 0x31100000 0x00 0x50000>;
554cb7aa33aSEmmanuel Vadot			interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
555cb7aa33aSEmmanuel Vadot				     <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; /* irq.0 */
556cb7aa33aSEmmanuel Vadot			interrupt-names = "host", "peripheral";
557cb7aa33aSEmmanuel Vadot			maximum-speed = "high-speed";
558cb7aa33aSEmmanuel Vadot			dr_mode = "otg";
559cb7aa33aSEmmanuel Vadot		};
560cb7aa33aSEmmanuel Vadot	};
561cb7aa33aSEmmanuel Vadot
562cb7aa33aSEmmanuel Vadot	fss: bus@fc00000 {
563cb7aa33aSEmmanuel Vadot		compatible = "simple-bus";
564cb7aa33aSEmmanuel Vadot		reg = <0x00 0x0fc00000 0x00 0x70000>;
565cb7aa33aSEmmanuel Vadot		#address-cells = <2>;
566cb7aa33aSEmmanuel Vadot		#size-cells = <2>;
567cb7aa33aSEmmanuel Vadot		ranges;
568cb7aa33aSEmmanuel Vadot		status = "disabled";
569cb7aa33aSEmmanuel Vadot
570cb7aa33aSEmmanuel Vadot		ospi0: spi@fc40000 {
571cb7aa33aSEmmanuel Vadot			compatible = "ti,am654-ospi", "cdns,qspi-nor";
572cb7aa33aSEmmanuel Vadot			reg = <0x00 0x0fc40000 0x00 0x100>,
573cb7aa33aSEmmanuel Vadot			      <0x05 0x00000000 0x01 0x00000000>;
574cb7aa33aSEmmanuel Vadot			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
575cb7aa33aSEmmanuel Vadot			cdns,fifo-depth = <256>;
576cb7aa33aSEmmanuel Vadot			cdns,fifo-width = <4>;
577cb7aa33aSEmmanuel Vadot			cdns,trigger-address = <0x0>;
578cb7aa33aSEmmanuel Vadot			clocks = <&k3_clks 75 7>;
579cb7aa33aSEmmanuel Vadot			assigned-clocks = <&k3_clks 75 7>;
580cb7aa33aSEmmanuel Vadot			assigned-clock-parents = <&k3_clks 75 8>;
581cb7aa33aSEmmanuel Vadot			assigned-clock-rates = <166666666>;
582cb7aa33aSEmmanuel Vadot			power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>;
583cb7aa33aSEmmanuel Vadot			#address-cells = <1>;
584cb7aa33aSEmmanuel Vadot			#size-cells = <0>;
585cb7aa33aSEmmanuel Vadot		};
586cb7aa33aSEmmanuel Vadot	};
587cb7aa33aSEmmanuel Vadot
588cb7aa33aSEmmanuel Vadot	cpsw3g: ethernet@8000000 {
589cb7aa33aSEmmanuel Vadot		compatible = "ti,am642-cpsw-nuss";
590cb7aa33aSEmmanuel Vadot		#address-cells = <2>;
591cb7aa33aSEmmanuel Vadot		#size-cells = <2>;
592cb7aa33aSEmmanuel Vadot		reg = <0x0 0x8000000 0x0 0x200000>;
593cb7aa33aSEmmanuel Vadot		reg-names = "cpsw_nuss";
594cb7aa33aSEmmanuel Vadot		ranges = <0x0 0x0 0x0 0x8000000 0x0 0x200000>;
595cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 13 0>;
596cb7aa33aSEmmanuel Vadot		assigned-clocks = <&k3_clks 13 3>;
597cb7aa33aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 13 11>;
598cb7aa33aSEmmanuel Vadot		clock-names = "fck";
599cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 13 TI_SCI_PD_EXCLUSIVE>;
600cb7aa33aSEmmanuel Vadot		status = "disabled";
601cb7aa33aSEmmanuel Vadot
602cb7aa33aSEmmanuel Vadot		dmas = <&main_pktdma 0xc600 15>,
603cb7aa33aSEmmanuel Vadot		       <&main_pktdma 0xc601 15>,
604cb7aa33aSEmmanuel Vadot		       <&main_pktdma 0xc602 15>,
605cb7aa33aSEmmanuel Vadot		       <&main_pktdma 0xc603 15>,
606cb7aa33aSEmmanuel Vadot		       <&main_pktdma 0xc604 15>,
607cb7aa33aSEmmanuel Vadot		       <&main_pktdma 0xc605 15>,
608cb7aa33aSEmmanuel Vadot		       <&main_pktdma 0xc606 15>,
609cb7aa33aSEmmanuel Vadot		       <&main_pktdma 0xc607 15>,
610cb7aa33aSEmmanuel Vadot		       <&main_pktdma 0x4600 15>;
611cb7aa33aSEmmanuel Vadot		dma-names = "tx0", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6",
612cb7aa33aSEmmanuel Vadot			    "tx7", "rx";
613cb7aa33aSEmmanuel Vadot
614cb7aa33aSEmmanuel Vadot		ethernet-ports {
615cb7aa33aSEmmanuel Vadot			#address-cells = <1>;
616cb7aa33aSEmmanuel Vadot			#size-cells = <0>;
617cb7aa33aSEmmanuel Vadot
618cb7aa33aSEmmanuel Vadot			cpsw_port1: port@1 {
619cb7aa33aSEmmanuel Vadot				reg = <1>;
620cb7aa33aSEmmanuel Vadot				ti,mac-only;
621cb7aa33aSEmmanuel Vadot				label = "port1";
622cb7aa33aSEmmanuel Vadot				phys = <&phy_gmii_sel 1>;
623cb7aa33aSEmmanuel Vadot				mac-address = [00 00 00 00 00 00];
624cb7aa33aSEmmanuel Vadot				ti,syscon-efuse = <&wkup_conf 0x200>;
625cb7aa33aSEmmanuel Vadot			};
626cb7aa33aSEmmanuel Vadot
627cb7aa33aSEmmanuel Vadot			cpsw_port2: port@2 {
628cb7aa33aSEmmanuel Vadot				reg = <2>;
629cb7aa33aSEmmanuel Vadot				ti,mac-only;
630cb7aa33aSEmmanuel Vadot				label = "port2";
631cb7aa33aSEmmanuel Vadot				phys = <&phy_gmii_sel 2>;
632cb7aa33aSEmmanuel Vadot				mac-address = [00 00 00 00 00 00];
633cb7aa33aSEmmanuel Vadot			};
634cb7aa33aSEmmanuel Vadot		};
635cb7aa33aSEmmanuel Vadot
636cb7aa33aSEmmanuel Vadot		cpsw3g_mdio: mdio@f00 {
637cb7aa33aSEmmanuel Vadot			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
638cb7aa33aSEmmanuel Vadot			reg = <0x0 0xf00 0x0 0x100>;
639cb7aa33aSEmmanuel Vadot			#address-cells = <1>;
640cb7aa33aSEmmanuel Vadot			#size-cells = <0>;
641cb7aa33aSEmmanuel Vadot			clocks = <&k3_clks 13 0>;
642cb7aa33aSEmmanuel Vadot			clock-names = "fck";
643cb7aa33aSEmmanuel Vadot			bus_freq = <1000000>;
644cb7aa33aSEmmanuel Vadot		};
645cb7aa33aSEmmanuel Vadot
646cb7aa33aSEmmanuel Vadot		cpts@3d000 {
647cb7aa33aSEmmanuel Vadot			compatible = "ti,j721e-cpts";
648cb7aa33aSEmmanuel Vadot			reg = <0x0 0x3d000 0x0 0x400>;
649cb7aa33aSEmmanuel Vadot			clocks = <&k3_clks 13 3>;
650cb7aa33aSEmmanuel Vadot			clock-names = "cpts";
651cb7aa33aSEmmanuel Vadot			interrupts-extended = <&gic500 GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
652cb7aa33aSEmmanuel Vadot			interrupt-names = "cpts";
653cb7aa33aSEmmanuel Vadot			ti,cpts-ext-ts-inputs = <4>;
654cb7aa33aSEmmanuel Vadot			ti,cpts-periodic-outputs = <2>;
655cb7aa33aSEmmanuel Vadot		};
656cb7aa33aSEmmanuel Vadot	};
657cb7aa33aSEmmanuel Vadot
658cb7aa33aSEmmanuel Vadot	hwspinlock: spinlock@2a000000 {
659cb7aa33aSEmmanuel Vadot		compatible = "ti,am64-hwspinlock";
660cb7aa33aSEmmanuel Vadot		reg = <0x00 0x2a000000 0x00 0x1000>;
661cb7aa33aSEmmanuel Vadot		#hwlock-cells = <1>;
662cb7aa33aSEmmanuel Vadot	};
663cb7aa33aSEmmanuel Vadot
664cb7aa33aSEmmanuel Vadot	mailbox0_cluster0: mailbox@29000000 {
665cb7aa33aSEmmanuel Vadot		compatible = "ti,am64-mailbox";
666cb7aa33aSEmmanuel Vadot		reg = <0x00 0x29000000 0x00 0x200>;
667cb7aa33aSEmmanuel Vadot		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
668cb7aa33aSEmmanuel Vadot		#mbox-cells = <1>;
669cb7aa33aSEmmanuel Vadot		ti,mbox-num-users = <4>;
670cb7aa33aSEmmanuel Vadot		ti,mbox-num-fifos = <16>;
671cb7aa33aSEmmanuel Vadot	};
672cb7aa33aSEmmanuel Vadot
673cb7aa33aSEmmanuel Vadot	mailbox0_cluster1: mailbox@29010000 {
674cb7aa33aSEmmanuel Vadot		compatible = "ti,am64-mailbox";
675cb7aa33aSEmmanuel Vadot		reg = <0x00 0x29010000 0x00 0x200>;
676cb7aa33aSEmmanuel Vadot		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
677cb7aa33aSEmmanuel Vadot		#mbox-cells = <1>;
678cb7aa33aSEmmanuel Vadot		ti,mbox-num-users = <4>;
679cb7aa33aSEmmanuel Vadot		ti,mbox-num-fifos = <16>;
680cb7aa33aSEmmanuel Vadot	};
681cb7aa33aSEmmanuel Vadot
682cb7aa33aSEmmanuel Vadot	mailbox0_cluster2: mailbox@29020000 {
683cb7aa33aSEmmanuel Vadot		compatible = "ti,am64-mailbox";
684cb7aa33aSEmmanuel Vadot		reg = <0x00 0x29020000 0x00 0x200>;
685cb7aa33aSEmmanuel Vadot		interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
686cb7aa33aSEmmanuel Vadot		#mbox-cells = <1>;
687cb7aa33aSEmmanuel Vadot		ti,mbox-num-users = <4>;
688cb7aa33aSEmmanuel Vadot		ti,mbox-num-fifos = <16>;
689cb7aa33aSEmmanuel Vadot	};
690cb7aa33aSEmmanuel Vadot
691cb7aa33aSEmmanuel Vadot	mailbox0_cluster3: mailbox@29030000 {
692cb7aa33aSEmmanuel Vadot		compatible = "ti,am64-mailbox";
693cb7aa33aSEmmanuel Vadot		reg = <0x00 0x29030000 0x00 0x200>;
694cb7aa33aSEmmanuel Vadot		interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
695cb7aa33aSEmmanuel Vadot		#mbox-cells = <1>;
696cb7aa33aSEmmanuel Vadot		ti,mbox-num-users = <4>;
697cb7aa33aSEmmanuel Vadot		ti,mbox-num-fifos = <16>;
698cb7aa33aSEmmanuel Vadot	};
699cb7aa33aSEmmanuel Vadot
700cb7aa33aSEmmanuel Vadot	main_mcan0: can@20701000 {
701cb7aa33aSEmmanuel Vadot		compatible = "bosch,m_can";
702cb7aa33aSEmmanuel Vadot		reg = <0x00 0x20701000 0x00 0x200>,
703cb7aa33aSEmmanuel Vadot		      <0x00 0x20708000 0x00 0x8000>;
704cb7aa33aSEmmanuel Vadot		reg-names = "m_can", "message_ram";
705cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 98 TI_SCI_PD_EXCLUSIVE>;
706cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 98 6>, <&k3_clks 98 1>;
707cb7aa33aSEmmanuel Vadot		clock-names = "hclk", "cclk";
708cb7aa33aSEmmanuel Vadot		interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
709cb7aa33aSEmmanuel Vadot			     <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
710cb7aa33aSEmmanuel Vadot		interrupt-names = "int0", "int1";
711cb7aa33aSEmmanuel Vadot		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
712cb7aa33aSEmmanuel Vadot		status = "disabled";
713cb7aa33aSEmmanuel Vadot	};
714cb7aa33aSEmmanuel Vadot
715*f126890aSEmmanuel Vadot	main_rti0: watchdog@e000000 {
716*f126890aSEmmanuel Vadot		compatible = "ti,j7-rti-wdt";
717*f126890aSEmmanuel Vadot		reg = <0x00 0x0e000000 0x00 0x100>;
718*f126890aSEmmanuel Vadot		clocks = <&k3_clks 125 0>;
719*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 125 TI_SCI_PD_EXCLUSIVE>;
720*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 125 0>;
721*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 125 2>;
722*f126890aSEmmanuel Vadot	};
723*f126890aSEmmanuel Vadot
724*f126890aSEmmanuel Vadot	main_rti1: watchdog@e010000 {
725*f126890aSEmmanuel Vadot		compatible = "ti,j7-rti-wdt";
726*f126890aSEmmanuel Vadot		reg = <0x00 0x0e010000 0x00 0x100>;
727*f126890aSEmmanuel Vadot		clocks = <&k3_clks 126 0>;
728*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 126 TI_SCI_PD_EXCLUSIVE>;
729*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 126 0>;
730*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 126 2>;
731*f126890aSEmmanuel Vadot	};
732*f126890aSEmmanuel Vadot
733*f126890aSEmmanuel Vadot	main_rti2: watchdog@e020000 {
734*f126890aSEmmanuel Vadot		compatible = "ti,j7-rti-wdt";
735*f126890aSEmmanuel Vadot		reg = <0x00 0x0e020000 0x00 0x100>;
736*f126890aSEmmanuel Vadot		clocks = <&k3_clks 127 0>;
737*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 127 TI_SCI_PD_EXCLUSIVE>;
738*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 127 0>;
739*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 127 2>;
740*f126890aSEmmanuel Vadot	};
741*f126890aSEmmanuel Vadot
742*f126890aSEmmanuel Vadot	main_rti3: watchdog@e030000 {
743*f126890aSEmmanuel Vadot		compatible = "ti,j7-rti-wdt";
744*f126890aSEmmanuel Vadot		reg = <0x00 0x0e030000 0x00 0x100>;
745*f126890aSEmmanuel Vadot		clocks = <&k3_clks 128 0>;
746*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 128 TI_SCI_PD_EXCLUSIVE>;
747*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 128 0>;
748*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 128 2>;
749*f126890aSEmmanuel Vadot	};
750*f126890aSEmmanuel Vadot
751*f126890aSEmmanuel Vadot	main_rti4: watchdog@e040000 {
752*f126890aSEmmanuel Vadot		compatible = "ti,j7-rti-wdt";
753*f126890aSEmmanuel Vadot		reg = <0x00 0x0e040000 0x00 0x100>;
754*f126890aSEmmanuel Vadot		clocks = <&k3_clks 205 0>;
755*f126890aSEmmanuel Vadot		power-domains = <&k3_pds 205 TI_SCI_PD_EXCLUSIVE>;
756*f126890aSEmmanuel Vadot		assigned-clocks = <&k3_clks 205 0>;
757*f126890aSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 205 2>;
758*f126890aSEmmanuel Vadot	};
759*f126890aSEmmanuel Vadot
760cb7aa33aSEmmanuel Vadot	epwm0: pwm@23000000 {
761cb7aa33aSEmmanuel Vadot		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
762cb7aa33aSEmmanuel Vadot		#pwm-cells = <3>;
763cb7aa33aSEmmanuel Vadot		reg = <0x00 0x23000000 0x00 0x100>;
764cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 86 TI_SCI_PD_EXCLUSIVE>;
765cb7aa33aSEmmanuel Vadot		clocks = <&epwm_tbclk 0>, <&k3_clks 86 0>;
766cb7aa33aSEmmanuel Vadot		clock-names = "tbclk", "fck";
767cb7aa33aSEmmanuel Vadot		status = "disabled";
768cb7aa33aSEmmanuel Vadot	};
769cb7aa33aSEmmanuel Vadot
770cb7aa33aSEmmanuel Vadot	epwm1: pwm@23010000 {
771cb7aa33aSEmmanuel Vadot		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
772cb7aa33aSEmmanuel Vadot		#pwm-cells = <3>;
773cb7aa33aSEmmanuel Vadot		reg = <0x00 0x23010000 0x00 0x100>;
774cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 87 TI_SCI_PD_EXCLUSIVE>;
775cb7aa33aSEmmanuel Vadot		clocks = <&epwm_tbclk 1>, <&k3_clks 87 0>;
776cb7aa33aSEmmanuel Vadot		clock-names = "tbclk", "fck";
777cb7aa33aSEmmanuel Vadot		status = "disabled";
778cb7aa33aSEmmanuel Vadot	};
779cb7aa33aSEmmanuel Vadot
780cb7aa33aSEmmanuel Vadot	epwm2: pwm@23020000 {
781cb7aa33aSEmmanuel Vadot		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
782cb7aa33aSEmmanuel Vadot		#pwm-cells = <3>;
783cb7aa33aSEmmanuel Vadot		reg = <0x00 0x23020000 0x00 0x100>;
784cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 88 TI_SCI_PD_EXCLUSIVE>;
785cb7aa33aSEmmanuel Vadot		clocks = <&epwm_tbclk 2>, <&k3_clks 88 0>;
786cb7aa33aSEmmanuel Vadot		clock-names = "tbclk", "fck";
787cb7aa33aSEmmanuel Vadot		status = "disabled";
788cb7aa33aSEmmanuel Vadot	};
789cb7aa33aSEmmanuel Vadot
790cb7aa33aSEmmanuel Vadot	ecap0: pwm@23100000 {
791cb7aa33aSEmmanuel Vadot		compatible = "ti,am3352-ecap";
792cb7aa33aSEmmanuel Vadot		#pwm-cells = <3>;
793cb7aa33aSEmmanuel Vadot		reg = <0x00 0x23100000 0x00 0x100>;
794cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;
795cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 51 0>;
796cb7aa33aSEmmanuel Vadot		clock-names = "fck";
797cb7aa33aSEmmanuel Vadot		status = "disabled";
798cb7aa33aSEmmanuel Vadot	};
799cb7aa33aSEmmanuel Vadot
800cb7aa33aSEmmanuel Vadot	ecap1: pwm@23110000 {
801cb7aa33aSEmmanuel Vadot		compatible = "ti,am3352-ecap";
802cb7aa33aSEmmanuel Vadot		#pwm-cells = <3>;
803cb7aa33aSEmmanuel Vadot		reg = <0x00 0x23110000 0x00 0x100>;
804cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>;
805cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 52 0>;
806cb7aa33aSEmmanuel Vadot		clock-names = "fck";
807cb7aa33aSEmmanuel Vadot		status = "disabled";
808cb7aa33aSEmmanuel Vadot	};
809cb7aa33aSEmmanuel Vadot
810cb7aa33aSEmmanuel Vadot	ecap2: pwm@23120000 {
811cb7aa33aSEmmanuel Vadot		compatible = "ti,am3352-ecap";
812cb7aa33aSEmmanuel Vadot		#pwm-cells = <3>;
813cb7aa33aSEmmanuel Vadot		reg = <0x00 0x23120000 0x00 0x100>;
814cb7aa33aSEmmanuel Vadot		power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>;
815cb7aa33aSEmmanuel Vadot		clocks = <&k3_clks 53 0>;
816cb7aa33aSEmmanuel Vadot		clock-names = "fck";
817cb7aa33aSEmmanuel Vadot		status = "disabled";
818cb7aa33aSEmmanuel Vadot	};
8197ef62cebSEmmanuel Vadot};
820