Skip to content

Commit f45acb7

Browse files
michalsieronmbolivar-nordic
authored andcommitted
dts: riscv: litex-vexriscv: Update for 32-bit CSRs
Use register addresses and sizes from 32-bit CSR version Signed-off-by: Michal Sieron <[email protected]>
1 parent 95d867e commit f45acb7

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

dts/riscv/riscv32-litex-vexriscv.dtsi

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,16 @@
8080
compatible = "litex,timer0";
8181
interrupt-parent = <&intc0>;
8282
interrupts = <1 0>;
83-
reg = <0xe0002800 0x10
84-
0xe0002810 0x10
83+
reg = <0xe0002800 0x4
84+
0xe0002804 0x4
85+
0xe0002808 0x4
86+
0xe000280c 0x4
87+
0xe0002810 0x4
88+
0xe0002814 0x4
89+
0xe0002818 0x4
90+
0xe000281c 0x4
8591
0xe0002820 0x4
86-
0xe0002824 0x4
87-
0xe0002828 0x10
88-
0xe0002838 0x4
89-
0xe000283c 0x4
90-
0xe0002840 0x4
91-
0xe0002844 0x4
92-
0xe0002848 0x20>;
92+
0xe0002824 0x8>;
9393
reg-names =
9494
"load",
9595
"reload",
@@ -257,14 +257,14 @@
257257
clock0: clock@82005000 {
258258
compatible = "litex,clk";
259259
label = "clock0";
260-
reg = <0x82005000 0x4
261-
0x82005004 0x4
262-
0x82005008 0x4
263-
0x8200500c 0x4
264-
0x82005010 0x4
265-
0x82005014 0x4
266-
0x82005018 0x8
267-
0x82005020 0x8>;
260+
reg = <0xe0004800 0x4
261+
0xe0004804 0x4
262+
0xe0004808 0x4
263+
0xe000480c 0x4
264+
0xe0004810 0x4
265+
0xe0004814 0x4
266+
0xe0004818 0x4
267+
0xe000481c 0x4>;
268268
reg-names = "drp_reset",
269269
"drp_locked",
270270
"drp_read",

0 commit comments

Comments
 (0)