xref: /linux/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
12822c791SNishanth Menon// SPDX-License-Identifier: GPL-2.0-only OR MIT
24201af25SNishanth Menon/*
34201af25SNishanth Menon * Device Tree Source for AM6 SoC Family MCU Domain peripherals
44201af25SNishanth Menon *
52822c791SNishanth Menon * Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/
64201af25SNishanth Menon */
74201af25SNishanth Menon
84201af25SNishanth Menon&cbass_mcu {
90ab18cecSAndrew Davis	mcu_conf: bus@40f00000 {
100ab18cecSAndrew Davis		compatible = "simple-bus";
11f2965b99SGrygorii Strashko		#address-cells = <1>;
12f2965b99SGrygorii Strashko		#size-cells = <1>;
13f2965b99SGrygorii Strashko		ranges = <0x0 0x0 0x40f00000 0x20000>;
14243246b5SGrygorii Strashko
150ab18cecSAndrew Davis		cpsw_mac_syscon: ethernet-mac-syscon@200 {
160ab18cecSAndrew Davis			compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
170ab18cecSAndrew Davis			reg = <0x200 0x8>;
180ab18cecSAndrew Davis		};
190ab18cecSAndrew Davis
20243246b5SGrygorii Strashko		phy_gmii_sel: phy@4040 {
21243246b5SGrygorii Strashko			compatible = "ti,am654-phy-gmii-sel";
22243246b5SGrygorii Strashko			reg = <0x4040 0x4>;
23243246b5SGrygorii Strashko			#phy-cells = <1>;
24243246b5SGrygorii Strashko		};
25f2965b99SGrygorii Strashko	};
26f2965b99SGrygorii Strashko
277928c712STony Lindgren	/* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */
287928c712STony Lindgren	mcu_timerio_input: pinctrl@40f04200 {
297928c712STony Lindgren		compatible = "pinctrl-single";
307928c712STony Lindgren		reg = <0x0 0x40f04200 0x0 0x10>;
317928c712STony Lindgren		#pinctrl-cells = <1>;
327928c712STony Lindgren		pinctrl-single,register-width = <32>;
337928c712STony Lindgren		pinctrl-single,function-mask = <0x00000101>;
347928c712STony Lindgren	};
357928c712STony Lindgren
367928c712STony Lindgren	/* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */
377928c712STony Lindgren	mcu_timerio_output: pinctrl@40f04280 {
387928c712STony Lindgren		compatible = "pinctrl-single";
397928c712STony Lindgren		reg = <0x0 0x40f04280 0x0 0x8>;
407928c712STony Lindgren		#pinctrl-cells = <1>;
417928c712STony Lindgren		pinctrl-single,register-width = <32>;
427928c712STony Lindgren		pinctrl-single,function-mask = <0x00000003>;
437928c712STony Lindgren	};
447928c712STony Lindgren
454201af25SNishanth Menon	mcu_uart0: serial@40a00000 {
464201af25SNishanth Menon		compatible = "ti,am654-uart";
474201af25SNishanth Menon		reg = <0x00 0x40a00000 0x00 0x100>;
484201af25SNishanth Menon		interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
494201af25SNishanth Menon		clock-frequency = <96000000>;
50c68272cbSLokesh Vutla		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
5165e8781aSAndrew Davis		status = "disabled";
524201af25SNishanth Menon	};
5319a1768fSVignesh R
54f853f005SSuman Anna	mcu_ram: sram@41c00000 {
55f853f005SSuman Anna		compatible = "mmio-sram";
56f853f005SSuman Anna		reg = <0x00 0x41c00000 0x00 0x80000>;
57f853f005SSuman Anna		ranges = <0x0 0x00 0x41c00000 0x80000>;
58f853f005SSuman Anna		#address-cells = <1>;
59f853f005SSuman Anna		#size-cells = <1>;
60f853f005SSuman Anna	};
61f853f005SSuman Anna
6219a1768fSVignesh R	mcu_i2c0: i2c@40b00000 {
6319a1768fSVignesh R		compatible = "ti,am654-i2c", "ti,omap4-i2c";
6419a1768fSVignesh R		reg = <0x0 0x40b00000 0x0 0x100>;
6519a1768fSVignesh R		interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>;
6619a1768fSVignesh R		#address-cells = <1>;
6719a1768fSVignesh R		#size-cells = <0>;
6819a1768fSVignesh R		clock-names = "fck";
6919a1768fSVignesh R		clocks = <&k3_clks 114 1>;
70c68272cbSLokesh Vutla		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
71c0a5ba87SAndrew Davis		status = "disabled";
7219a1768fSVignesh R	};
732cd7d393SVignesh R
742cd7d393SVignesh R	mcu_spi0: spi@40300000 {
752cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
762cd7d393SVignesh R		reg = <0x0 0x40300000 0x0 0x400>;
772cd7d393SVignesh R		interrupts = <GIC_SPI 560 IRQ_TYPE_LEVEL_HIGH>;
782cd7d393SVignesh R		clocks = <&k3_clks 142 1>;
79c68272cbSLokesh Vutla		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
802cd7d393SVignesh R		#address-cells = <1>;
812cd7d393SVignesh R		#size-cells = <0>;
821c49cbb1SAndrew Davis		status = "disabled";
832cd7d393SVignesh R	};
842cd7d393SVignesh R
852cd7d393SVignesh R	mcu_spi1: spi@40310000 {
862cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
872cd7d393SVignesh R		reg = <0x0 0x40310000 0x0 0x400>;
882cd7d393SVignesh R		interrupts = <GIC_SPI 561 IRQ_TYPE_LEVEL_HIGH>;
892cd7d393SVignesh R		clocks = <&k3_clks 143 1>;
90c68272cbSLokesh Vutla		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
912cd7d393SVignesh R		#address-cells = <1>;
922cd7d393SVignesh R		#size-cells = <0>;
931c49cbb1SAndrew Davis		status = "disabled";
942cd7d393SVignesh R	};
952cd7d393SVignesh R
962cd7d393SVignesh R	mcu_spi2: spi@40320000 {
972cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
982cd7d393SVignesh R		reg = <0x0 0x40320000 0x0 0x400>;
992cd7d393SVignesh R		interrupts = <GIC_SPI 562 IRQ_TYPE_LEVEL_HIGH>;
1002cd7d393SVignesh R		clocks = <&k3_clks 144 1>;
101c68272cbSLokesh Vutla		power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
1022cd7d393SVignesh R		#address-cells = <1>;
1032cd7d393SVignesh R		#size-cells = <0>;
1041c49cbb1SAndrew Davis		status = "disabled";
1052cd7d393SVignesh R	};
106aa6eaaa2SVignesh R
107aa6eaaa2SVignesh R	tscadc0: tscadc@40200000 {
108aa6eaaa2SVignesh R		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
109aa6eaaa2SVignesh R		reg = <0x0 0x40200000 0x0 0x1000>;
110aa6eaaa2SVignesh R		interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
111aa6eaaa2SVignesh R		clocks = <&k3_clks 0 2>;
112aa6eaaa2SVignesh R		assigned-clocks = <&k3_clks 0 2>;
113aa6eaaa2SVignesh R		assigned-clock-rates = <60000000>;
114e5bad300SMatt Ranostay		clock-names = "fck";
11585800da0SVignesh Raghavendra		dmas = <&mcu_udmap 0x7100>,
11685800da0SVignesh Raghavendra			<&mcu_udmap 0x7101 >;
11785800da0SVignesh Raghavendra		dma-names = "fifo0", "fifo1";
1181228242dSAndrew Davis		status = "disabled";
119aa6eaaa2SVignesh R
120aa6eaaa2SVignesh R		adc {
121aa6eaaa2SVignesh R			#io-channel-cells = <1>;
122aa6eaaa2SVignesh R			compatible = "ti,am654-adc", "ti,am3359-adc";
123aa6eaaa2SVignesh R		};
124aa6eaaa2SVignesh R	};
125aa6eaaa2SVignesh R
126aa6eaaa2SVignesh R	tscadc1: tscadc@40210000 {
127aa6eaaa2SVignesh R		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
128aa6eaaa2SVignesh R		reg = <0x0 0x40210000 0x0 0x1000>;
129aa6eaaa2SVignesh R		interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
130aa6eaaa2SVignesh R		clocks = <&k3_clks 1 2>;
131aa6eaaa2SVignesh R		assigned-clocks = <&k3_clks 1 2>;
132aa6eaaa2SVignesh R		assigned-clock-rates = <60000000>;
133e5bad300SMatt Ranostay		clock-names = "fck";
13485800da0SVignesh Raghavendra		dmas = <&mcu_udmap 0x7102>,
13585800da0SVignesh Raghavendra			<&mcu_udmap 0x7103>;
13685800da0SVignesh Raghavendra		dma-names = "fifo0", "fifo1";
1371228242dSAndrew Davis		status = "disabled";
138aa6eaaa2SVignesh R
139aa6eaaa2SVignesh R		adc {
140aa6eaaa2SVignesh R			#io-channel-cells = <1>;
141aa6eaaa2SVignesh R			compatible = "ti,am654-adc", "ti,am3359-adc";
142aa6eaaa2SVignesh R		};
143aa6eaaa2SVignesh R	};
14407481770SVignesh Raghavendra
145cdbaf880STony Lindgren	/*
146cdbaf880STony Lindgren	 * The MCU domain timer interrupts are routed only to the ESM module,
147cdbaf880STony Lindgren	 * and not currently available for Linux. The MCU domain timers are
148cdbaf880STony Lindgren	 * of limited use without interrupts, and likely reserved by the ESM.
149cdbaf880STony Lindgren	 */
150cdbaf880STony Lindgren	mcu_timer0: timer@40400000 {
151cdbaf880STony Lindgren		compatible = "ti,am654-timer";
152cdbaf880STony Lindgren		reg = <0x00 0x40400000 0x00 0x400>;
153cdbaf880STony Lindgren		clocks = <&k3_clks 35 0>;
154cdbaf880STony Lindgren		clock-names = "fck";
155cdbaf880STony Lindgren		power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
156cdbaf880STony Lindgren		ti,timer-pwm;
157cdbaf880STony Lindgren		status = "reserved";
158cdbaf880STony Lindgren	};
159cdbaf880STony Lindgren
160cdbaf880STony Lindgren	mcu_timer1: timer@40410000 {
161cdbaf880STony Lindgren		compatible = "ti,am654-timer";
162cdbaf880STony Lindgren		reg = <0x00 0x40410000 0x00 0x400>;
163cdbaf880STony Lindgren		clocks = <&k3_clks 36 0>;
164cdbaf880STony Lindgren		clock-names = "fck";
165cdbaf880STony Lindgren		power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>;
166cdbaf880STony Lindgren		ti,timer-pwm;
167cdbaf880STony Lindgren		status = "reserved";
168cdbaf880STony Lindgren	};
169cdbaf880STony Lindgren
170cdbaf880STony Lindgren	mcu_timer2: timer@40420000 {
171cdbaf880STony Lindgren		compatible = "ti,am654-timer";
172cdbaf880STony Lindgren		reg = <0x00 0x40420000 0x00 0x400>;
173cdbaf880STony Lindgren		clocks = <&k3_clks 37 0>;
174cdbaf880STony Lindgren		clock-names = "fck";
175cdbaf880STony Lindgren		power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>;
176cdbaf880STony Lindgren		ti,timer-pwm;
177cdbaf880STony Lindgren		status = "reserved";
178cdbaf880STony Lindgren	};
179cdbaf880STony Lindgren
180cdbaf880STony Lindgren	mcu_timer3: timer@40430000 {
181cdbaf880STony Lindgren		compatible = "ti,am654-timer";
182cdbaf880STony Lindgren		reg = <0x00 0x40430000 0x00 0x400>;
183cdbaf880STony Lindgren		clocks = <&k3_clks 38 0>;
184cdbaf880STony Lindgren		clock-names = "fck";
185cdbaf880STony Lindgren		power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>;
186cdbaf880STony Lindgren		ti,timer-pwm;
187cdbaf880STony Lindgren		status = "reserved";
188cdbaf880STony Lindgren	};
189cdbaf880STony Lindgren
1909ecdb6d6SNishanth Menon	mcu_navss: bus@28380000 {
1916507bfa7SVignesh Raghavendra		compatible = "simple-bus";
1923d623054SPeter Ujfalusi		#address-cells = <2>;
1933d623054SPeter Ujfalusi		#size-cells = <2>;
1949ecdb6d6SNishanth Menon		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
1953d623054SPeter Ujfalusi		dma-coherent;
1963d623054SPeter Ujfalusi		dma-ranges;
1973d623054SPeter Ujfalusi
1983d623054SPeter Ujfalusi		ti,sci-dev-id = <119>;
1993d623054SPeter Ujfalusi
2003d623054SPeter Ujfalusi		mcu_ringacc: ringacc@2b800000 {
2013d623054SPeter Ujfalusi			compatible = "ti,am654-navss-ringacc";
2023d623054SPeter Ujfalusi			reg = <0x0 0x2b800000 0x0 0x400000>,
2033d623054SPeter Ujfalusi			      <0x0 0x2b000000 0x0 0x400000>,
2043d623054SPeter Ujfalusi			      <0x0 0x28590000 0x0 0x100>,
205702110c2SVignesh Raghavendra			      <0x0 0x2a500000 0x0 0x40000>,
206702110c2SVignesh Raghavendra			      <0x0 0x28440000 0x0 0x40000>;
207702110c2SVignesh Raghavendra			reg-names = "rt", "fifos", "proxy_gcfg",
208702110c2SVignesh Raghavendra				    "proxy_target", "cfg";
2093d623054SPeter Ujfalusi			ti,num-rings = <286>;
2106da45875SLokesh Vutla			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
2113d623054SPeter Ujfalusi			ti,sci = <&dmsc>;
2123d623054SPeter Ujfalusi			ti,sci-dev-id = <195>;
2133d623054SPeter Ujfalusi			msi-parent = <&inta_main_udmass>;
2143d623054SPeter Ujfalusi		};
2153d623054SPeter Ujfalusi
2163d623054SPeter Ujfalusi		mcu_udmap: dma-controller@285c0000 {
2173d623054SPeter Ujfalusi			compatible = "ti,am654-navss-mcu-udmap";
2183d623054SPeter Ujfalusi			reg = <0x0 0x285c0000 0x0 0x100>,
2193d623054SPeter Ujfalusi			      <0x0 0x2a800000 0x0 0x40000>,
2200fa8d3a5SManorit Chawdhry			      <0x0 0x2aa00000 0x0 0x40000>,
2210fa8d3a5SManorit Chawdhry			      <0x0 0x284a0000 0x0 0x4000>,
2220fa8d3a5SManorit Chawdhry			      <0x0 0x284c0000 0x0 0x4000>,
2230fa8d3a5SManorit Chawdhry			      <0x0 0x28400000 0x0 0x2000>;
2240fa8d3a5SManorit Chawdhry			reg-names = "gcfg", "rchanrt", "tchanrt",
2250fa8d3a5SManorit Chawdhry				    "tchan", "rchan", "rflow";
2263d623054SPeter Ujfalusi			msi-parent = <&inta_main_udmass>;
2273d623054SPeter Ujfalusi			#dma-cells = <1>;
2283d623054SPeter Ujfalusi
2293d623054SPeter Ujfalusi			ti,sci = <&dmsc>;
2303d623054SPeter Ujfalusi			ti,sci-dev-id = <194>;
2313d623054SPeter Ujfalusi			ti,ringacc = <&mcu_ringacc>;
2323d623054SPeter Ujfalusi
2336da45875SLokesh Vutla			ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */
2346da45875SLokesh Vutla						<0xd>; /* TX_CHAN */
2356da45875SLokesh Vutla			ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
2366da45875SLokesh Vutla						<0xa>; /* RX_CHAN */
2376da45875SLokesh Vutla			ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */
2383d623054SPeter Ujfalusi		};
2393d623054SPeter Ujfalusi	};
2403d623054SPeter Ujfalusi
24184debc33SNishanth Menon	secure_proxy_mcu: mailbox@2a480000 {
24284debc33SNishanth Menon		compatible = "ti,am654-secure-proxy";
24384debc33SNishanth Menon		#mbox-cells = <1>;
24484debc33SNishanth Menon		reg-names = "target_data", "rt", "scfg";
24584debc33SNishanth Menon		reg = <0x0 0x2a480000 0x0 0x80000>,
24684debc33SNishanth Menon		      <0x0 0x2a380000 0x0 0x80000>,
24784debc33SNishanth Menon		      <0x0 0x2a400000 0x0 0x80000>;
24884debc33SNishanth Menon		/*
24984debc33SNishanth Menon		 * Marked Disabled:
25084debc33SNishanth Menon		 * Node is incomplete as it is meant for bootloaders and
25184debc33SNishanth Menon		 * firmware on non-MPU processors
25284debc33SNishanth Menon		 */
25384debc33SNishanth Menon		status = "disabled";
25484debc33SNishanth Menon	};
25584debc33SNishanth Menon
256498f7b0fSNishanth Menon	m_can0: can@40528000 {
257c3e4ea55SFaiz Abbas		compatible = "bosch,m_can";
258c3e4ea55SFaiz Abbas		reg = <0x0 0x40528000 0x0 0x400>,
259c3e4ea55SFaiz Abbas		      <0x0 0x40500000 0x0 0x4400>;
260c3e4ea55SFaiz Abbas		reg-names = "m_can", "message_ram";
261c3e4ea55SFaiz Abbas		power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
262c3e4ea55SFaiz Abbas		clocks = <&k3_clks 102 5>, <&k3_clks 102 0>;
263c3e4ea55SFaiz Abbas		clock-names = "hclk", "cclk";
264c3e4ea55SFaiz Abbas		interrupt-parent = <&gic500>;
265c3e4ea55SFaiz Abbas		interrupts = <GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>,
266c3e4ea55SFaiz Abbas			     <GIC_SPI 545 IRQ_TYPE_LEVEL_HIGH>;
267c3e4ea55SFaiz Abbas		interrupt-names = "int0", "int1";
268c3e4ea55SFaiz Abbas		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
269b08bf4a5SAndrew Davis		status = "disabled";
270c3e4ea55SFaiz Abbas	};
271c3e4ea55SFaiz Abbas
272498f7b0fSNishanth Menon	m_can1: can@40568000 {
273c3e4ea55SFaiz Abbas		compatible = "bosch,m_can";
274c3e4ea55SFaiz Abbas		reg = <0x0 0x40568000 0x0 0x400>,
275c3e4ea55SFaiz Abbas		      <0x0 0x40540000 0x0 0x4400>;
276c3e4ea55SFaiz Abbas		reg-names = "m_can", "message_ram";
277c3e4ea55SFaiz Abbas		power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
278c3e4ea55SFaiz Abbas		clocks = <&k3_clks 103 5>, <&k3_clks 103 0>;
279c3e4ea55SFaiz Abbas		clock-names = "hclk", "cclk";
280c3e4ea55SFaiz Abbas		interrupt-parent = <&gic500>;
281c3e4ea55SFaiz Abbas		interrupts = <GIC_SPI 547 IRQ_TYPE_LEVEL_HIGH>,
282c3e4ea55SFaiz Abbas			     <GIC_SPI 548 IRQ_TYPE_LEVEL_HIGH>;
283c3e4ea55SFaiz Abbas		interrupt-names = "int0", "int1";
284c3e4ea55SFaiz Abbas		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
285b08bf4a5SAndrew Davis		status = "disabled";
286c3e4ea55SFaiz Abbas	};
287c3e4ea55SFaiz Abbas
2888ea3fc2bSDhruva Gole	fss: bus@47000000 {
28907481770SVignesh Raghavendra		compatible = "simple-bus";
29007481770SVignesh Raghavendra		#address-cells = <2>;
29107481770SVignesh Raghavendra		#size-cells = <2>;
2928ec19dbeSAndrew Davis		ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x100>, /* FSS Control */
2938ec19dbeSAndrew Davis			 <0x0 0x47040000 0x0 0x47040000 0x0 0x100>, /* OSPI0 Control */
2948ec19dbeSAndrew Davis			 <0x0 0x47050000 0x0 0x47050000 0x0 0x100>, /* OSPI1 Control */
29555799866SAndrew Davis			 <0x0 0x50000000 0x0 0x50000000 0x0 0x10000000>, /* FSS data region 1 */
29655799866SAndrew Davis			 <0x4 0x00000000 0x4 0x00000000 0x4 0x00000000>; /* FSS data region 0/3 */
29707481770SVignesh Raghavendra
29807481770SVignesh Raghavendra		ospi0: spi@47040000 {
29907481770SVignesh Raghavendra			compatible = "ti,am654-ospi", "cdns,qspi-nor";
30007481770SVignesh Raghavendra			reg = <0x0 0x47040000 0x0 0x100>,
30155799866SAndrew Davis			      <0x5 0x00000000 0x1 0x00000000>;
30207481770SVignesh Raghavendra			interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>;
30307481770SVignesh Raghavendra			cdns,fifo-depth = <256>;
30407481770SVignesh Raghavendra			cdns,fifo-width = <4>;
30507481770SVignesh Raghavendra			cdns,trigger-address = <0x0>;
30607481770SVignesh Raghavendra			clocks = <&k3_clks 248 0>;
30707481770SVignesh Raghavendra			assigned-clocks = <&k3_clks 248 0>;
30807481770SVignesh Raghavendra			assigned-clock-parents = <&k3_clks 248 2>;
30907481770SVignesh Raghavendra			assigned-clock-rates = <166666666>;
31007481770SVignesh Raghavendra			power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>;
31107481770SVignesh Raghavendra			#address-cells = <1>;
31207481770SVignesh Raghavendra			#size-cells = <0>;
31346d0c519SAndrew Davis			status = "disabled";
31407481770SVignesh Raghavendra		};
31507481770SVignesh Raghavendra
31607481770SVignesh Raghavendra		ospi1: spi@47050000 {
31707481770SVignesh Raghavendra			compatible = "ti,am654-ospi", "cdns,qspi-nor";
31807481770SVignesh Raghavendra			reg = <0x0 0x47050000 0x0 0x100>,
31907481770SVignesh Raghavendra			      <0x7 0x00000000 0x1 0x00000000>;
32007481770SVignesh Raghavendra			interrupts = <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>;
32107481770SVignesh Raghavendra			cdns,fifo-depth = <256>;
32207481770SVignesh Raghavendra			cdns,fifo-width = <4>;
32307481770SVignesh Raghavendra			cdns,trigger-address = <0x0>;
32407481770SVignesh Raghavendra			clocks = <&k3_clks 249 6>;
32507481770SVignesh Raghavendra			power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
32607481770SVignesh Raghavendra			#address-cells = <1>;
32707481770SVignesh Raghavendra			#size-cells = <0>;
32846d0c519SAndrew Davis			status = "disabled";
32907481770SVignesh Raghavendra		};
33007481770SVignesh Raghavendra	};
331ba86a6e9SGrygorii Strashko
332ba86a6e9SGrygorii Strashko	mcu_cpsw: ethernet@46000000 {
333ba86a6e9SGrygorii Strashko		compatible = "ti,am654-cpsw-nuss";
334ba86a6e9SGrygorii Strashko		#address-cells = <2>;
335ba86a6e9SGrygorii Strashko		#size-cells = <2>;
336ba86a6e9SGrygorii Strashko		reg = <0x0 0x46000000 0x0 0x200000>;
337ba86a6e9SGrygorii Strashko		reg-names = "cpsw_nuss";
338ba86a6e9SGrygorii Strashko		ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>;
339ba86a6e9SGrygorii Strashko		dma-coherent;
340ba86a6e9SGrygorii Strashko		clocks = <&k3_clks 5 10>;
341ba86a6e9SGrygorii Strashko		clock-names = "fck";
342ba86a6e9SGrygorii Strashko		power-domains = <&k3_pds 5 TI_SCI_PD_EXCLUSIVE>;
343ba86a6e9SGrygorii Strashko
344ba86a6e9SGrygorii Strashko		dmas = <&mcu_udmap 0xf000>,
345ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf001>,
346ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf002>,
347ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf003>,
348ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf004>,
349ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf005>,
350ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf006>,
351ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf007>,
352ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0x7000>;
353ba86a6e9SGrygorii Strashko		dma-names = "tx0", "tx1", "tx2", "tx3",
354ba86a6e9SGrygorii Strashko			    "tx4", "tx5", "tx6", "tx7",
355ba86a6e9SGrygorii Strashko			    "rx";
356ba86a6e9SGrygorii Strashko
357ba86a6e9SGrygorii Strashko		ethernet-ports {
358ba86a6e9SGrygorii Strashko			#address-cells = <1>;
359ba86a6e9SGrygorii Strashko			#size-cells = <0>;
360ba86a6e9SGrygorii Strashko
361ba86a6e9SGrygorii Strashko			cpsw_port1: port@1 {
362ba86a6e9SGrygorii Strashko				reg = <1>;
363ba86a6e9SGrygorii Strashko				ti,mac-only;
364ba86a6e9SGrygorii Strashko				label = "port1";
3650ab18cecSAndrew Davis				ti,syscon-efuse = <&cpsw_mac_syscon 0x0>;
366ba86a6e9SGrygorii Strashko				phys = <&phy_gmii_sel 1>;
367ba86a6e9SGrygorii Strashko			};
368ba86a6e9SGrygorii Strashko		};
369ba86a6e9SGrygorii Strashko
370ba86a6e9SGrygorii Strashko		davinci_mdio: mdio@f00 {
371ba86a6e9SGrygorii Strashko			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
372ba86a6e9SGrygorii Strashko			reg = <0x0 0xf00 0x0 0x100>;
373ba86a6e9SGrygorii Strashko			#address-cells = <1>;
374ba86a6e9SGrygorii Strashko			#size-cells = <0>;
375ba86a6e9SGrygorii Strashko			clocks = <&k3_clks 5 10>;
376ba86a6e9SGrygorii Strashko			clock-names = "fck";
377ba86a6e9SGrygorii Strashko			bus_freq = <1000000>;
378c75c5c0bSAndrew Davis			status = "disabled";
379ba86a6e9SGrygorii Strashko		};
380885a26baSGrygorii Strashko
381ef2d1363SGrygorii Strashko		cpts@3d000 {
382ef2d1363SGrygorii Strashko			compatible = "ti,am65-cpts";
383ef2d1363SGrygorii Strashko			reg = <0x0 0x3d000 0x0 0x400>;
384885a26baSGrygorii Strashko			clocks = <&mcu_cpsw_cpts_mux>;
385885a26baSGrygorii Strashko			clock-names = "cpts";
386885a26baSGrygorii Strashko			interrupts-extended = <&gic500 GIC_SPI 570 IRQ_TYPE_LEVEL_HIGH>;
387885a26baSGrygorii Strashko			interrupt-names = "cpts";
388885a26baSGrygorii Strashko			ti,cpts-ext-ts-inputs = <4>;
389885a26baSGrygorii Strashko			ti,cpts-periodic-outputs = <2>;
390885a26baSGrygorii Strashko
391885a26baSGrygorii Strashko			mcu_cpsw_cpts_mux: refclk-mux {
392885a26baSGrygorii Strashko				#clock-cells = <0>;
393885a26baSGrygorii Strashko				clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
394885a26baSGrygorii Strashko					<&k3_clks 118 6>, <&k3_clks 118 3>,
395885a26baSGrygorii Strashko					<&k3_clks 118 8>, <&k3_clks 118 14>,
396885a26baSGrygorii Strashko					<&k3_clks 120 3>, <&k3_clks 121 3>;
397885a26baSGrygorii Strashko				assigned-clocks = <&mcu_cpsw_cpts_mux>;
398885a26baSGrygorii Strashko				assigned-clock-parents = <&k3_clks 118 5>;
399885a26baSGrygorii Strashko			};
400885a26baSGrygorii Strashko		};
401ba86a6e9SGrygorii Strashko	};
4025bb9e0f6SSuman Anna
4035bb9e0f6SSuman Anna	mcu_r5fss0: r5fss@41000000 {
4045bb9e0f6SSuman Anna		compatible = "ti,am654-r5fss";
4055bb9e0f6SSuman Anna		ti,cluster-mode = <1>;
4065bb9e0f6SSuman Anna		#address-cells = <1>;
4075bb9e0f6SSuman Anna		#size-cells = <1>;
4085bb9e0f6SSuman Anna		ranges = <0x41000000 0x00 0x41000000 0x20000>,
4095bb9e0f6SSuman Anna			 <0x41400000 0x00 0x41400000 0x20000>;
4105bb9e0f6SSuman Anna		power-domains = <&k3_pds 129 TI_SCI_PD_EXCLUSIVE>;
4115bb9e0f6SSuman Anna
4125bb9e0f6SSuman Anna		mcu_r5fss0_core0: r5f@41000000 {
4135bb9e0f6SSuman Anna			compatible = "ti,am654-r5f";
4145bb9e0f6SSuman Anna			reg = <0x41000000 0x00008000>,
4155bb9e0f6SSuman Anna			      <0x41010000 0x00008000>;
4165bb9e0f6SSuman Anna			reg-names = "atcm", "btcm";
4175bb9e0f6SSuman Anna			ti,sci = <&dmsc>;
4185bb9e0f6SSuman Anna			ti,sci-dev-id = <159>;
4195bb9e0f6SSuman Anna			ti,sci-proc-ids = <0x01 0xff>;
4205bb9e0f6SSuman Anna			resets = <&k3_reset 159 1>;
4215bb9e0f6SSuman Anna			firmware-name = "am65x-mcu-r5f0_0-fw";
4225bb9e0f6SSuman Anna			ti,atcm-enable = <1>;
4235bb9e0f6SSuman Anna			ti,btcm-enable = <1>;
4245bb9e0f6SSuman Anna			ti,loczrama = <1>;
4255bb9e0f6SSuman Anna		};
4265bb9e0f6SSuman Anna
4275bb9e0f6SSuman Anna		mcu_r5fss0_core1: r5f@41400000 {
4285bb9e0f6SSuman Anna			compatible = "ti,am654-r5f";
4295bb9e0f6SSuman Anna			reg = <0x41400000 0x00008000>,
4305bb9e0f6SSuman Anna			      <0x41410000 0x00008000>;
4315bb9e0f6SSuman Anna			reg-names = "atcm", "btcm";
4325bb9e0f6SSuman Anna			ti,sci = <&dmsc>;
4335bb9e0f6SSuman Anna			ti,sci-dev-id = <245>;
4345bb9e0f6SSuman Anna			ti,sci-proc-ids = <0x02 0xff>;
4355bb9e0f6SSuman Anna			resets = <&k3_reset 245 1>;
4365bb9e0f6SSuman Anna			firmware-name = "am65x-mcu-r5f0_1-fw";
4375bb9e0f6SSuman Anna			ti,atcm-enable = <1>;
4385bb9e0f6SSuman Anna			ti,btcm-enable = <1>;
4395bb9e0f6SSuman Anna			ti,loczrama = <1>;
4405bb9e0f6SSuman Anna		};
4415bb9e0f6SSuman Anna	};
4426674a90bSJan Kiszka
443*50f368a0SJudith Mendez	mcu_esm: esm@40800000 {
444*50f368a0SJudith Mendez		compatible = "ti,j721e-esm";
445*50f368a0SJudith Mendez		reg = <0x00 0x40800000 0x00 0x1000>;
446*50f368a0SJudith Mendez		bootph-pre-ram;
447*50f368a0SJudith Mendez		/* Interrupt sources: mrti0, mrti1 */
448*50f368a0SJudith Mendez		ti,esm-pins = <104>, <105>;
449*50f368a0SJudith Mendez	};
450*50f368a0SJudith Mendez
4516674a90bSJan Kiszka	mcu_rti1: watchdog@40610000 {
4526674a90bSJan Kiszka		compatible = "ti,j7-rti-wdt";
4536674a90bSJan Kiszka		reg = <0x0 0x40610000 0x0 0x100>;
4546674a90bSJan Kiszka		clocks = <&k3_clks 135 0>;
4556674a90bSJan Kiszka		power-domains = <&k3_pds 135 TI_SCI_PD_SHARED>;
4566674a90bSJan Kiszka		assigned-clocks = <&k3_clks 135 0>;
4576674a90bSJan Kiszka		assigned-clock-parents = <&k3_clks 135 4>;
4586674a90bSJan Kiszka	};
4594201af25SNishanth Menon};
460