This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
For my application, I need to enable MCU_MCSPI0 and MCU_SPI1 on the J722S.
I noticed that for MCU domain peripherals for other platforms, there is an *-mcu.dtsi associated with them (e.g. k3-am65-mcu.dtsi, k3-j721e-mcu-wakeup.dtsi, etc..).
My assumption is that the MCU_MCSPI0 device tree node should be similarly added, but there is no such file (k3-j722s-mcu.dtsi).
Where should I add the device tree node? Are there any other differences to consider when enabling main vs MCU peripherals?
Thank you,
Jin
Hi Jin,
This was an attempt to reuse similar code.
So if you open: arch/arm64/boot/dts/ti/k3-j722s.dtsi
k3-j722s.dtsi inlcudes k3-am62p5.dtsi which inturn include k3-am62p.dtsi
if you check k3-am62p5.dtsi this has exactly what you are looking for:
/* Now include peripherals for each bus segment */
#include "k3-am62p-main.dtsi"
#include "k3-am62p-mcu.dtsi"
#include "k3-am62p-wakeup.dtsi"
So you could include in the k3-am62p-mcu.dtsi
- Keerthy