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:
parent
894b488b06
commit
65b47118c5
3 changed files with 12 additions and 2 deletions
|
|
@ -45,3 +45,7 @@
|
|||
&spi0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&prbs0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -86,5 +86,12 @@
|
|||
label = "dna0";
|
||||
status = "disabled";
|
||||
};
|
||||
prbs0: prbs@e0006800 {
|
||||
compatible = "litex,prbs";
|
||||
reg = <0xe0006800 0x4>;
|
||||
reg-names = "status";
|
||||
label = "prbs0";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue