OpenNuvoton / MA35D1_RTP_BSP

MA35D1 Real Time Processor (RTP) BSP
1 stars 1 forks source link

Assign peripherals to CM4 (SUBM) from Linux Kernel #2

Closed calonsoecler closed 1 year ago

calonsoecler commented 1 year ago

I have successfully tested to assign peripherals to CM4 through TF-A. Now I'm wondering if it possible to assign a peripheral to CM4 from Linux kernel using kernel device tree or once the system has completely boot. Any idea?

ychuang3 commented 1 year ago

TF-A is running at Cortex-A35 secure-EL3 mode, while Linux kernel is running at Cortex-A35 non-secure-EL1 mode. In MA35D1, peripheral device owners are assigned by SSPCC controller, which can be access in secure mode mode only. That's why the IP assignment in TF-A, not Linux.