Forum Discussion
sayhi2008
New Contributor
3 years agoCannot attach a second spi for arria10
Hi,
I’m working on arria10 and have developed my own board to phase with arria 10. I need to enable 2 spi, after following the doc Building Bootloader for Cyclone V and Arria 10 1 with my own hps.x...
sayhi2008
New Contributor
3 years agothanks for the help!
I have solved the uboot issue problem by using linux kernel generated dtb files instead of uboot generated one.
and the dtsi file modified below to enable 2 spidev, and seems it works,
&spi0 {
status = "okay";
spidev@0{
compatible = "spidev";
reg = <0>;
spi-max-frequency = <4000000>;
};
};
&spi1 {
status = "okay";
spidev@0{
compatible = "spidev";
reg = <0>;
spi-max-frequency = <4000000>;
};
};
I have check the board /dev with below while didn't have a chance to test.
any comments are welcome, sorry for late feedback.