ARC: QEMU: Add the second UART support
This makes the second UART of ARC QEMU's "virt" platfrom available in Zephyr. But please note to get it used corresponding change needs to be applied to QEMU itself, see: https://github.com/foss-for-synopsys-dwc-arc-processors/qemu/pull/62 PR for Zephyr's SDK-NG is posted here: https://github.com/zephyrproject-rtos/sdk-ng/pull/422 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
This commit is contained in:
parent
43841fcb16
commit
35f53b8456
2 changed files with 11 additions and 1 deletions
|
@ -45,6 +45,16 @@
|
|||
interrupts = <24 1>;
|
||||
};
|
||||
|
||||
uart@f0002000 {
|
||||
compatible = "ns16550";
|
||||
clock-frequency = <10000000>;
|
||||
reg = <0xf0002000 0x400>;
|
||||
current-speed = <115200>;
|
||||
label = "UART_1";
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <25 1>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
|
|
|
@ -21,7 +21,7 @@ config NUM_IRQ_PRIO_LEVELS
|
|||
default 15
|
||||
|
||||
config NUM_IRQS
|
||||
default 25
|
||||
default 26
|
||||
|
||||
# Technically ARC HS supports MPUv3, but not v2. But given MPUv3
|
||||
# is the same as v2 but with minimal region size of 32 bytes, we
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue