asrock/imb-a180: Configure the 6 COM ports and the keyboard 74/4574/2
authorDave Frodin <dave.frodin@se-eng.com>
Thu, 26 Dec 2013 15:24:16 +0000 (08:24 -0700)
committerDave Frodin <dave.frodin@se-eng.com>
Fri, 3 Jan 2014 17:47:48 +0000 (18:47 +0100)
Change-Id: I66d0715f3be201f8068acd7097e2be49185bee00
Signed-off-by: Dave Frodin <dave.frodin@se-eng.com>
Reviewed-on: http://review.coreboot.org/4574
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
src/mainboard/asrock/imb-a180/Kconfig
src/mainboard/asrock/imb-a180/devicetree.cb

index d031838..a87f0d0 100644 (file)
@@ -25,6 +25,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        select CPU_AMD_AGESA_FAMILY16_KB
        select NORTHBRIDGE_AMD_AGESA_FAMILY16_KB
        select SOUTHBRIDGE_AMD_AGESA_YANGTZE
+       select SUPERIO_WINBOND_W83627UHG
        select HAVE_OPTION_TABLE
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
index 3bcaaee..6d6875d 100644 (file)
@@ -55,7 +55,48 @@ chip northbridge/amd/agesa/family16kb/root_complex
                                        end
                                end # SM
                                device pci 14.2 on  end # HDA   0x4383
-                               device pci 14.3 on  end # LPC   0x439d
+                               device pci 14.3 on
+                                       chip superio/winbond/w83627uhg
+                                               device pnp 2e.0 off end    # FDC
+                                               device pnp 2e.1 off end    # LPT1
+                                               device pnp 2e.2 on         # COM1
+                                                       io 0x60 = 0x3f8
+                                                       irq 0x70 = 4
+                                               end
+                                               device pnp 2e.3 on         # COM2
+                                                       io 0x60 = 0x2f8
+                                                       irq 0x70 = 3
+                                               end
+                                               device pnp 2e.5 on         # KEYBRD
+                                                       io 0x60 = 0x60
+                                                       io 0x62 = 0x64
+                                                       irq 0x70 = 1
+                                                       irq 0x72 = 12
+                                               end
+                                               device pnp 2e.6 on         # COM3
+                                                       io 0x60 = 0x3e8
+                                                       irq 0x70 = 4
+                                               end
+                                               device pnp 2e.7 off end    # GPIO
+                                               device pnp 2e.8 off end    # WDT
+                                               device pnp 2e.9 off end    # GPIO
+                                               device pnp 2e.a off end    # ACPI
+                                               device pnp 2e.b off end    # HWMON
+                                               device pnp 2e.c off end    # PECI
+                                               device pnp 2e.d on         # COM4
+                                                       io 0x60 = 0x2e8
+                                                       irq 0x70 = 3
+                                               end
+                                               device pnp 2e.e on         # COM5
+                                                       io 0x60 = 0x3e0
+                                                       irq 0x70 = 4
+                                               end
+                                               device pnp 2e.f on         # COM6
+                                                       io 0x60 = 0x2e0
+                                                       irq 0x70 = 3
+                                               end
+                                       end # w83627uhg
+                               end # LPC       0x439d
                                device pci 14.7 on  end # SD
                        end     #chip southbridge/amd/hudson