14201af25SNishanth Menon// SPDX-License-Identifier: GPL-2.0
24201af25SNishanth Menon/*
34201af25SNishanth Menon * Device Tree Source for AM6 SoC Family MCU Domain peripherals
44201af25SNishanth Menon *
55bb9e0f6SSuman Anna * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/
64201af25SNishanth Menon */
74201af25SNishanth Menon
84201af25SNishanth Menon&cbass_mcu {
9e5c956c4SNishanth Menon	mcu_conf: scm-conf@40f00000 {
10f2965b99SGrygorii Strashko		compatible = "syscon", "simple-mfd";
11f2965b99SGrygorii Strashko		reg = <0x0 0x40f00000 0x0 0x20000>;
12f2965b99SGrygorii Strashko		#address-cells = <1>;
13f2965b99SGrygorii Strashko		#size-cells = <1>;
14f2965b99SGrygorii Strashko		ranges = <0x0 0x0 0x40f00000 0x20000>;
15243246b5SGrygorii Strashko
16243246b5SGrygorii Strashko		phy_gmii_sel: phy@4040 {
17243246b5SGrygorii Strashko			compatible = "ti,am654-phy-gmii-sel";
18243246b5SGrygorii Strashko			reg = <0x4040 0x4>;
19243246b5SGrygorii Strashko			#phy-cells = <1>;
20243246b5SGrygorii Strashko		};
21f2965b99SGrygorii Strashko	};
22f2965b99SGrygorii Strashko
237928c712STony Lindgren	/* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */
247928c712STony Lindgren	mcu_timerio_input: pinctrl@40f04200 {
257928c712STony Lindgren		compatible = "pinctrl-single";
267928c712STony Lindgren		reg = <0x0 0x40f04200 0x0 0x10>;
277928c712STony Lindgren		#pinctrl-cells = <1>;
287928c712STony Lindgren		pinctrl-single,register-width = <32>;
297928c712STony Lindgren		pinctrl-single,function-mask = <0x00000101>;
307928c712STony Lindgren	};
317928c712STony Lindgren
327928c712STony Lindgren	/* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */
337928c712STony Lindgren	mcu_timerio_output: pinctrl@40f04280 {
347928c712STony Lindgren		compatible = "pinctrl-single";
357928c712STony Lindgren		reg = <0x0 0x40f04280 0x0 0x8>;
367928c712STony Lindgren		#pinctrl-cells = <1>;
377928c712STony Lindgren		pinctrl-single,register-width = <32>;
387928c712STony Lindgren		pinctrl-single,function-mask = <0x00000003>;
397928c712STony Lindgren	};
407928c712STony Lindgren
414201af25SNishanth Menon	mcu_uart0: serial@40a00000 {
424201af25SNishanth Menon		compatible = "ti,am654-uart";
434201af25SNishanth Menon		reg = <0x00 0x40a00000 0x00 0x100>;
444201af25SNishanth Menon		interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
454201af25SNishanth Menon		clock-frequency = <96000000>;
464201af25SNishanth Menon		current-speed = <115200>;
47c68272cbSLokesh Vutla		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
4865e8781aSAndrew Davis		status = "disabled";
494201af25SNishanth Menon	};
5019a1768fSVignesh R
51f853f005SSuman Anna	mcu_ram: sram@41c00000 {
52f853f005SSuman Anna		compatible = "mmio-sram";
53f853f005SSuman Anna		reg = <0x00 0x41c00000 0x00 0x80000>;
54f853f005SSuman Anna		ranges = <0x0 0x00 0x41c00000 0x80000>;
55f853f005SSuman Anna		#address-cells = <1>;
56f853f005SSuman Anna		#size-cells = <1>;
57f853f005SSuman Anna	};
58f853f005SSuman Anna
5919a1768fSVignesh R	mcu_i2c0: i2c@40b00000 {
6019a1768fSVignesh R		compatible = "ti,am654-i2c", "ti,omap4-i2c";
6119a1768fSVignesh R		reg = <0x0 0x40b00000 0x0 0x100>;
6219a1768fSVignesh R		interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>;
6319a1768fSVignesh R		#address-cells = <1>;
6419a1768fSVignesh R		#size-cells = <0>;
6519a1768fSVignesh R		clock-names = "fck";
6619a1768fSVignesh R		clocks = <&k3_clks 114 1>;
67c68272cbSLokesh Vutla		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
68c0a5ba87SAndrew Davis		status = "disabled";
6919a1768fSVignesh R	};
702cd7d393SVignesh R
712cd7d393SVignesh R	mcu_spi0: spi@40300000 {
722cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
732cd7d393SVignesh R		reg = <0x0 0x40300000 0x0 0x400>;
742cd7d393SVignesh R		interrupts = <GIC_SPI 560 IRQ_TYPE_LEVEL_HIGH>;
752cd7d393SVignesh R		clocks = <&k3_clks 142 1>;
76c68272cbSLokesh Vutla		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
772cd7d393SVignesh R		#address-cells = <1>;
782cd7d393SVignesh R		#size-cells = <0>;
791c49cbb1SAndrew Davis		status = "disabled";
802cd7d393SVignesh R	};
812cd7d393SVignesh R
822cd7d393SVignesh R	mcu_spi1: spi@40310000 {
832cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
842cd7d393SVignesh R		reg = <0x0 0x40310000 0x0 0x400>;
852cd7d393SVignesh R		interrupts = <GIC_SPI 561 IRQ_TYPE_LEVEL_HIGH>;
862cd7d393SVignesh R		clocks = <&k3_clks 143 1>;
87c68272cbSLokesh Vutla		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
882cd7d393SVignesh R		#address-cells = <1>;
892cd7d393SVignesh R		#size-cells = <0>;
901c49cbb1SAndrew Davis		status = "disabled";
912cd7d393SVignesh R	};
922cd7d393SVignesh R
932cd7d393SVignesh R	mcu_spi2: spi@40320000 {
942cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
952cd7d393SVignesh R		reg = <0x0 0x40320000 0x0 0x400>;
962cd7d393SVignesh R		interrupts = <GIC_SPI 562 IRQ_TYPE_LEVEL_HIGH>;
972cd7d393SVignesh R		clocks = <&k3_clks 144 1>;
98c68272cbSLokesh Vutla		power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
992cd7d393SVignesh R		#address-cells = <1>;
1002cd7d393SVignesh R		#size-cells = <0>;
1011c49cbb1SAndrew Davis		status = "disabled";
1022cd7d393SVignesh R	};
103aa6eaaa2SVignesh R
104aa6eaaa2SVignesh R	tscadc0: tscadc@40200000 {
105aa6eaaa2SVignesh R		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
106aa6eaaa2SVignesh R		reg = <0x0 0x40200000 0x0 0x1000>;
107aa6eaaa2SVignesh R		interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
108aa6eaaa2SVignesh R		clocks = <&k3_clks 0 2>;
109aa6eaaa2SVignesh R		assigned-clocks = <&k3_clks 0 2>;
110aa6eaaa2SVignesh R		assigned-clock-rates = <60000000>;
111e5bad300SMatt Ranostay		clock-names = "fck";
11285800da0SVignesh Raghavendra		dmas = <&mcu_udmap 0x7100>,
11385800da0SVignesh Raghavendra			<&mcu_udmap 0x7101 >;
11485800da0SVignesh Raghavendra		dma-names = "fifo0", "fifo1";
1151228242dSAndrew Davis		status = "disabled";
116aa6eaaa2SVignesh R
117aa6eaaa2SVignesh R		adc {
118aa6eaaa2SVignesh R			#io-channel-cells = <1>;
119aa6eaaa2SVignesh R			compatible = "ti,am654-adc", "ti,am3359-adc";
120aa6eaaa2SVignesh R		};
121aa6eaaa2SVignesh R	};
122aa6eaaa2SVignesh R
123aa6eaaa2SVignesh R	tscadc1: tscadc@40210000 {
124aa6eaaa2SVignesh R		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
125aa6eaaa2SVignesh R		reg = <0x0 0x40210000 0x0 0x1000>;
126aa6eaaa2SVignesh R		interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
127aa6eaaa2SVignesh R		clocks = <&k3_clks 1 2>;
128aa6eaaa2SVignesh R		assigned-clocks = <&k3_clks 1 2>;
129aa6eaaa2SVignesh R		assigned-clock-rates = <60000000>;
130e5bad300SMatt Ranostay		clock-names = "fck";
13185800da0SVignesh Raghavendra		dmas = <&mcu_udmap 0x7102>,
13285800da0SVignesh Raghavendra			<&mcu_udmap 0x7103>;
13385800da0SVignesh Raghavendra		dma-names = "fifo0", "fifo1";
1341228242dSAndrew Davis		status = "disabled";
135aa6eaaa2SVignesh R
136aa6eaaa2SVignesh R		adc {
137aa6eaaa2SVignesh R			#io-channel-cells = <1>;
138aa6eaaa2SVignesh R			compatible = "ti,am654-adc", "ti,am3359-adc";
139aa6eaaa2SVignesh R		};
140aa6eaaa2SVignesh R	};
14107481770SVignesh Raghavendra
142cdbaf880STony Lindgren	/*
143cdbaf880STony Lindgren	 * The MCU domain timer interrupts are routed only to the ESM module,
144cdbaf880STony Lindgren	 * and not currently available for Linux. The MCU domain timers are
145cdbaf880STony Lindgren	 * of limited use without interrupts, and likely reserved by the ESM.
146cdbaf880STony Lindgren	 */
147cdbaf880STony Lindgren	mcu_timer0: timer@40400000 {
148cdbaf880STony Lindgren		compatible = "ti,am654-timer";
149cdbaf880STony Lindgren		reg = <0x00 0x40400000 0x00 0x400>;
150cdbaf880STony Lindgren		clocks = <&k3_clks 35 0>;
151cdbaf880STony Lindgren		clock-names = "fck";
152cdbaf880STony Lindgren		power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
153cdbaf880STony Lindgren		ti,timer-pwm;
154cdbaf880STony Lindgren		status = "reserved";
155cdbaf880STony Lindgren	};
156cdbaf880STony Lindgren
157cdbaf880STony Lindgren	mcu_timer1: timer@40410000 {
158cdbaf880STony Lindgren		compatible = "ti,am654-timer";
159cdbaf880STony Lindgren		reg = <0x00 0x40410000 0x00 0x400>;
160cdbaf880STony Lindgren		clocks = <&k3_clks 36 0>;
161cdbaf880STony Lindgren		clock-names = "fck";
162cdbaf880STony Lindgren		power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>;
163cdbaf880STony Lindgren		ti,timer-pwm;
164cdbaf880STony Lindgren		status = "reserved";
165cdbaf880STony Lindgren	};
166cdbaf880STony Lindgren
167cdbaf880STony Lindgren	mcu_timer2: timer@40420000 {
168cdbaf880STony Lindgren		compatible = "ti,am654-timer";
169cdbaf880STony Lindgren		reg = <0x00 0x40420000 0x00 0x400>;
170cdbaf880STony Lindgren		clocks = <&k3_clks 37 0>;
171cdbaf880STony Lindgren		clock-names = "fck";
172cdbaf880STony Lindgren		power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>;
173cdbaf880STony Lindgren		ti,timer-pwm;
174cdbaf880STony Lindgren		status = "reserved";
175cdbaf880STony Lindgren	};
176cdbaf880STony Lindgren
177cdbaf880STony Lindgren	mcu_timer3: timer@40430000 {
178cdbaf880STony Lindgren		compatible = "ti,am654-timer";
179cdbaf880STony Lindgren		reg = <0x00 0x40430000 0x00 0x400>;
180cdbaf880STony Lindgren		clocks = <&k3_clks 38 0>;
181cdbaf880STony Lindgren		clock-names = "fck";
182cdbaf880STony Lindgren		power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>;
183cdbaf880STony Lindgren		ti,timer-pwm;
184cdbaf880STony Lindgren		status = "reserved";
185cdbaf880STony Lindgren	};
186cdbaf880STony Lindgren
1879ecdb6d6SNishanth Menon	mcu_navss: bus@28380000 {
1883d623054SPeter Ujfalusi		compatible = "simple-mfd";
1893d623054SPeter Ujfalusi		#address-cells = <2>;
1903d623054SPeter Ujfalusi		#size-cells = <2>;
1919ecdb6d6SNishanth Menon		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
1923d623054SPeter Ujfalusi		dma-coherent;
1933d623054SPeter Ujfalusi		dma-ranges;
1943d623054SPeter Ujfalusi
1953d623054SPeter Ujfalusi		ti,sci-dev-id = <119>;
1963d623054SPeter Ujfalusi
1973d623054SPeter Ujfalusi		mcu_ringacc: ringacc@2b800000 {
1983d623054SPeter Ujfalusi			compatible = "ti,am654-navss-ringacc";
1993d623054SPeter Ujfalusi			reg = <0x0 0x2b800000 0x0 0x400000>,
2003d623054SPeter Ujfalusi			      <0x0 0x2b000000 0x0 0x400000>,
2013d623054SPeter Ujfalusi			      <0x0 0x28590000 0x0 0x100>,
202702110c2SVignesh Raghavendra			      <0x0 0x2a500000 0x0 0x40000>,
203702110c2SVignesh Raghavendra			      <0x0 0x28440000 0x0 0x40000>;
204702110c2SVignesh Raghavendra			reg-names = "rt", "fifos", "proxy_gcfg",
205702110c2SVignesh Raghavendra				    "proxy_target", "cfg";
2063d623054SPeter Ujfalusi			ti,num-rings = <286>;
2076da45875SLokesh Vutla			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
2083d623054SPeter Ujfalusi			ti,sci = <&dmsc>;
2093d623054SPeter Ujfalusi			ti,sci-dev-id = <195>;
2103d623054SPeter Ujfalusi			msi-parent = <&inta_main_udmass>;
2113d623054SPeter Ujfalusi		};
2123d623054SPeter Ujfalusi
2133d623054SPeter Ujfalusi		mcu_udmap: dma-controller@285c0000 {
2143d623054SPeter Ujfalusi			compatible = "ti,am654-navss-mcu-udmap";
2153d623054SPeter Ujfalusi			reg = <0x0 0x285c0000 0x0 0x100>,
2163d623054SPeter Ujfalusi			      <0x0 0x2a800000 0x0 0x40000>,
2173d623054SPeter Ujfalusi			      <0x0 0x2aa00000 0x0 0x40000>;
2183d623054SPeter Ujfalusi			reg-names = "gcfg", "rchanrt", "tchanrt";
2193d623054SPeter Ujfalusi			msi-parent = <&inta_main_udmass>;
2203d623054SPeter Ujfalusi			#dma-cells = <1>;
2213d623054SPeter Ujfalusi
2223d623054SPeter Ujfalusi			ti,sci = <&dmsc>;
2233d623054SPeter Ujfalusi			ti,sci-dev-id = <194>;
2243d623054SPeter Ujfalusi			ti,ringacc = <&mcu_ringacc>;
2253d623054SPeter Ujfalusi
2266da45875SLokesh Vutla			ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */
2276da45875SLokesh Vutla						<0xd>; /* TX_CHAN */
2286da45875SLokesh Vutla			ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
2296da45875SLokesh Vutla						<0xa>; /* RX_CHAN */
2306da45875SLokesh Vutla			ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */
2313d623054SPeter Ujfalusi		};
2323d623054SPeter Ujfalusi	};
2333d623054SPeter Ujfalusi
23484debc33SNishanth Menon	secure_proxy_mcu: mailbox@2a480000 {
23584debc33SNishanth Menon		compatible = "ti,am654-secure-proxy";
23684debc33SNishanth Menon		#mbox-cells = <1>;
23784debc33SNishanth Menon		reg-names = "target_data", "rt", "scfg";
23884debc33SNishanth Menon		reg = <0x0 0x2a480000 0x0 0x80000>,
23984debc33SNishanth Menon		      <0x0 0x2a380000 0x0 0x80000>,
24084debc33SNishanth Menon		      <0x0 0x2a400000 0x0 0x80000>;
24184debc33SNishanth Menon		/*
24284debc33SNishanth Menon		 * Marked Disabled:
24384debc33SNishanth Menon		 * Node is incomplete as it is meant for bootloaders and
24484debc33SNishanth Menon		 * firmware on non-MPU processors
24584debc33SNishanth Menon		 */
24684debc33SNishanth Menon		status = "disabled";
24784debc33SNishanth Menon	};
24884debc33SNishanth Menon
249498f7b0fSNishanth Menon	m_can0: can@40528000 {
250c3e4ea55SFaiz Abbas		compatible = "bosch,m_can";
251c3e4ea55SFaiz Abbas		reg = <0x0 0x40528000 0x0 0x400>,
252c3e4ea55SFaiz Abbas		      <0x0 0x40500000 0x0 0x4400>;
253c3e4ea55SFaiz Abbas		reg-names = "m_can", "message_ram";
254c3e4ea55SFaiz Abbas		power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
255c3e4ea55SFaiz Abbas		clocks = <&k3_clks 102 5>, <&k3_clks 102 0>;
256c3e4ea55SFaiz Abbas		clock-names = "hclk", "cclk";
257c3e4ea55SFaiz Abbas		interrupt-parent = <&gic500>;
258c3e4ea55SFaiz Abbas		interrupts = <GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>,
259c3e4ea55SFaiz Abbas			     <GIC_SPI 545 IRQ_TYPE_LEVEL_HIGH>;
260c3e4ea55SFaiz Abbas		interrupt-names = "int0", "int1";
261c3e4ea55SFaiz Abbas		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
262b08bf4a5SAndrew Davis		status = "disabled";
263c3e4ea55SFaiz Abbas	};
264c3e4ea55SFaiz Abbas
265498f7b0fSNishanth Menon	m_can1: can@40568000 {
266c3e4ea55SFaiz Abbas		compatible = "bosch,m_can";
267c3e4ea55SFaiz Abbas		reg = <0x0 0x40568000 0x0 0x400>,
268c3e4ea55SFaiz Abbas		      <0x0 0x40540000 0x0 0x4400>;
269c3e4ea55SFaiz Abbas		reg-names = "m_can", "message_ram";
270c3e4ea55SFaiz Abbas		power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
271c3e4ea55SFaiz Abbas		clocks = <&k3_clks 103 5>, <&k3_clks 103 0>;
272c3e4ea55SFaiz Abbas		clock-names = "hclk", "cclk";
273c3e4ea55SFaiz Abbas		interrupt-parent = <&gic500>;
274c3e4ea55SFaiz Abbas		interrupts = <GIC_SPI 547 IRQ_TYPE_LEVEL_HIGH>,
275c3e4ea55SFaiz Abbas			     <GIC_SPI 548 IRQ_TYPE_LEVEL_HIGH>;
276c3e4ea55SFaiz Abbas		interrupt-names = "int0", "int1";
277c3e4ea55SFaiz Abbas		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
278b08bf4a5SAndrew Davis		status = "disabled";
279c3e4ea55SFaiz Abbas	};
280c3e4ea55SFaiz Abbas
281*8ea3fc2bSDhruva Gole	fss: bus@47000000 {
28207481770SVignesh Raghavendra		compatible = "simple-bus";
28307481770SVignesh Raghavendra		#address-cells = <2>;
28407481770SVignesh Raghavendra		#size-cells = <2>;
28507481770SVignesh Raghavendra		ranges;
28607481770SVignesh Raghavendra
28707481770SVignesh Raghavendra		ospi0: spi@47040000 {
28807481770SVignesh Raghavendra			compatible = "ti,am654-ospi", "cdns,qspi-nor";
28907481770SVignesh Raghavendra			reg = <0x0 0x47040000 0x0 0x100>,
29007481770SVignesh Raghavendra				<0x5 0x00000000 0x1 0x0000000>;
29107481770SVignesh Raghavendra			interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>;
29207481770SVignesh Raghavendra			cdns,fifo-depth = <256>;
29307481770SVignesh Raghavendra			cdns,fifo-width = <4>;
29407481770SVignesh Raghavendra			cdns,trigger-address = <0x0>;
29507481770SVignesh Raghavendra			clocks = <&k3_clks 248 0>;
29607481770SVignesh Raghavendra			assigned-clocks = <&k3_clks 248 0>;
29707481770SVignesh Raghavendra			assigned-clock-parents = <&k3_clks 248 2>;
29807481770SVignesh Raghavendra			assigned-clock-rates = <166666666>;
29907481770SVignesh Raghavendra			power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>;
30007481770SVignesh Raghavendra			#address-cells = <1>;
30107481770SVignesh Raghavendra			#size-cells = <0>;
30246d0c519SAndrew Davis			status = "disabled";
30307481770SVignesh Raghavendra		};
30407481770SVignesh Raghavendra
30507481770SVignesh Raghavendra		ospi1: spi@47050000 {
30607481770SVignesh Raghavendra			compatible = "ti,am654-ospi", "cdns,qspi-nor";
30707481770SVignesh Raghavendra			reg = <0x0 0x47050000 0x0 0x100>,
30807481770SVignesh Raghavendra				<0x7 0x00000000 0x1 0x00000000>;
30907481770SVignesh Raghavendra			interrupts = <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>;
31007481770SVignesh Raghavendra			cdns,fifo-depth = <256>;
31107481770SVignesh Raghavendra			cdns,fifo-width = <4>;
31207481770SVignesh Raghavendra			cdns,trigger-address = <0x0>;
31307481770SVignesh Raghavendra			clocks = <&k3_clks 249 6>;
31407481770SVignesh Raghavendra			power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
31507481770SVignesh Raghavendra			#address-cells = <1>;
31607481770SVignesh Raghavendra			#size-cells = <0>;
31746d0c519SAndrew Davis			status = "disabled";
31807481770SVignesh Raghavendra		};
31907481770SVignesh Raghavendra	};
320ba86a6e9SGrygorii Strashko
321ba86a6e9SGrygorii Strashko	mcu_cpsw: ethernet@46000000 {
322ba86a6e9SGrygorii Strashko		compatible = "ti,am654-cpsw-nuss";
323ba86a6e9SGrygorii Strashko		#address-cells = <2>;
324ba86a6e9SGrygorii Strashko		#size-cells = <2>;
325ba86a6e9SGrygorii Strashko		reg = <0x0 0x46000000 0x0 0x200000>;
326ba86a6e9SGrygorii Strashko		reg-names = "cpsw_nuss";
327ba86a6e9SGrygorii Strashko		ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>;
328ba86a6e9SGrygorii Strashko		dma-coherent;
329ba86a6e9SGrygorii Strashko		clocks = <&k3_clks 5 10>;
330ba86a6e9SGrygorii Strashko		clock-names = "fck";
331ba86a6e9SGrygorii Strashko		power-domains = <&k3_pds 5 TI_SCI_PD_EXCLUSIVE>;
332ba86a6e9SGrygorii Strashko
333ba86a6e9SGrygorii Strashko		dmas = <&mcu_udmap 0xf000>,
334ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf001>,
335ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf002>,
336ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf003>,
337ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf004>,
338ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf005>,
339ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf006>,
340ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf007>,
341ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0x7000>;
342ba86a6e9SGrygorii Strashko		dma-names = "tx0", "tx1", "tx2", "tx3",
343ba86a6e9SGrygorii Strashko			    "tx4", "tx5", "tx6", "tx7",
344ba86a6e9SGrygorii Strashko			    "rx";
345ba86a6e9SGrygorii Strashko
346ba86a6e9SGrygorii Strashko		ethernet-ports {
347ba86a6e9SGrygorii Strashko			#address-cells = <1>;
348ba86a6e9SGrygorii Strashko			#size-cells = <0>;
349ba86a6e9SGrygorii Strashko
350ba86a6e9SGrygorii Strashko			cpsw_port1: port@1 {
351ba86a6e9SGrygorii Strashko				reg = <1>;
352ba86a6e9SGrygorii Strashko				ti,mac-only;
353ba86a6e9SGrygorii Strashko				label = "port1";
354ba86a6e9SGrygorii Strashko				ti,syscon-efuse = <&mcu_conf 0x200>;
355ba86a6e9SGrygorii Strashko				phys = <&phy_gmii_sel 1>;
356ba86a6e9SGrygorii Strashko			};
357ba86a6e9SGrygorii Strashko		};
358ba86a6e9SGrygorii Strashko
359ba86a6e9SGrygorii Strashko		davinci_mdio: mdio@f00 {
360ba86a6e9SGrygorii Strashko			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
361ba86a6e9SGrygorii Strashko			reg = <0x0 0xf00 0x0 0x100>;
362ba86a6e9SGrygorii Strashko			#address-cells = <1>;
363ba86a6e9SGrygorii Strashko			#size-cells = <0>;
364ba86a6e9SGrygorii Strashko			clocks = <&k3_clks 5 10>;
365ba86a6e9SGrygorii Strashko			clock-names = "fck";
366ba86a6e9SGrygorii Strashko			bus_freq = <1000000>;
367c75c5c0bSAndrew Davis			status = "disabled";
368ba86a6e9SGrygorii Strashko		};
369885a26baSGrygorii Strashko
370ef2d1363SGrygorii Strashko		cpts@3d000 {
371ef2d1363SGrygorii Strashko			compatible = "ti,am65-cpts";
372ef2d1363SGrygorii Strashko			reg = <0x0 0x3d000 0x0 0x400>;
373885a26baSGrygorii Strashko			clocks = <&mcu_cpsw_cpts_mux>;
374885a26baSGrygorii Strashko			clock-names = "cpts";
375885a26baSGrygorii Strashko			interrupts-extended = <&gic500 GIC_SPI 570 IRQ_TYPE_LEVEL_HIGH>;
376885a26baSGrygorii Strashko			interrupt-names = "cpts";
377885a26baSGrygorii Strashko			ti,cpts-ext-ts-inputs = <4>;
378885a26baSGrygorii Strashko			ti,cpts-periodic-outputs = <2>;
379885a26baSGrygorii Strashko
380885a26baSGrygorii Strashko			mcu_cpsw_cpts_mux: refclk-mux {
381885a26baSGrygorii Strashko				#clock-cells = <0>;
382885a26baSGrygorii Strashko				clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
383885a26baSGrygorii Strashko					<&k3_clks 118 6>, <&k3_clks 118 3>,
384885a26baSGrygorii Strashko					<&k3_clks 118 8>, <&k3_clks 118 14>,
385885a26baSGrygorii Strashko					<&k3_clks 120 3>, <&k3_clks 121 3>;
386885a26baSGrygorii Strashko				assigned-clocks = <&mcu_cpsw_cpts_mux>;
387885a26baSGrygorii Strashko				assigned-clock-parents = <&k3_clks 118 5>;
388885a26baSGrygorii Strashko			};
389885a26baSGrygorii Strashko		};
390ba86a6e9SGrygorii Strashko	};
3915bb9e0f6SSuman Anna
3925bb9e0f6SSuman Anna	mcu_r5fss0: r5fss@41000000 {
3935bb9e0f6SSuman Anna		compatible = "ti,am654-r5fss";
3945bb9e0f6SSuman Anna		ti,cluster-mode = <1>;
3955bb9e0f6SSuman Anna		#address-cells = <1>;
3965bb9e0f6SSuman Anna		#size-cells = <1>;
3975bb9e0f6SSuman Anna		ranges = <0x41000000 0x00 0x41000000 0x20000>,
3985bb9e0f6SSuman Anna			 <0x41400000 0x00 0x41400000 0x20000>;
3995bb9e0f6SSuman Anna		power-domains = <&k3_pds 129 TI_SCI_PD_EXCLUSIVE>;
4005bb9e0f6SSuman Anna
4015bb9e0f6SSuman Anna		mcu_r5fss0_core0: r5f@41000000 {
4025bb9e0f6SSuman Anna			compatible = "ti,am654-r5f";
4035bb9e0f6SSuman Anna			reg = <0x41000000 0x00008000>,
4045bb9e0f6SSuman Anna			      <0x41010000 0x00008000>;
4055bb9e0f6SSuman Anna			reg-names = "atcm", "btcm";
4065bb9e0f6SSuman Anna			ti,sci = <&dmsc>;
4075bb9e0f6SSuman Anna			ti,sci-dev-id = <159>;
4085bb9e0f6SSuman Anna			ti,sci-proc-ids = <0x01 0xff>;
4095bb9e0f6SSuman Anna			resets = <&k3_reset 159 1>;
4105bb9e0f6SSuman Anna			firmware-name = "am65x-mcu-r5f0_0-fw";
4115bb9e0f6SSuman Anna			ti,atcm-enable = <1>;
4125bb9e0f6SSuman Anna			ti,btcm-enable = <1>;
4135bb9e0f6SSuman Anna			ti,loczrama = <1>;
4145bb9e0f6SSuman Anna		};
4155bb9e0f6SSuman Anna
4165bb9e0f6SSuman Anna		mcu_r5fss0_core1: r5f@41400000 {
4175bb9e0f6SSuman Anna			compatible = "ti,am654-r5f";
4185bb9e0f6SSuman Anna			reg = <0x41400000 0x00008000>,
4195bb9e0f6SSuman Anna			      <0x41410000 0x00008000>;
4205bb9e0f6SSuman Anna			reg-names = "atcm", "btcm";
4215bb9e0f6SSuman Anna			ti,sci = <&dmsc>;
4225bb9e0f6SSuman Anna			ti,sci-dev-id = <245>;
4235bb9e0f6SSuman Anna			ti,sci-proc-ids = <0x02 0xff>;
4245bb9e0f6SSuman Anna			resets = <&k3_reset 245 1>;
4255bb9e0f6SSuman Anna			firmware-name = "am65x-mcu-r5f0_1-fw";
4265bb9e0f6SSuman Anna			ti,atcm-enable = <1>;
4275bb9e0f6SSuman Anna			ti,btcm-enable = <1>;
4285bb9e0f6SSuman Anna			ti,loczrama = <1>;
4295bb9e0f6SSuman Anna		};
4305bb9e0f6SSuman Anna	};
4316674a90bSJan Kiszka
4326674a90bSJan Kiszka	mcu_rti1: watchdog@40610000 {
4336674a90bSJan Kiszka		compatible = "ti,j7-rti-wdt";
4346674a90bSJan Kiszka		reg = <0x0 0x40610000 0x0 0x100>;
4356674a90bSJan Kiszka		clocks = <&k3_clks 135 0>;
4366674a90bSJan Kiszka		power-domains = <&k3_pds 135 TI_SCI_PD_SHARED>;
4376674a90bSJan Kiszka		assigned-clocks = <&k3_clks 135 0>;
4386674a90bSJan Kiszka		assigned-clock-parents = <&k3_clks 135 4>;
4396674a90bSJan Kiszka	};
4404201af25SNishanth Menon};
441