boards: litex_vexriscv: Enable LiteX SPI driver
This commit enables LiteX SPI driver for litex_vexriscv board. Signed-off-by: Daniel Craviee <dcraviee@internships.antmicro.com> Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
This commit is contained in:
parent
256c5c4e17
commit
f7bfa936a1
4 changed files with 19 additions and 0 deletions
|
@ -41,3 +41,7 @@
|
|||
&dna0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -11,6 +11,8 @@ arch: riscv32
|
|||
toolchain:
|
||||
- zephyr
|
||||
ram: 262144
|
||||
supported:
|
||||
- spi
|
||||
testing:
|
||||
ignore_tags:
|
||||
- bluetooth
|
||||
|
|
|
@ -19,3 +19,5 @@ CONFIG_ETH_LITEETH_0=y
|
|||
CONFIG_NET_L2_ETHERNET=y
|
||||
CONFIG_HWINFO=y
|
||||
CONFIG_HWINFO_LITEX=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_LITESPI=y
|
||||
|
|
|
@ -44,6 +44,17 @@
|
|||
label = "uart0";
|
||||
status = "disabled";
|
||||
};
|
||||
spi0: spi@e0002000 {
|
||||
compatible = "litex,spi";
|
||||
interrupt-parent = <&intc0>;
|
||||
interrupts = <5 0>;
|
||||
reg = <0xe0002000 0x34>;
|
||||
reg-names = "control";
|
||||
label = "spi0";
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
timer0: serial@e0002800 {
|
||||
compatible = "litex,timer0";
|
||||
interrupt-parent = <&intc0>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue