Aurelien Guillaume | 6f22ecc | 2010-08-24 12:58:17 +0000 | [diff] [blame] | 1 | chip northbridge/amd/lx |
Stefan Reinauer | 4aff445 | 2013-02-12 14:17:15 -0800 | [diff] [blame] | 2 | device domain 0 on |
Aurelien Guillaume | 6f22ecc | 2010-08-24 12:58:17 +0000 | [diff] [blame] | 3 | device pci 1.0 on end |
| 4 | device pci 1.1 on end |
| 5 | chip southbridge/amd/cs5536 |
| 6 | # IRQ 12 and 1 unmasked, Keyboard and Mouse IRQs. OK |
| 7 | # SIRQ Mode = Active(Quiet) mode. Save power.... |
| 8 | # Invert mask = IRQ 12 and 1 are active high. Keyboard and Mouse IRQs. OK |
| 9 | # How to get these? Boot linux and do this: |
| 10 | # rdmsr 0x51400025 |
| 11 | register "lpc_serirq_enable" = "0x00001002" |
| 12 | # rdmsr 0x5140004e -- polairy is high 16 bits of low 32 bits |
| 13 | register "lpc_serirq_polarity" = "0x0000EFFD" |
| 14 | # mode is high 10 bits (determined from code) |
| 15 | register "lpc_serirq_mode" = "1" |
| 16 | # Don't yet know how to find this. |
| 17 | register "enable_gpio_int_route" = "0x0D0C0700" |
| 18 | register "enable_ide_nand_flash" = "0" # 0:ide mode, 1:flash |
| 19 | register "enable_USBP4_device" = "0" #0: host, 1:device |
| 20 | register "enable_USBP4_overcurrent" = "0" #0:off, xxxx:overcurrent setting CS5536 Data Book (pages 380-381) |
| 21 | register "com1_enable" = "1" |
| 22 | register "com1_address" = "0x3F8" |
| 23 | register "com1_irq" = "4" |
| 24 | register "com2_enable" = "1" # Wired on Alix.2D13 only |
| 25 | register "com2_address" = "0x2F8" |
| 26 | register "com2_irq" = "3" |
| 27 | register "unwanted_vpci[0]" = "0x80000900" # Disable VGA controller (not wired) |
| 28 | register "unwanted_vpci[1]" = "0x80007B00" # Disable AC97 controller (not wired) |
| 29 | register "unwanted_vpci[2]" = "0" # End of list has a zero |
| 30 | device pci f.0 on end # ISA Bridge |
| 31 | device pci f.1 on end # Flash controller |
| 32 | device pci f.2 on end # IDE controller |
| 33 | device pci f.4 on end # OHCI |
| 34 | device pci f.5 on end # EHCI |
| 35 | end |
| 36 | end |
| 37 | |
| 38 | # APIC cluster is late CPU init. |
Stefan Reinauer | 0aa37c4 | 2013-02-12 15:20:54 -0800 | [diff] [blame] | 39 | device cpu_cluster 0 on |
Kyösti Mälkki | 7916f4c | 2012-02-09 16:07:41 +0200 | [diff] [blame] | 40 | chip cpu/amd/geode_lx |
Aurelien Guillaume | 6f22ecc | 2010-08-24 12:58:17 +0000 | [diff] [blame] | 41 | device lapic 0 on end |
| 42 | end |
| 43 | end |
| 44 | |
| 45 | end |