Skip to content

Commit

Permalink
add PLIC info
Browse files Browse the repository at this point in the history
  • Loading branch information
chenguokai committed Dec 16, 2022
1 parent aa4bf5d commit 2ba1ae9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dts/system.dts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@
};
};
};
PLIC: interrupt-controller@3c000000 {
#interrupt-cells = <1>;
compatible = "riscv,plic0";
interrupt-controller;
interrupts-extended = <&L4 9 &L4 11>;
//reg = <0 0xc000000 0 0x4000000>;
reg = <0 0x3c000000 0 0x4000000>;
reg-names = "control";
riscv,max-priority = <7>;
riscv,ndev = <64>;
};

L18: soc {
#address-cells = <2>;
#size-cells = <2>;
Expand Down

0 comments on commit 2ba1ae9

Please sign in to comment.