Skip to content

Commit

Permalink
Update clic.adoc
Browse files Browse the repository at this point in the history
attempt at a DTS entry for CLIC.  For issue riscv#91
  • Loading branch information
dansmathers authored Apr 5, 2021
1 parent 1c4d978 commit 954bdc1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions clic.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2283,3 +2283,25 @@ Interrupt map with PLIC recommendation:
4: M-mode timer interrupt
5: M-mode external (PLIC) interrupt
6: external

== Appendix

=== Prototype DTS Entry
Modified from Example at https://elinux.org/Device_Tree_Usage
/dts-v1/;

/ {
...
interrupt-parent = <&intc>;
...

intc: interrupt-controller@MCLICBASE {
compatible = "xxx,xxx";
reg = <MCLICBASE 0x5000 >;
interrupt-controller;
#interrupt-cells = <NUM_INTERRUPT>;
};
...
};


0 comments on commit 954bdc1

Please sign in to comment.