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 <s...@denx.de>
Cc: Simon Glass <s...@chromium.org>
Cc: Bin Meng <bmeng...@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@1f,0 {
-- 
2.14.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to