[Bug 256101] Add Gemini Lake SIO/LPSS UARTs PCI IDs

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 May 2021 13:27:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256101

            Bug ID: 256101
           Summary: Add Gemini Lake SIO/LPSS UARTs PCI IDs
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: amigan@gmail.com

Created attachment 225194
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225194&action=edit
Gemini Lake UART patch

Mostly copied from #255556.

Add support for Gemini Lake LPSS UARTs. For some reason, on this Seeed Odyssey
X86J4105, unit numbers start at 2 with this patch:

% dmesg | grep -i uart
uart2: <Intel Gemini Lake SIO/LPSS UART 0> mem
0xa1426000-0xa1426fff,0xa1425000-0xa1425fff irq 4 at device 24.0 on pci0
uart3: <Intel Gemini Lake SIO/LPSS UART 1> mem
0xa1424000-0xa1424fff,0xa1423000-0xa1423fff irq 5 at device 24.1 on pci0
uart4: <Intel Gemini Lake SIO/LPSS UART 2> mem 0xfea10000-0xfea10fff irq 6 at
device 24.2 on pci0
uart5: <Intel Gemini Lake SIO/LPSS UART 3> mem
0xa1422000-0xa1422fff,0xa1421000-0xa1421fff irq 7 at device 24.3 on pci0

-- 
You are receiving this mail because:
You are the assignee for the bug.