[U-Boot] [PATCH 2/4] x86: dfi-bt700.dtsi: Add PCI HS-UART interrupt property

Stefan Roese sr at denx.de
Tue Aug 15 09:33:58 UTC 2017

This patch adds the interrupt property for the PCI HS-UART NS16550
UART on Bay Trail x86 platforms. This can be used to enable the RX
interrupt buffer support of the ns16550 driver, so that even very
long lines can be pasted in the U-Boot console shell.

Please note that in general the interrupt number should be read
from the PCI config registers by the UART driver. But since the UART
driver is called very early in the init process, these PCI config
registers are not initialized yet at this time. And since the PCI
interrupt configuration is also fixed in the dfi-bt700.dtsi file,
adding this one interrupt property to the UART DT node will not cause
any problems with dynamic interrupt assignments resulting in a
different interrupt number for this PCI device.

Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Simon Glass <sjg at chromium.org>
Cc: Bin Meng <bmeng.cn at gmail.com>
 arch/x86/dts/dfi-bt700.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/dts/dfi-bt700.dtsi b/arch/x86/dts/dfi-bt700.dtsi
index b62e00ff1f..1ccdf5d24b 100644
--- a/arch/x86/dts/dfi-bt700.dtsi
+++ b/arch/x86/dts/dfi-bt700.dtsi
@@ -115,6 +115,7 @@
 			reg-shift = <2>;
 			clock-frequency = <58982400>;
 			current-speed = <115200>;
+			interrupts = <7>;
 		pch at 1f,0 {

More information about the U-Boot mailing list