Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 1 | chip northbridge/amd/amdk8/root_complex # Root complex |
Uwe Hermann | 0675d5c | 2010-11-14 20:10:11 +0000 | [diff] [blame] | 2 | device lapic_cluster 0 on # (L)APIC cluster |
| 3 | chip cpu/amd/socket_AM2 # CPU socket |
| 4 | device lapic 0 on end # Local APIC of the CPU |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 5 | end |
| 6 | end |
| 7 | device pci_domain 0 on # PCI domain |
Uwe Hermann | 0675d5c | 2010-11-14 20:10:11 +0000 | [diff] [blame] | 8 | chip northbridge/amd/amdk8 # Northbridge / RAM controller |
| 9 | device pci 18.0 on # Link 0 == LDT 0 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 10 | chip southbridge/nvidia/mcp55 # Southbridge |
| 11 | device pci 0.0 on end # HT |
| 12 | device pci 1.0 on # LPC |
| 13 | chip superio/winbond/w83627ehg # Super I/O |
| 14 | device pnp 4e.0 on # Floppy |
| 15 | io 0x60 = 0x3f0 |
| 16 | irq 0x70 = 6 |
| 17 | drq 0x74 = 2 |
| 18 | end |
| 19 | device pnp 4e.1 on # Parallel port |
| 20 | io 0x60 = 0x378 |
| 21 | irq 0x70 = 7 |
| 22 | end |
| 23 | device pnp 4e.2 on # Com1 |
| 24 | io 0x60 = 0x3f8 |
| 25 | irq 0x70 = 4 |
| 26 | end |
| 27 | device pnp 4e.3 on # Com2 / IrDA |
| 28 | io 0x60 = 0x2f8 |
| 29 | irq 0x70 = 3 |
| 30 | end |
| 31 | device pnp 4e.5 on # PS/2 keyboard |
| 32 | io 0x60 = 0x60 |
| 33 | io 0x62 = 0x64 |
| 34 | irq 0x70 = 1 # PS/2 keyboard IRQ |
| 35 | irq 0x72 = 12 # PS/2 mouse IRQ |
| 36 | end |
| 37 | device pnp 4e.6 off # Serial flash interface |
| 38 | # io 0x62 = 0x100 |
| 39 | end |
| 40 | device pnp 4e.7 off # GPIO1/6, game port, MIDI port |
| 41 | # io 0x60 = 0x220 # Datasheet: 0x201 |
| 42 | # io 0x62 = 0x300 # Datasheet: 0x330 |
| 43 | # irq 0x70 = 9 |
| 44 | end |
| 45 | device pnp 4e.8 off # WDTO#, PLED |
| 46 | end |
| 47 | device pnp 4e.9 off # GPIO2/3/4/5, SUSLED |
| 48 | end |
| 49 | device pnp 4e.a off # ACPI |
| 50 | end |
| 51 | device pnp 4e.b on # HWM (for lm-sensors) |
| 52 | io 0x60 = 0xa10 |
| 53 | end |
| 54 | end |
| 55 | end |
| 56 | device pci 1.1 on # SM 0 |
| 57 | chip drivers/generic/generic # DIMM 0-0-0 |
| 58 | device i2c 50 on end |
| 59 | end |
| 60 | chip drivers/generic/generic # DIMM 0-0-1 |
| 61 | device i2c 51 on end |
| 62 | end |
| 63 | chip drivers/generic/generic # DIMM 0-1-0 |
| 64 | device i2c 52 on end |
| 65 | end |
| 66 | chip drivers/generic/generic # DIMM 0-1-1 |
| 67 | device i2c 53 on end |
| 68 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 69 | end |
| 70 | # TODO: Check if the stuff below is correct / needed. |
| 71 | device pci 1.1 on # SM 1 |
Uwe Hermann | 0675d5c | 2010-11-14 20:10:11 +0000 | [diff] [blame] | 72 | # PCI device SMBus address will |
| 73 | # depend on addon PCI device, do |
| 74 | # we need to scan_smbus_bus? |
| 75 | # chip drivers/generic/generic # PCIXA slot 1 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 76 | # device i2c 50 on end |
| 77 | # end |
Uwe Hermann | 0675d5c | 2010-11-14 20:10:11 +0000 | [diff] [blame] | 78 | # chip drivers/generic/generic # PCIXB slot 1 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 79 | # device i2c 51 on end |
| 80 | # end |
Uwe Hermann | 0675d5c | 2010-11-14 20:10:11 +0000 | [diff] [blame] | 81 | # chip drivers/generic/generic # PCIXB slot 2 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 82 | # device i2c 52 on end |
| 83 | # end |
Uwe Hermann | 0675d5c | 2010-11-14 20:10:11 +0000 | [diff] [blame] | 84 | # chip drivers/generic/generic # PCI slot 1 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 85 | # device i2c 53 on end |
| 86 | # end |
| 87 | # chip drivers/generic/generic # Master MCP55 PCI-E |
| 88 | # device i2c 54 on end |
| 89 | # end |
| 90 | # chip drivers/generic/generic # Slave MCP55 PCI-E |
| 91 | # device i2c 55 on end |
| 92 | # end |
| 93 | chip drivers/generic/generic # MAC EEPROM |
| 94 | device i2c 51 on end |
| 95 | end |
| 96 | end |
| 97 | device pci 2.0 on end # USB 1.1 |
| 98 | device pci 2.1 on end # USB 2 |
| 99 | device pci 4.0 on end # IDE |
| 100 | device pci 5.0 on end # SATA 0 |
| 101 | device pci 5.1 on end # SATA 1 |
| 102 | device pci 5.2 off end # SATA 2 (N/A on this board) |
| 103 | device pci 6.0 on end # PCI |
| 104 | device pci 6.1 on end # AZA (HD Audio) |
| 105 | device pci 8.0 on end # NIC |
| 106 | device pci 9.0 off end # NIC (N/A on this board) |
| 107 | device pci a.0 off end # PCI E 5 (N/A on this board?) |
| 108 | device pci b.0 on end # PCI E 4 |
| 109 | device pci c.0 on end # PCI E 3 |
| 110 | device pci d.0 on end # PCI E 2 |
| 111 | device pci e.0 on end # PCI E 1 |
| 112 | device pci f.0 on end # PCI E 0 |
| 113 | register "ide0_enable" = "1" |
| 114 | register "sata0_enable" = "1" |
| 115 | register "sata1_enable" = "1" |
| 116 | # TODO: Check the two lines below. |
Uwe Hermann | 0675d5c | 2010-11-14 20:10:11 +0000 | [diff] [blame] | 117 | # 1: SMBus under 2e.8, 2: SM0 3: SM1 |
| 118 | register "mac_eeprom_smbus" = "3" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 119 | register "mac_eeprom_addr" = "0x51" |
| 120 | end |
| 121 | end |
| 122 | device pci 18.0 on end # Link 1 |
| 123 | device pci 18.0 on end |
| 124 | device pci 18.1 on end |
| 125 | device pci 18.2 on end |
| 126 | device pci 18.3 on end |
| 127 | end |
| 128 | end |
Uwe Hermann | 0675d5c | 2010-11-14 20:10:11 +0000 | [diff] [blame] | 129 | # TODO |
| 130 | # chip drivers/generic/debug |
| 131 | # device pnp 0.0 off end # chip name |
| 132 | # device pnp 0.1 on end # pci_regs_all |
| 133 | # device pnp 0.2 on end # mem |
| 134 | # device pnp 0.3 off end # cpuid |
| 135 | # device pnp 0.4 on end # smbus_regs_all |
| 136 | # device pnp 0.5 off end # dual core msr |
| 137 | # device pnp 0.6 off end # cache size |
| 138 | # device pnp 0.7 off end # tsc |
| 139 | # device pnp 0.8 off end # io |
| 140 | # device pnp 0.9 off end # io |
| 141 | # end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 142 | end |