summaryrefslogtreecommitdiff
path: root/src/mainboard/asus
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2020-10-04 01:15:19 +0200
committerNico Huber <nico.h@gmx.de>2020-10-21 14:37:38 +0000
commit947dc64d21e75af94bfddb36ad6b921d47a1e453 (patch)
tree13782a0f2198fff47137c7bdccc8ac79bf6610cf /src/mainboard/asus
parent4fc4a37038c9dffc7bec603af9e787a269e65dbf (diff)
mb/asus/f2a85-m_pro: Enable keyboard controller in devicetree
The mainboard has a PS/2 port, so enable the keyboard controller in the devicetree. The PS/2 keyboard now works in SeaBIOS payload, but not in GNU/Linux, probably as ACPI code still needs to be added. Change-Id: I7846633bc1a3bdf6bffae628e0542bb8fb684804 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45998 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r--src/mainboard/asus/f2a85-m/devicetree_f2a85-m_pro.cb7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/asus/f2a85-m/devicetree_f2a85-m_pro.cb b/src/mainboard/asus/f2a85-m/devicetree_f2a85-m_pro.cb
index 2aa2d89b08..c9de54c05c 100644
--- a/src/mainboard/asus/f2a85-m/devicetree_f2a85-m_pro.cb
+++ b/src/mainboard/asus/f2a85-m/devicetree_f2a85-m_pro.cb
@@ -37,7 +37,12 @@ chip northbridge/amd/agesa/family15tn/root_complex
irq 0x70 = 4
end
device pnp 2e.3 off end # COM2/IR
- device pnp 2e.5 off end # Keyboard
+ device pnp 2e.5 on # Keyboard
+ io 0x60 = 0x0060 # KBC1 base
+ io 0x62 = 0x0064 # KBC2 base
+ irq 0x70 = 1
+ irq 0x72 = 12
+ end
device pnp 2e.6 off end # CIR
device pnp 2e.7 on # GPIO6, GPIO7, GPIO8
io 0xe0 = 0x7f