File Index
Files and directories
Sign in
FILE

k3-am62p-j722s-common-mcu.dtsi

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi DEVICETREE
  1// SPDX-License-Identifier: GPL-2.0-only OR MIT
  2/*
  3 * Device Tree file for the MCU domain peripherals shared by AM62P and J722S
  4 *
  5 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
  6 */
  7
  8&cbass_mcu {
  9	mcu_pmx0: pinctrl@4084000 {
 10		compatible = "pinctrl-single";
 11		reg = <0x00 0x04084000 0x00 0x88>;
 12		#pinctrl-cells = <1>;
 13		pinctrl-single,register-width = <32>;
 14		pinctrl-single,function-mask = <0xffffffff>;
 15		bootph-all;
 16	};
 17
 18	mcu_esm: esm@4100000 {
 19		compatible = "ti,j721e-esm";
 20		reg = <0x00 0x4100000 0x00 0x1000>;
 21		bootph-pre-ram;
 22		/* Interrupt sources: esm0_cfg, esm0_hi, esm0_low, mrti0, wrti0 */
 23		ti,esm-pins = <0>, <1>, <2>, <85>, <86>;
 24	};
 25
 26	/*
 27	 * The MCU domain timer interrupts are routed only to the ESM module,
 28	 * and not currently available for Linux. The MCU domain timers are
 29	 * of limited use without interrupts, and likely reserved by the ESM.
 30	 */
 31	mcu_timer0: timer@4800000 {
 32		compatible = "ti,am654-timer";
 33		reg = <0x00 0x4800000 0x00 0x400>;
 34		clocks = <&k3_clks 35 2>;
 35		clock-names = "fck";
 36		power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
 37		ti,timer-pwm;
 38		status = "reserved";
 39	};
 40
 41	mcu_timer1: timer@4810000 {
 42		compatible = "ti,am654-timer";
 43		reg = <0x00 0x4810000 0x00 0x400>;
 44		clocks = <&k3_clks 48 2>;
 45		clock-names = "fck";
 46		power-domains = <&k3_pds 48 TI_SCI_PD_EXCLUSIVE>;
 47		ti,timer-pwm;
 48		status = "reserved";
 49	};
 50
 51	mcu_timer2: timer@4820000 {
 52		compatible = "ti,am654-timer";
 53		reg = <0x00 0x4820000 0x00 0x400>;
 54		clocks = <&k3_clks 49 2>;
 55		clock-names = "fck";
 56		power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>;
 57		ti,timer-pwm;
 58		status = "reserved";
 59	};
 60
 61	mcu_timer3: timer@4830000 {
 62		compatible = "ti,am654-timer";
 63		reg = <0x00 0x4830000 0x00 0x400>;
 64		clocks = <&k3_clks 50 2>;
 65		clock-names = "fck";
 66		power-domains = <&k3_pds 50 TI_SCI_PD_EXCLUSIVE>;
 67		ti,timer-pwm;
 68		status = "reserved";
 69	};
 70
 71	mcu_uart0: serial@4a00000 {
 72		compatible = "ti,am64-uart", "ti,am654-uart";
 73		reg = <0x00 0x04a00000 0x00 0x100>;
 74		interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
 75		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
 76		clocks = <&k3_clks 149 0>;
 77		clock-names = "fclk";
 78		status = "disabled";
 79	};
 80
 81	mcu_i2c0: i2c@4900000 {
 82		compatible = "ti,am64-i2c", "ti,omap4-i2c";
 83		reg = <0x00 0x04900000 0x00 0x100>;
 84		interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
 85		#address-cells = <1>;
 86		#size-cells = <0>;
 87		power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
 88		clocks = <&k3_clks 106 2>;
 89		clock-names = "fck";
 90		status = "disabled";
 91	};
 92
 93	mcu_spi0: spi@4b00000 {
 94		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
 95		reg = <0x00 0x04b00000 0x00 0x400>;
 96		interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
 97		#address-cells = <1>;
 98		#size-cells = <0>;
 99		power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
100		clocks = <&k3_clks 147 0>;
101		status = "disabled";
102	};
103
104	mcu_spi1: spi@4b10000 {
105		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
106		reg = <0x00 0x04b10000 0x00 0x400>;
107		interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
108		#address-cells = <1>;
109		#size-cells = <0>;
110		power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;
111		clocks = <&k3_clks 148 0>;
112		status = "disabled";
113	};
114
115	mcu_gpio_intr: interrupt-controller@4210000 {
116		compatible = "ti,sci-intr";
117		reg = <0x00 0x04210000 0x00 0x200>;
118		ti,intr-trigger-type = <1>;
119		interrupt-controller;
120		interrupt-parent = <&gic500>;
121		#interrupt-cells = <1>;
122		ti,sci = <&dmsc>;
123		ti,sci-dev-id = <5>;
124		ti,interrupt-ranges = <0 104 4>;
125	};
126
127	mcu_gpio0: gpio@4201000 {
128		compatible = "ti,am64-gpio", "ti,keystone-gpio";
129		reg = <0x00 0x4201000 0x00 0x100>;
130		gpio-controller;
131		#gpio-cells = <2>;
132		interrupt-parent = <&mcu_gpio_intr>;
133		interrupts = <30>, <31>;
134		interrupt-controller;
135		#interrupt-cells = <2>;
136		ti,ngpio = <24>;
137		ti,davinci-gpio-unbanked = <0>;
138		power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>;
139		clocks = <&k3_clks 79 0>;
140		clock-names = "gpio";
141		gpio-ranges = <&mcu_pmx0 0 0 21>, <&mcu_pmx0 21 23 1>,
142			      <&mcu_pmx0 22 32 2>;
143	};
144
145	mcu_rti0: watchdog@4880000 {
146		compatible = "ti,j7-rti-wdt";
147		reg = <0x00 0x04880000 0x00 0x100>;
148		clocks = <&k3_clks 131 0>;
149		power-domains = <&k3_pds 131 TI_SCI_PD_EXCLUSIVE>;
150		assigned-clocks = <&k3_clks 131 0>;
151		assigned-clock-parents = <&k3_clks 131 2>;
152		/* Tightly coupled to M4F */
153		status = "reserved";
154	};
155
156	mcu_mcan0: can@4e08000 {
157		compatible = "bosch,m_can";
158		reg = <0x00 0x4e08000 0x00 0x200>,
159		      <0x00 0x4e00000 0x00 0x8000>;
160		reg-names = "m_can", "message_ram";
161		power-domains = <&k3_pds 188 TI_SCI_PD_EXCLUSIVE>;
162		clocks = <&k3_clks 188 6>, <&k3_clks 188 1>;
163		clock-names = "hclk", "cclk";
164		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
165		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
166			     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
167		interrupt-names = "int0", "int1";
168		status = "disabled";
169	};
170
171	mcu_mcan1: can@4e18000 {
172		compatible = "bosch,m_can";
173		reg = <0x00 0x4e18000 0x00 0x200>,
174		      <0x00 0x4e10000 0x00 0x8000>;
175		reg-names = "m_can", "message_ram";
176		power-domains = <&k3_pds 189 TI_SCI_PD_EXCLUSIVE>;
177		clocks = <&k3_clks 189 6>, <&k3_clks 189 1>;
178		clock-names = "hclk", "cclk";
179		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
180		interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>,
181			     <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
182		interrupt-names = "int0", "int1";
183		status = "disabled";
184	};
185
186	mcu_r5fss0: r5fss@79000000 {
187		compatible = "ti,am62-r5fss";
188		#address-cells = <1>;
189		#size-cells = <1>;
190		ranges = <0x79000000 0x00 0x79000000 0x8000>,
191			 <0x79020000 0x00 0x79020000 0x8000>;
192		power-domains = <&k3_pds 7 TI_SCI_PD_EXCLUSIVE>;
193		status = "disabled";
194
195		mcu_r5fss0_core0: r5f@79000000 {
196			compatible = "ti,am62-r5f";
197			reg = <0x79000000 0x00008000>,
198			      <0x79020000 0x00008000>;
199			reg-names = "atcm", "btcm";
200			ti,sci = <&dmsc>;
201			ti,sci-dev-id = <9>;
202			ti,sci-proc-ids = <0x03 0xff>;
203			resets = <&k3_reset 9 1>;
204			firmware-name = "am62p-mcu-r5f0_0-fw";
205			ti,atcm-enable = <0>;
206			ti,btcm-enable = <1>;
207			ti,loczrama = <0>;
208			status = "disabled";
209		};
210	};
211};
~/ Read-only file preview.