add irq for keyboard and mouse
authorRonald G. Minnich <rminnich@gmail.com>
Thu, 21 Sep 2006 20:55:58 +0000 (20:55 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Thu, 21 Sep 2006 20:55:58 +0000 (20:55 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2432 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/mainboard/olpc/rev_a/Config.lb

index ff7fa6a3fc99a8dc22f18f38d317041f5fb38ed9..022dc5250adf8c57d508ffbe042589b3f8ba4c6d 100644 (file)
@@ -135,7 +135,18 @@ chip northbridge/amd/gx2
                device pci 1.0 on end
                device pci 1.1 on end
                chip southbridge/amd/cs5536
-                        register "enable_gpio0_inta" = "1"
+               # 0x51400025 (IRQ Mapper LPC Mask)= 0x00001002
+               # IRQ 12 and 1 unmasked,  Keyboard and Mouse IRQs. OK
+               # 0x5140004E (LPC Serial IRQ Control) = 0xEFFD0080.
+               # Frame Pulse Width = 4clocks
+               # IRQ Data Frames = 17Frames
+               # SIRQ Mode = continous , It would be better if the EC could operate in
+               # Active(Quiet) mode. Save power....
+               # SIRQ Enable = Enabled
+               # Invert mask = IRQ 12 and 1 are active high. Keyboard and Mouse IRQs. OK 
+                       register "lpc_irq" = "0x00001002"
+                       register "lpc_serirq_enable" = "0xEFFD0080"
+                       register "enable_gpio0_inta" = "1"
                        register "enable_ide_nand_flash" = "1"
                        register "enable_uarta" = "1"
                        register "enable_USBP4_host" = "1"