boards: litex_vexriscv: Enable LiteX DNA driver
Enable LiteX DNA ID driver in litex_vexriscv board. Signed-off-by: Jakub Wegnerowski <jwegnerowski@internships.antmicro.com> Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
This commit is contained in:
parent
10ee87a80b
commit
d57a3634f7
3 changed files with 18 additions and 0 deletions
|
@ -37,3 +37,7 @@
|
|||
ð0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dna0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -17,3 +17,5 @@ CONFIG_UART_CONSOLE=y
|
|||
CONFIG_ETH_LITEETH=y
|
||||
CONFIG_ETH_LITEETH_0=y
|
||||
CONFIG_NET_L2_ETHERNET=y
|
||||
CONFIG_HWINFO=y
|
||||
CONFIG_HWINFO_LITEX=y
|
||||
|
|
|
@ -63,5 +63,17 @@
|
|||
label = "eth0";
|
||||
status = "disabled";
|
||||
};
|
||||
dna0: dna@e0003800 {
|
||||
compatible = "litex,dna0";
|
||||
/* DNA data is 57-bits long,
|
||||
so it requires 8 bytes.
|
||||
In LiteX each 32-bit register holds
|
||||
only a single byte of meaningful data,
|
||||
hence 8 registers. */
|
||||
reg = <0xe0003800 0x20>;
|
||||
reg-names = "mem";
|
||||
label = "dna0";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue