Hi,
I am trying to create a spi_0 device in PetaLinux
v2014.4 without much luck.
I have enabled SPI support in the kernel configuration.
I have created the device in Vivado and routed it to
the EMIO ports. SPI0 appears in the pcw.dtsi file as
&spi0 {
is-decoded-cs = <0>;
num-cs = <3>;
status = "okay";
};
but there is no device in /dev when I boot the system.
I have done a lot of Googling on this topic but all the
answers I have found seem to be for older systems,
suggesting adding entries to the .dts file
but they seem to be in a different format to what
PetaLinux requires in its system-top.dts file which
is where according to the Workflow tutorial UG1156
I should be putting extra SPI configuration.
Any help would be appreciated
- Charles