boards: litex_vexriscv: Enable LiteX PRBS driver

This enables LiteX PRBS random number generator driver
for litex_vexriscv board.

Signed-off-by: Pawel Czarnecki <pczarnecki@internships.antmicro.com>
Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
This commit is contained in:
Pawel Czarnecki 2019-08-14 11:37:25 +02:00 committed by Anas Nashif
parent 894b488b06
commit 65b47118c5
3 changed files with 12 additions and 2 deletions

View file

@ -45,3 +45,7 @@
&spi0 {
status = "okay";
};
&prbs0 {
status = "okay";
};

View file

@ -13,8 +13,6 @@ CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_LITEUART=y
CONFIG_UART_CONSOLE=y
CONFIG_ENTROPY_GENERATOR=y
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_NETWORKING=y
CONFIG_ETH_LITEETH=y
CONFIG_ETH_LITEETH_0=y
@ -23,3 +21,4 @@ CONFIG_HWINFO=y
CONFIG_HWINFO_LITEX=y
CONFIG_SPI=y
CONFIG_SPI_LITESPI=y
CONFIG_ENTROPY_LITEX_RNG=y

View file

@ -86,5 +86,12 @@
label = "dna0";
status = "disabled";
};
prbs0: prbs@e0006800 {
compatible = "litex,prbs";
reg = <0xe0006800 0x4>;
reg-names = "status";
label = "prbs0";
status = "disabled";
};
};
};