esp32s2: drivers: interrupt_controller: add interrupt allocation support
through the reuse of current esp32 interrupt allocator. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
parent
219fe5339d
commit
2c031caed0
7 changed files with 127 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <mem.h>
|
||||
#include <dt-bindings/interrupt-controller/esp32s2-xtensa-intmux.h>
|
||||
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
|
@ -31,6 +32,15 @@
|
|||
reg = <0x3ffb0000 0x50000>;
|
||||
};
|
||||
|
||||
intc: interrupt-controller@3f4c2000 {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "espressif,esp32-intc";
|
||||
interrupt-controller;
|
||||
reg = <0x3f4c2000 0x114>;
|
||||
label = "INTC_0";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uart0: uart@3f400000 {
|
||||
compatible = "espressif,esp32s2-uart";
|
||||
reg = <0x3f400000 0x400>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue