Skip to content

Commit a35848b

Browse files
filiperinaldiMaureenHelm
authored andcommitted
boards: fvp_baser_aemv8r: fix UART enablement
Fix the interrupt setting in the fvp_baser_aemv8r dts: - The correct interrupt number is 5, not 0. - The interrupt priority and type are swapped. This patch also enables interrupt driven mode for this platform as this is the ideal setting for a Fast Models based platform. Issue-ID: SCM-4037 Signed-off-by: Filipe Rinaldi <[email protected]> Change-Id: Ic4815f5afe4c9df9d8fe373d47d2773d64087c96
1 parent c72b75f commit a35848b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

boards/arm64/fvp_baser_aemv8r/fvp_baser_aemv8r_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ CONFIG_SERIAL=y
2121
# Enable serial port
2222
CONFIG_UART_PL011=y
2323
CONFIG_UART_PL011_PORT0=y
24+
CONFIG_UART_INTERRUPT_DRIVEN=y
2425

2526
# Enable console
2627
CONFIG_CONSOLE=y

dts/arm64/fvp-aemv8r/fvp-aemv8r.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
compatible = "arm,pl011";
7575
reg = <0x9c090000 0x1000>;
7676
status = "disabled";
77-
interrupts = <GIC_SPI 1 0 IRQ_TYPE_LEVEL>;
78-
interrupt-names = "irq_0";
77+
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
78+
interrupt-names = "irq_5";
7979
label = "UART_0";
8080
clocks = <&uartclk>;
8181
};

0 commit comments

Comments
 (0)