xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am65-mcu.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
101950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Device Tree Source for AM6 SoC Family MCU Domain peripherals
4c66ec88fSEmmanuel Vadot *
501950c46SEmmanuel Vadot * Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/
6c66ec88fSEmmanuel Vadot */
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot&cbass_mcu {
90e8011faSEmmanuel Vadot	mcu_conf: bus@40f00000 {
100e8011faSEmmanuel Vadot		compatible = "simple-bus";
11c66ec88fSEmmanuel Vadot		#address-cells = <1>;
12c66ec88fSEmmanuel Vadot		#size-cells = <1>;
13c66ec88fSEmmanuel Vadot		ranges = <0x0 0x0 0x40f00000 0x20000>;
14c66ec88fSEmmanuel Vadot
150e8011faSEmmanuel Vadot		cpsw_mac_syscon: ethernet-mac-syscon@200 {
160e8011faSEmmanuel Vadot			compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
170e8011faSEmmanuel Vadot			reg = <0x200 0x8>;
180e8011faSEmmanuel Vadot		};
190e8011faSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot		phy_gmii_sel: phy@4040 {
21c66ec88fSEmmanuel Vadot			compatible = "ti,am654-phy-gmii-sel";
22c66ec88fSEmmanuel Vadot			reg = <0x4040 0x4>;
23c66ec88fSEmmanuel Vadot			#phy-cells = <1>;
24c66ec88fSEmmanuel Vadot		};
25c66ec88fSEmmanuel Vadot	};
26c66ec88fSEmmanuel Vadot
278bab661aSEmmanuel Vadot	/* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */
288bab661aSEmmanuel Vadot	mcu_timerio_input: pinctrl@40f04200 {
298bab661aSEmmanuel Vadot		compatible = "pinctrl-single";
308bab661aSEmmanuel Vadot		reg = <0x0 0x40f04200 0x0 0x10>;
318bab661aSEmmanuel Vadot		#pinctrl-cells = <1>;
328bab661aSEmmanuel Vadot		pinctrl-single,register-width = <32>;
338bab661aSEmmanuel Vadot		pinctrl-single,function-mask = <0x00000101>;
348bab661aSEmmanuel Vadot	};
358bab661aSEmmanuel Vadot
368bab661aSEmmanuel Vadot	/* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */
378bab661aSEmmanuel Vadot	mcu_timerio_output: pinctrl@40f04280 {
388bab661aSEmmanuel Vadot		compatible = "pinctrl-single";
398bab661aSEmmanuel Vadot		reg = <0x0 0x40f04280 0x0 0x8>;
408bab661aSEmmanuel Vadot		#pinctrl-cells = <1>;
418bab661aSEmmanuel Vadot		pinctrl-single,register-width = <32>;
428bab661aSEmmanuel Vadot		pinctrl-single,function-mask = <0x00000003>;
438bab661aSEmmanuel Vadot	};
448bab661aSEmmanuel Vadot
45c66ec88fSEmmanuel Vadot	mcu_uart0: serial@40a00000 {
46c66ec88fSEmmanuel Vadot		compatible = "ti,am654-uart";
47c66ec88fSEmmanuel Vadot		reg = <0x00 0x40a00000 0x00 0x100>;
48c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
49c66ec88fSEmmanuel Vadot		clock-frequency = <96000000>;
50c66ec88fSEmmanuel Vadot		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
518bab661aSEmmanuel Vadot		status = "disabled";
52c66ec88fSEmmanuel Vadot	};
53c66ec88fSEmmanuel Vadot
54c66ec88fSEmmanuel Vadot	mcu_ram: sram@41c00000 {
55c66ec88fSEmmanuel Vadot		compatible = "mmio-sram";
56c66ec88fSEmmanuel Vadot		reg = <0x00 0x41c00000 0x00 0x80000>;
57c66ec88fSEmmanuel Vadot		ranges = <0x0 0x00 0x41c00000 0x80000>;
58c66ec88fSEmmanuel Vadot		#address-cells = <1>;
59c66ec88fSEmmanuel Vadot		#size-cells = <1>;
60c66ec88fSEmmanuel Vadot	};
61c66ec88fSEmmanuel Vadot
62c66ec88fSEmmanuel Vadot	mcu_i2c0: i2c@40b00000 {
63c66ec88fSEmmanuel Vadot		compatible = "ti,am654-i2c", "ti,omap4-i2c";
64c66ec88fSEmmanuel Vadot		reg = <0x0 0x40b00000 0x0 0x100>;
65c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>;
66c66ec88fSEmmanuel Vadot		#address-cells = <1>;
67c66ec88fSEmmanuel Vadot		#size-cells = <0>;
68c66ec88fSEmmanuel Vadot		clock-names = "fck";
69c66ec88fSEmmanuel Vadot		clocks = <&k3_clks 114 1>;
70c66ec88fSEmmanuel Vadot		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
718bab661aSEmmanuel Vadot		status = "disabled";
72c66ec88fSEmmanuel Vadot	};
73c66ec88fSEmmanuel Vadot
74c66ec88fSEmmanuel Vadot	mcu_spi0: spi@40300000 {
75c66ec88fSEmmanuel Vadot		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
76c66ec88fSEmmanuel Vadot		reg = <0x0 0x40300000 0x0 0x400>;
77c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 560 IRQ_TYPE_LEVEL_HIGH>;
78c66ec88fSEmmanuel Vadot		clocks = <&k3_clks 142 1>;
79c66ec88fSEmmanuel Vadot		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
80c66ec88fSEmmanuel Vadot		#address-cells = <1>;
81c66ec88fSEmmanuel Vadot		#size-cells = <0>;
828bab661aSEmmanuel Vadot		status = "disabled";
83c66ec88fSEmmanuel Vadot	};
84c66ec88fSEmmanuel Vadot
85c66ec88fSEmmanuel Vadot	mcu_spi1: spi@40310000 {
86c66ec88fSEmmanuel Vadot		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
87c66ec88fSEmmanuel Vadot		reg = <0x0 0x40310000 0x0 0x400>;
88c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 561 IRQ_TYPE_LEVEL_HIGH>;
89c66ec88fSEmmanuel Vadot		clocks = <&k3_clks 143 1>;
90c66ec88fSEmmanuel Vadot		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
91c66ec88fSEmmanuel Vadot		#address-cells = <1>;
92c66ec88fSEmmanuel Vadot		#size-cells = <0>;
938bab661aSEmmanuel Vadot		status = "disabled";
94c66ec88fSEmmanuel Vadot	};
95c66ec88fSEmmanuel Vadot
96c66ec88fSEmmanuel Vadot	mcu_spi2: spi@40320000 {
97c66ec88fSEmmanuel Vadot		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
98c66ec88fSEmmanuel Vadot		reg = <0x0 0x40320000 0x0 0x400>;
99c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 562 IRQ_TYPE_LEVEL_HIGH>;
100c66ec88fSEmmanuel Vadot		clocks = <&k3_clks 144 1>;
101c66ec88fSEmmanuel Vadot		power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
102c66ec88fSEmmanuel Vadot		#address-cells = <1>;
103c66ec88fSEmmanuel Vadot		#size-cells = <0>;
1048bab661aSEmmanuel Vadot		status = "disabled";
105c66ec88fSEmmanuel Vadot	};
106c66ec88fSEmmanuel Vadot
107c66ec88fSEmmanuel Vadot	tscadc0: tscadc@40200000 {
108c66ec88fSEmmanuel Vadot		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
109c66ec88fSEmmanuel Vadot		reg = <0x0 0x40200000 0x0 0x1000>;
110c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
111c66ec88fSEmmanuel Vadot		clocks = <&k3_clks 0 2>;
112c66ec88fSEmmanuel Vadot		assigned-clocks = <&k3_clks 0 2>;
113c66ec88fSEmmanuel Vadot		assigned-clock-rates = <60000000>;
1148bab661aSEmmanuel Vadot		clock-names = "fck";
115c66ec88fSEmmanuel Vadot		dmas = <&mcu_udmap 0x7100>,
116c66ec88fSEmmanuel Vadot			<&mcu_udmap 0x7101 >;
117c66ec88fSEmmanuel Vadot		dma-names = "fifo0", "fifo1";
118aa1a8ff2SEmmanuel Vadot		status = "disabled";
119c66ec88fSEmmanuel Vadot
120c66ec88fSEmmanuel Vadot		adc {
121c66ec88fSEmmanuel Vadot			#io-channel-cells = <1>;
122c66ec88fSEmmanuel Vadot			compatible = "ti,am654-adc", "ti,am3359-adc";
123c66ec88fSEmmanuel Vadot		};
124c66ec88fSEmmanuel Vadot	};
125c66ec88fSEmmanuel Vadot
126c66ec88fSEmmanuel Vadot	tscadc1: tscadc@40210000 {
127c66ec88fSEmmanuel Vadot		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
128c66ec88fSEmmanuel Vadot		reg = <0x0 0x40210000 0x0 0x1000>;
129c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
130c66ec88fSEmmanuel Vadot		clocks = <&k3_clks 1 2>;
131c66ec88fSEmmanuel Vadot		assigned-clocks = <&k3_clks 1 2>;
132c66ec88fSEmmanuel Vadot		assigned-clock-rates = <60000000>;
1338bab661aSEmmanuel Vadot		clock-names = "fck";
134c66ec88fSEmmanuel Vadot		dmas = <&mcu_udmap 0x7102>,
135c66ec88fSEmmanuel Vadot			<&mcu_udmap 0x7103>;
136c66ec88fSEmmanuel Vadot		dma-names = "fifo0", "fifo1";
137aa1a8ff2SEmmanuel Vadot		status = "disabled";
138c66ec88fSEmmanuel Vadot
139c66ec88fSEmmanuel Vadot		adc {
140c66ec88fSEmmanuel Vadot			#io-channel-cells = <1>;
141c66ec88fSEmmanuel Vadot			compatible = "ti,am654-adc", "ti,am3359-adc";
142c66ec88fSEmmanuel Vadot		};
143c66ec88fSEmmanuel Vadot	};
144c66ec88fSEmmanuel Vadot
1458bab661aSEmmanuel Vadot	/*
1468bab661aSEmmanuel Vadot	 * The MCU domain timer interrupts are routed only to the ESM module,
1478bab661aSEmmanuel Vadot	 * and not currently available for Linux. The MCU domain timers are
1488bab661aSEmmanuel Vadot	 * of limited use without interrupts, and likely reserved by the ESM.
1498bab661aSEmmanuel Vadot	 */
1508bab661aSEmmanuel Vadot	mcu_timer0: timer@40400000 {
1518bab661aSEmmanuel Vadot		compatible = "ti,am654-timer";
1528bab661aSEmmanuel Vadot		reg = <0x00 0x40400000 0x00 0x400>;
1538bab661aSEmmanuel Vadot		clocks = <&k3_clks 35 0>;
1548bab661aSEmmanuel Vadot		clock-names = "fck";
1558bab661aSEmmanuel Vadot		power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
1568bab661aSEmmanuel Vadot		ti,timer-pwm;
1578bab661aSEmmanuel Vadot		status = "reserved";
1588bab661aSEmmanuel Vadot	};
1598bab661aSEmmanuel Vadot
1608bab661aSEmmanuel Vadot	mcu_timer1: timer@40410000 {
1618bab661aSEmmanuel Vadot		compatible = "ti,am654-timer";
1628bab661aSEmmanuel Vadot		reg = <0x00 0x40410000 0x00 0x400>;
1638bab661aSEmmanuel Vadot		clocks = <&k3_clks 36 0>;
1648bab661aSEmmanuel Vadot		clock-names = "fck";
1658bab661aSEmmanuel Vadot		power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>;
1668bab661aSEmmanuel Vadot		ti,timer-pwm;
1678bab661aSEmmanuel Vadot		status = "reserved";
1688bab661aSEmmanuel Vadot	};
1698bab661aSEmmanuel Vadot
1708bab661aSEmmanuel Vadot	mcu_timer2: timer@40420000 {
1718bab661aSEmmanuel Vadot		compatible = "ti,am654-timer";
1728bab661aSEmmanuel Vadot		reg = <0x00 0x40420000 0x00 0x400>;
1738bab661aSEmmanuel Vadot		clocks = <&k3_clks 37 0>;
1748bab661aSEmmanuel Vadot		clock-names = "fck";
1758bab661aSEmmanuel Vadot		power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>;
1768bab661aSEmmanuel Vadot		ti,timer-pwm;
1778bab661aSEmmanuel Vadot		status = "reserved";
1788bab661aSEmmanuel Vadot	};
1798bab661aSEmmanuel Vadot
1808bab661aSEmmanuel Vadot	mcu_timer3: timer@40430000 {
1818bab661aSEmmanuel Vadot		compatible = "ti,am654-timer";
1828bab661aSEmmanuel Vadot		reg = <0x00 0x40430000 0x00 0x400>;
1838bab661aSEmmanuel Vadot		clocks = <&k3_clks 38 0>;
1848bab661aSEmmanuel Vadot		clock-names = "fck";
1858bab661aSEmmanuel Vadot		power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>;
1868bab661aSEmmanuel Vadot		ti,timer-pwm;
1878bab661aSEmmanuel Vadot		status = "reserved";
1888bab661aSEmmanuel Vadot	};
1898bab661aSEmmanuel Vadot
1902eb4d8dcSEmmanuel Vadot	mcu_navss: bus@28380000 {
19184943d6fSEmmanuel Vadot		compatible = "simple-bus";
192c66ec88fSEmmanuel Vadot		#address-cells = <2>;
193c66ec88fSEmmanuel Vadot		#size-cells = <2>;
1942eb4d8dcSEmmanuel Vadot		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
195c66ec88fSEmmanuel Vadot		dma-coherent;
196c66ec88fSEmmanuel Vadot		dma-ranges;
197c66ec88fSEmmanuel Vadot
198c66ec88fSEmmanuel Vadot		ti,sci-dev-id = <119>;
199c66ec88fSEmmanuel Vadot
200c66ec88fSEmmanuel Vadot		mcu_ringacc: ringacc@2b800000 {
201c66ec88fSEmmanuel Vadot			compatible = "ti,am654-navss-ringacc";
202c66ec88fSEmmanuel Vadot			reg = <0x0 0x2b800000 0x0 0x400000>,
203c66ec88fSEmmanuel Vadot			      <0x0 0x2b000000 0x0 0x400000>,
204c66ec88fSEmmanuel Vadot			      <0x0 0x28590000 0x0 0x100>,
205aa1a8ff2SEmmanuel Vadot			      <0x0 0x2a500000 0x0 0x40000>,
206aa1a8ff2SEmmanuel Vadot			      <0x0 0x28440000 0x0 0x40000>;
207aa1a8ff2SEmmanuel Vadot			reg-names = "rt", "fifos", "proxy_gcfg",
208aa1a8ff2SEmmanuel Vadot				    "proxy_target", "cfg";
209c66ec88fSEmmanuel Vadot			ti,num-rings = <286>;
210c66ec88fSEmmanuel Vadot			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
211c66ec88fSEmmanuel Vadot			ti,sci = <&dmsc>;
212c66ec88fSEmmanuel Vadot			ti,sci-dev-id = <195>;
213c66ec88fSEmmanuel Vadot			msi-parent = <&inta_main_udmass>;
214c66ec88fSEmmanuel Vadot		};
215c66ec88fSEmmanuel Vadot
216c66ec88fSEmmanuel Vadot		mcu_udmap: dma-controller@285c0000 {
217c66ec88fSEmmanuel Vadot			compatible = "ti,am654-navss-mcu-udmap";
218c66ec88fSEmmanuel Vadot			reg = <0x0 0x285c0000 0x0 0x100>,
219c66ec88fSEmmanuel Vadot			      <0x0 0x2a800000 0x0 0x40000>,
2208d13bc63SEmmanuel Vadot			      <0x0 0x2aa00000 0x0 0x40000>,
2218d13bc63SEmmanuel Vadot			      <0x0 0x284a0000 0x0 0x4000>,
2228d13bc63SEmmanuel Vadot			      <0x0 0x284c0000 0x0 0x4000>,
2238d13bc63SEmmanuel Vadot			      <0x0 0x28400000 0x0 0x2000>;
2248d13bc63SEmmanuel Vadot			reg-names = "gcfg", "rchanrt", "tchanrt",
2258d13bc63SEmmanuel Vadot				    "tchan", "rchan", "rflow";
226c66ec88fSEmmanuel Vadot			msi-parent = <&inta_main_udmass>;
227c66ec88fSEmmanuel Vadot			#dma-cells = <1>;
228c66ec88fSEmmanuel Vadot
229c66ec88fSEmmanuel Vadot			ti,sci = <&dmsc>;
230c66ec88fSEmmanuel Vadot			ti,sci-dev-id = <194>;
231c66ec88fSEmmanuel Vadot			ti,ringacc = <&mcu_ringacc>;
232c66ec88fSEmmanuel Vadot
233c66ec88fSEmmanuel Vadot			ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */
234c66ec88fSEmmanuel Vadot						<0xd>; /* TX_CHAN */
235c66ec88fSEmmanuel Vadot			ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
236c66ec88fSEmmanuel Vadot						<0xa>; /* RX_CHAN */
237c66ec88fSEmmanuel Vadot			ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */
238c66ec88fSEmmanuel Vadot		};
239c66ec88fSEmmanuel Vadot	};
240c66ec88fSEmmanuel Vadot
241f126890aSEmmanuel Vadot	secure_proxy_mcu: mailbox@2a480000 {
242f126890aSEmmanuel Vadot		compatible = "ti,am654-secure-proxy";
243f126890aSEmmanuel Vadot		#mbox-cells = <1>;
244f126890aSEmmanuel Vadot		reg-names = "target_data", "rt", "scfg";
245f126890aSEmmanuel Vadot		reg = <0x0 0x2a480000 0x0 0x80000>,
246f126890aSEmmanuel Vadot		      <0x0 0x2a380000 0x0 0x80000>,
247f126890aSEmmanuel Vadot		      <0x0 0x2a400000 0x0 0x80000>;
248f126890aSEmmanuel Vadot		/*
249f126890aSEmmanuel Vadot		 * Marked Disabled:
250f126890aSEmmanuel Vadot		 * Node is incomplete as it is meant for bootloaders and
251f126890aSEmmanuel Vadot		 * firmware on non-MPU processors
252f126890aSEmmanuel Vadot		 */
253f126890aSEmmanuel Vadot		status = "disabled";
254f126890aSEmmanuel Vadot	};
255f126890aSEmmanuel Vadot
256f126890aSEmmanuel Vadot	m_can0: can@40528000 {
257e67e8565SEmmanuel Vadot		compatible = "bosch,m_can";
258e67e8565SEmmanuel Vadot		reg = <0x0 0x40528000 0x0 0x400>,
259e67e8565SEmmanuel Vadot		      <0x0 0x40500000 0x0 0x4400>;
260e67e8565SEmmanuel Vadot		reg-names = "m_can", "message_ram";
261e67e8565SEmmanuel Vadot		power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
262e67e8565SEmmanuel Vadot		clocks = <&k3_clks 102 5>, <&k3_clks 102 0>;
263e67e8565SEmmanuel Vadot		clock-names = "hclk", "cclk";
264e67e8565SEmmanuel Vadot		interrupt-parent = <&gic500>;
265e67e8565SEmmanuel Vadot		interrupts = <GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>,
266e67e8565SEmmanuel Vadot			     <GIC_SPI 545 IRQ_TYPE_LEVEL_HIGH>;
267e67e8565SEmmanuel Vadot		interrupt-names = "int0", "int1";
268e67e8565SEmmanuel Vadot		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
2698bab661aSEmmanuel Vadot		status = "disabled";
270e67e8565SEmmanuel Vadot	};
271e67e8565SEmmanuel Vadot
272f126890aSEmmanuel Vadot	m_can1: can@40568000 {
273e67e8565SEmmanuel Vadot		compatible = "bosch,m_can";
274e67e8565SEmmanuel Vadot		reg = <0x0 0x40568000 0x0 0x400>,
275e67e8565SEmmanuel Vadot		      <0x0 0x40540000 0x0 0x4400>;
276e67e8565SEmmanuel Vadot		reg-names = "m_can", "message_ram";
277e67e8565SEmmanuel Vadot		power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
278e67e8565SEmmanuel Vadot		clocks = <&k3_clks 103 5>, <&k3_clks 103 0>;
279e67e8565SEmmanuel Vadot		clock-names = "hclk", "cclk";
280e67e8565SEmmanuel Vadot		interrupt-parent = <&gic500>;
281e67e8565SEmmanuel Vadot		interrupts = <GIC_SPI 547 IRQ_TYPE_LEVEL_HIGH>,
282e67e8565SEmmanuel Vadot			     <GIC_SPI 548 IRQ_TYPE_LEVEL_HIGH>;
283e67e8565SEmmanuel Vadot		interrupt-names = "int0", "int1";
284e67e8565SEmmanuel Vadot		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
2858bab661aSEmmanuel Vadot		status = "disabled";
286e67e8565SEmmanuel Vadot	};
287e67e8565SEmmanuel Vadot
288aa1a8ff2SEmmanuel Vadot	fss: bus@47000000 {
289c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
290c66ec88fSEmmanuel Vadot		#address-cells = <2>;
291c66ec88fSEmmanuel Vadot		#size-cells = <2>;
2927d0873ebSEmmanuel Vadot		ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x100>, /* FSS Control */
2937d0873ebSEmmanuel Vadot			 <0x0 0x47040000 0x0 0x47040000 0x0 0x100>, /* OSPI0 Control */
2947d0873ebSEmmanuel Vadot			 <0x0 0x47050000 0x0 0x47050000 0x0 0x100>, /* OSPI1 Control */
295*b2d2a78aSEmmanuel Vadot			 <0x0 0x50000000 0x0 0x50000000 0x0 0x10000000>, /* FSS data region 1 */
296*b2d2a78aSEmmanuel Vadot			 <0x4 0x00000000 0x4 0x00000000 0x4 0x00000000>; /* FSS data region 0/3 */
297c66ec88fSEmmanuel Vadot
298c66ec88fSEmmanuel Vadot		ospi0: spi@47040000 {
299c66ec88fSEmmanuel Vadot			compatible = "ti,am654-ospi", "cdns,qspi-nor";
300c66ec88fSEmmanuel Vadot			reg = <0x0 0x47040000 0x0 0x100>,
301*b2d2a78aSEmmanuel Vadot			      <0x5 0x00000000 0x1 0x00000000>;
302c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>;
303c66ec88fSEmmanuel Vadot			cdns,fifo-depth = <256>;
304c66ec88fSEmmanuel Vadot			cdns,fifo-width = <4>;
305c66ec88fSEmmanuel Vadot			cdns,trigger-address = <0x0>;
306c66ec88fSEmmanuel Vadot			clocks = <&k3_clks 248 0>;
307c66ec88fSEmmanuel Vadot			assigned-clocks = <&k3_clks 248 0>;
308c66ec88fSEmmanuel Vadot			assigned-clock-parents = <&k3_clks 248 2>;
309c66ec88fSEmmanuel Vadot			assigned-clock-rates = <166666666>;
310c66ec88fSEmmanuel Vadot			power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>;
311c66ec88fSEmmanuel Vadot			#address-cells = <1>;
312c66ec88fSEmmanuel Vadot			#size-cells = <0>;
313aa1a8ff2SEmmanuel Vadot			status = "disabled";
314c66ec88fSEmmanuel Vadot		};
315c66ec88fSEmmanuel Vadot
316c66ec88fSEmmanuel Vadot		ospi1: spi@47050000 {
317c66ec88fSEmmanuel Vadot			compatible = "ti,am654-ospi", "cdns,qspi-nor";
318c66ec88fSEmmanuel Vadot			reg = <0x0 0x47050000 0x0 0x100>,
319c66ec88fSEmmanuel Vadot			      <0x7 0x00000000 0x1 0x00000000>;
320c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>;
321c66ec88fSEmmanuel Vadot			cdns,fifo-depth = <256>;
322c66ec88fSEmmanuel Vadot			cdns,fifo-width = <4>;
323c66ec88fSEmmanuel Vadot			cdns,trigger-address = <0x0>;
324c66ec88fSEmmanuel Vadot			clocks = <&k3_clks 249 6>;
325c66ec88fSEmmanuel Vadot			power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
326c66ec88fSEmmanuel Vadot			#address-cells = <1>;
327c66ec88fSEmmanuel Vadot			#size-cells = <0>;
328aa1a8ff2SEmmanuel Vadot			status = "disabled";
329c66ec88fSEmmanuel Vadot		};
330c66ec88fSEmmanuel Vadot	};
331c66ec88fSEmmanuel Vadot
332c66ec88fSEmmanuel Vadot	mcu_cpsw: ethernet@46000000 {
333c66ec88fSEmmanuel Vadot		compatible = "ti,am654-cpsw-nuss";
334c66ec88fSEmmanuel Vadot		#address-cells = <2>;
335c66ec88fSEmmanuel Vadot		#size-cells = <2>;
336c66ec88fSEmmanuel Vadot		reg = <0x0 0x46000000 0x0 0x200000>;
337c66ec88fSEmmanuel Vadot		reg-names = "cpsw_nuss";
338c66ec88fSEmmanuel Vadot		ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>;
339c66ec88fSEmmanuel Vadot		dma-coherent;
340c66ec88fSEmmanuel Vadot		clocks = <&k3_clks 5 10>;
341c66ec88fSEmmanuel Vadot		clock-names = "fck";
342c66ec88fSEmmanuel Vadot		power-domains = <&k3_pds 5 TI_SCI_PD_EXCLUSIVE>;
343c66ec88fSEmmanuel Vadot
344c66ec88fSEmmanuel Vadot		dmas = <&mcu_udmap 0xf000>,
345c66ec88fSEmmanuel Vadot		       <&mcu_udmap 0xf001>,
346c66ec88fSEmmanuel Vadot		       <&mcu_udmap 0xf002>,
347c66ec88fSEmmanuel Vadot		       <&mcu_udmap 0xf003>,
348c66ec88fSEmmanuel Vadot		       <&mcu_udmap 0xf004>,
349c66ec88fSEmmanuel Vadot		       <&mcu_udmap 0xf005>,
350c66ec88fSEmmanuel Vadot		       <&mcu_udmap 0xf006>,
351c66ec88fSEmmanuel Vadot		       <&mcu_udmap 0xf007>,
352c66ec88fSEmmanuel Vadot		       <&mcu_udmap 0x7000>;
353c66ec88fSEmmanuel Vadot		dma-names = "tx0", "tx1", "tx2", "tx3",
354c66ec88fSEmmanuel Vadot			    "tx4", "tx5", "tx6", "tx7",
355c66ec88fSEmmanuel Vadot			    "rx";
356c66ec88fSEmmanuel Vadot
357c66ec88fSEmmanuel Vadot		ethernet-ports {
358c66ec88fSEmmanuel Vadot			#address-cells = <1>;
359c66ec88fSEmmanuel Vadot			#size-cells = <0>;
360c66ec88fSEmmanuel Vadot
361c66ec88fSEmmanuel Vadot			cpsw_port1: port@1 {
362c66ec88fSEmmanuel Vadot				reg = <1>;
363c66ec88fSEmmanuel Vadot				ti,mac-only;
364c66ec88fSEmmanuel Vadot				label = "port1";
3650e8011faSEmmanuel Vadot				ti,syscon-efuse = <&cpsw_mac_syscon 0x0>;
366c66ec88fSEmmanuel Vadot				phys = <&phy_gmii_sel 1>;
367c66ec88fSEmmanuel Vadot			};
368c66ec88fSEmmanuel Vadot		};
369c66ec88fSEmmanuel Vadot
370c66ec88fSEmmanuel Vadot		davinci_mdio: mdio@f00 {
371c66ec88fSEmmanuel Vadot			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
372c66ec88fSEmmanuel Vadot			reg = <0x0 0xf00 0x0 0x100>;
373c66ec88fSEmmanuel Vadot			#address-cells = <1>;
374c66ec88fSEmmanuel Vadot			#size-cells = <0>;
375c66ec88fSEmmanuel Vadot			clocks = <&k3_clks 5 10>;
376c66ec88fSEmmanuel Vadot			clock-names = "fck";
377c66ec88fSEmmanuel Vadot			bus_freq = <1000000>;
3788bab661aSEmmanuel Vadot			status = "disabled";
379c66ec88fSEmmanuel Vadot		};
380c66ec88fSEmmanuel Vadot
381c66ec88fSEmmanuel Vadot		cpts@3d000 {
382c66ec88fSEmmanuel Vadot			compatible = "ti,am65-cpts";
383c66ec88fSEmmanuel Vadot			reg = <0x0 0x3d000 0x0 0x400>;
384c66ec88fSEmmanuel Vadot			clocks = <&mcu_cpsw_cpts_mux>;
385c66ec88fSEmmanuel Vadot			clock-names = "cpts";
386c66ec88fSEmmanuel Vadot			interrupts-extended = <&gic500 GIC_SPI 570 IRQ_TYPE_LEVEL_HIGH>;
387c66ec88fSEmmanuel Vadot			interrupt-names = "cpts";
388c66ec88fSEmmanuel Vadot			ti,cpts-ext-ts-inputs = <4>;
389c66ec88fSEmmanuel Vadot			ti,cpts-periodic-outputs = <2>;
390c66ec88fSEmmanuel Vadot
391c66ec88fSEmmanuel Vadot			mcu_cpsw_cpts_mux: refclk-mux {
392c66ec88fSEmmanuel Vadot				#clock-cells = <0>;
393c66ec88fSEmmanuel Vadot				clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
394c66ec88fSEmmanuel Vadot					<&k3_clks 118 6>, <&k3_clks 118 3>,
395c66ec88fSEmmanuel Vadot					<&k3_clks 118 8>, <&k3_clks 118 14>,
396c66ec88fSEmmanuel Vadot					<&k3_clks 120 3>, <&k3_clks 121 3>;
397c66ec88fSEmmanuel Vadot				assigned-clocks = <&mcu_cpsw_cpts_mux>;
398c66ec88fSEmmanuel Vadot				assigned-clock-parents = <&k3_clks 118 5>;
399c66ec88fSEmmanuel Vadot			};
400c66ec88fSEmmanuel Vadot		};
401c66ec88fSEmmanuel Vadot	};
4025def4c47SEmmanuel Vadot
4035def4c47SEmmanuel Vadot	mcu_r5fss0: r5fss@41000000 {
4045def4c47SEmmanuel Vadot		compatible = "ti,am654-r5fss";
4055def4c47SEmmanuel Vadot		ti,cluster-mode = <1>;
4065def4c47SEmmanuel Vadot		#address-cells = <1>;
4075def4c47SEmmanuel Vadot		#size-cells = <1>;
4085def4c47SEmmanuel Vadot		ranges = <0x41000000 0x00 0x41000000 0x20000>,
4095def4c47SEmmanuel Vadot			 <0x41400000 0x00 0x41400000 0x20000>;
4105def4c47SEmmanuel Vadot		power-domains = <&k3_pds 129 TI_SCI_PD_EXCLUSIVE>;
4115def4c47SEmmanuel Vadot
4125def4c47SEmmanuel Vadot		mcu_r5fss0_core0: r5f@41000000 {
4135def4c47SEmmanuel Vadot			compatible = "ti,am654-r5f";
4145def4c47SEmmanuel Vadot			reg = <0x41000000 0x00008000>,
4155def4c47SEmmanuel Vadot			      <0x41010000 0x00008000>;
4165def4c47SEmmanuel Vadot			reg-names = "atcm", "btcm";
4175def4c47SEmmanuel Vadot			ti,sci = <&dmsc>;
4185def4c47SEmmanuel Vadot			ti,sci-dev-id = <159>;
4195def4c47SEmmanuel Vadot			ti,sci-proc-ids = <0x01 0xff>;
4205def4c47SEmmanuel Vadot			resets = <&k3_reset 159 1>;
4215def4c47SEmmanuel Vadot			firmware-name = "am65x-mcu-r5f0_0-fw";
4225def4c47SEmmanuel Vadot			ti,atcm-enable = <1>;
4235def4c47SEmmanuel Vadot			ti,btcm-enable = <1>;
4245def4c47SEmmanuel Vadot			ti,loczrama = <1>;
4255def4c47SEmmanuel Vadot		};
4265def4c47SEmmanuel Vadot
4275def4c47SEmmanuel Vadot		mcu_r5fss0_core1: r5f@41400000 {
4285def4c47SEmmanuel Vadot			compatible = "ti,am654-r5f";
4295def4c47SEmmanuel Vadot			reg = <0x41400000 0x00008000>,
4305def4c47SEmmanuel Vadot			      <0x41410000 0x00008000>;
4315def4c47SEmmanuel Vadot			reg-names = "atcm", "btcm";
4325def4c47SEmmanuel Vadot			ti,sci = <&dmsc>;
4335def4c47SEmmanuel Vadot			ti,sci-dev-id = <245>;
4345def4c47SEmmanuel Vadot			ti,sci-proc-ids = <0x02 0xff>;
4355def4c47SEmmanuel Vadot			resets = <&k3_reset 245 1>;
4365def4c47SEmmanuel Vadot			firmware-name = "am65x-mcu-r5f0_1-fw";
4375def4c47SEmmanuel Vadot			ti,atcm-enable = <1>;
4385def4c47SEmmanuel Vadot			ti,btcm-enable = <1>;
4395def4c47SEmmanuel Vadot			ti,loczrama = <1>;
4405def4c47SEmmanuel Vadot		};
4415def4c47SEmmanuel Vadot	};
4422eb4d8dcSEmmanuel Vadot
443*b2d2a78aSEmmanuel Vadot	mcu_esm: esm@40800000 {
444*b2d2a78aSEmmanuel Vadot		compatible = "ti,j721e-esm";
445*b2d2a78aSEmmanuel Vadot		reg = <0x00 0x40800000 0x00 0x1000>;
446*b2d2a78aSEmmanuel Vadot		bootph-pre-ram;
447*b2d2a78aSEmmanuel Vadot		/* Interrupt sources: mrti0, mrti1 */
448*b2d2a78aSEmmanuel Vadot		ti,esm-pins = <104>, <105>;
449*b2d2a78aSEmmanuel Vadot	};
450*b2d2a78aSEmmanuel Vadot
4512eb4d8dcSEmmanuel Vadot	mcu_rti1: watchdog@40610000 {
4522eb4d8dcSEmmanuel Vadot		compatible = "ti,j7-rti-wdt";
4532eb4d8dcSEmmanuel Vadot		reg = <0x0 0x40610000 0x0 0x100>;
4542eb4d8dcSEmmanuel Vadot		clocks = <&k3_clks 135 0>;
4552eb4d8dcSEmmanuel Vadot		power-domains = <&k3_pds 135 TI_SCI_PD_SHARED>;
4562eb4d8dcSEmmanuel Vadot		assigned-clocks = <&k3_clks 135 0>;
4572eb4d8dcSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 135 4>;
4582eb4d8dcSEmmanuel Vadot	};
459c66ec88fSEmmanuel Vadot};
460