Skip to content

Commit 76aa309

Browse files
vaishnavachathnmenon
authored andcommitted
arm64: dts: ti: k3-j721e: Add MCSPI nodes
J721E has 8 MCSPI instances in the main domain and 3 instances in the MCU domain. Add the DT nodes for all the 11 instances and keep them disabled. MAIN_MCSPI4 is connected as a slave to MCU_MCSPI2 by default at power-up, MAIN_MCSPI4 and MCU_MCSPI2 are not pinned out externally. Co-developed-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Reviewed-by: Jai Luthra <j-luthra@ti.com> Link: https://lore.kernel.org/r/20230321082827.14274-2-vaishnav.a@ti.com Signed-off-by: Nishanth Menon <nm@ti.com>
1 parent e6a51ff commit 76aa309

2 files changed

Lines changed: 121 additions & 0 deletions

File tree

arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2444,4 +2444,92 @@
24442444
bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
24452445
status = "disabled";
24462446
};
2447+
2448+
main_spi0: spi@2100000 {
2449+
compatible = "ti,am654-mcspi","ti,omap4-mcspi";
2450+
reg = <0x00 0x02100000 0x00 0x400>;
2451+
interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
2452+
#address-cells = <1>;
2453+
#size-cells = <0>;
2454+
power-domains = <&k3_pds 266 TI_SCI_PD_EXCLUSIVE>;
2455+
clocks = <&k3_clks 266 1>;
2456+
status = "disabled";
2457+
};
2458+
2459+
main_spi1: spi@2110000 {
2460+
compatible = "ti,am654-mcspi","ti,omap4-mcspi";
2461+
reg = <0x00 0x02110000 0x00 0x400>;
2462+
interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
2463+
#address-cells = <1>;
2464+
#size-cells = <0>;
2465+
power-domains = <&k3_pds 267 TI_SCI_PD_EXCLUSIVE>;
2466+
clocks = <&k3_clks 267 1>;
2467+
status = "disabled";
2468+
};
2469+
2470+
main_spi2: spi@2120000 {
2471+
compatible = "ti,am654-mcspi","ti,omap4-mcspi";
2472+
reg = <0x00 0x02120000 0x00 0x400>;
2473+
interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
2474+
#address-cells = <1>;
2475+
#size-cells = <0>;
2476+
power-domains = <&k3_pds 268 TI_SCI_PD_EXCLUSIVE>;
2477+
clocks = <&k3_clks 268 1>;
2478+
status = "disabled";
2479+
};
2480+
2481+
main_spi3: spi@2130000 {
2482+
compatible = "ti,am654-mcspi","ti,omap4-mcspi";
2483+
reg = <0x00 0x02130000 0x00 0x400>;
2484+
interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
2485+
#address-cells = <1>;
2486+
#size-cells = <0>;
2487+
power-domains = <&k3_pds 269 TI_SCI_PD_EXCLUSIVE>;
2488+
clocks = <&k3_clks 269 1>;
2489+
status = "disabled";
2490+
};
2491+
2492+
main_spi4: spi@2140000 {
2493+
compatible = "ti,am654-mcspi","ti,omap4-mcspi";
2494+
reg = <0x00 0x02140000 0x00 0x400>;
2495+
interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
2496+
#address-cells = <1>;
2497+
#size-cells = <0>;
2498+
power-domains = <&k3_pds 270 TI_SCI_PD_EXCLUSIVE>;
2499+
clocks = <&k3_clks 270 1>;
2500+
status = "disabled";
2501+
};
2502+
2503+
main_spi5: spi@2150000 {
2504+
compatible = "ti,am654-mcspi","ti,omap4-mcspi";
2505+
reg = <0x00 0x02150000 0x00 0x400>;
2506+
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
2507+
#address-cells = <1>;
2508+
#size-cells = <0>;
2509+
power-domains = <&k3_pds 271 TI_SCI_PD_EXCLUSIVE>;
2510+
clocks = <&k3_clks 271 1>;
2511+
status = "disabled";
2512+
};
2513+
2514+
main_spi6: spi@2160000 {
2515+
compatible = "ti,am654-mcspi","ti,omap4-mcspi";
2516+
reg = <0x00 0x02160000 0x00 0x400>;
2517+
interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
2518+
#address-cells = <1>;
2519+
#size-cells = <0>;
2520+
power-domains = <&k3_pds 272 TI_SCI_PD_EXCLUSIVE>;
2521+
clocks = <&k3_clks 272 1>;
2522+
status = "disabled";
2523+
};
2524+
2525+
main_spi7: spi@2170000 {
2526+
compatible = "ti,am654-mcspi","ti,omap4-mcspi";
2527+
reg = <0x00 0x02170000 0x00 0x400>;
2528+
interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
2529+
#address-cells = <1>;
2530+
#size-cells = <0>;
2531+
power-domains = <&k3_pds 273 TI_SCI_PD_EXCLUSIVE>;
2532+
clocks = <&k3_clks 273 1>;
2533+
status = "disabled";
2534+
};
24472535
};

arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,4 +425,37 @@
425425
bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
426426
status = "disabled";
427427
};
428+
429+
mcu_spi0: spi@40300000 {
430+
compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
431+
reg = <0x00 0x040300000 0x00 0x400>;
432+
interrupts = <GIC_SPI 848 IRQ_TYPE_LEVEL_HIGH>;
433+
#address-cells = <1>;
434+
#size-cells = <0>;
435+
power-domains = <&k3_pds 274 TI_SCI_PD_EXCLUSIVE>;
436+
clocks = <&k3_clks 274 0>;
437+
status = "disabled";
438+
};
439+
440+
mcu_spi1: spi@40310000 {
441+
compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
442+
reg = <0x00 0x040310000 0x00 0x400>;
443+
interrupts = <GIC_SPI 849 IRQ_TYPE_LEVEL_HIGH>;
444+
#address-cells = <1>;
445+
#size-cells = <0>;
446+
power-domains = <&k3_pds 275 TI_SCI_PD_EXCLUSIVE>;
447+
clocks = <&k3_clks 275 0>;
448+
status = "disabled";
449+
};
450+
451+
mcu_spi2: spi@40320000 {
452+
compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
453+
reg = <0x00 0x040320000 0x00 0x400>;
454+
interrupts = <GIC_SPI 850 IRQ_TYPE_LEVEL_HIGH>;
455+
#address-cells = <1>;
456+
#size-cells = <0>;
457+
power-domains = <&k3_pds 276 TI_SCI_PD_EXCLUSIVE>;
458+
clocks = <&k3_clks 276 0>;
459+
status = "disabled";
460+
};
428461
};

0 commit comments

Comments
 (0)