Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12436 Discussions

dts .compatibility for pata_platform.c

Honored Contributor II

Thanks in advance. 


I'm using the Altera MAX0 evaluation board with the ghrd design PLUS added an IDE interface on the HSMC connector (it has a compact flash). 

I am now using the current Linux-socfpg and I modified the kernel to add SCSI disk support and ATA PATA generic pata (pata_patform.c). 


My problem is what do I put for compatibility in the *.dts so the OS will recognize I have a Compact Flash? 

If I grep ".compatibility" the pata_platform.c source has NO .compatibility statement. I have tried "ata-generic" "electra-ide" since they 

are both in the OpenFrame driver pata_of_platform.c which I also have enabled. 


I have used this configuration before with the old non-mmu uCLinux-dist and the CF worked fine - of course there was no device tree.
0 Kudos
0 Replies