1 # sample config for advansus/A785E-I
2 chip northbridge/amd/amdfam10/root_complex
3 device lapic_cluster 0 on
4 chip cpu/amd/socket_AM3 #L1 and DDR3
9 subsystemid 0x1043 0x843e inherit #TODO: Set the correctly subsystem id.
10 chip northbridge/amd/amdfam10
11 device pci 18.0 on # northbridge
12 chip southbridge/amd/rs780
13 device pci 0.0 on end # HT 0x9600
14 device pci 1.0 on end # Internal Graphics P2P bridge 0x9712
15 device pci 2.0 on end # PCIE P2P bridge (external graphics) 0x9603
16 device pci 3.0 off end # PCIE P2P bridge 0x960b
17 device pci 4.0 on end # PCIE P2P bridge 0x9604 wireless
18 device pci 5.0 off end # PCIE P2P bridge 0x9605
19 device pci 6.0 off end # PCIE P2P bridge 0x9606
20 device pci 7.0 off end # PCIE P2P bridge 0x9607
21 device pci 8.0 off end # NB/SB Link P2P bridge
22 device pci 9.0 on end # Ethernet
23 device pci a.0 on end # Ethernet
24 register "gppsb_configuration" = "4" # Configuration E
25 register "gpp_configuration" = "3" # Configuration D
26 register "port_enable" = "0x6f6"
27 register "gfx_dev2_dev3" = "0"
28 register "gfx_dual_slot" = "0"
29 register "gfx_lane_reversal" = "0"
30 register "gfx_compliance" = "0"
31 register "gfx_reconfiguration" = "1"
32 register "gfx_link_width" = "0"
33 register "gfx_tmds" = "1"
34 register "gfx_pcie_config" = "3" # 1x8 GFX on Lanes 8-15
35 register "gfx_ddi_config" = "1" # Lanes 0-3 DDI_SL
37 chip southbridge/amd/cimx/sb800 # it is under NB/SB Link, but on the same pci bus
38 device pci 11.0 on end # SATA
39 device pci 12.0 on end # USB
40 device pci 12.2 on end # USB
41 device pci 13.0 on end # USB
42 device pci 13.2 on end # USB
43 device pci 14.0 on # SM
44 chip drivers/generic/generic #dimm 0-0-0
47 chip drivers/generic/generic #dimm 0-0-1
50 chip drivers/generic/generic #dimm 0-1-0
53 chip drivers/generic/generic #dimm 0-1-1
57 device pci 14.1 on end # IDE 0x439c
58 device pci 14.2 on end # HDA 0x4383
60 chip superio/ite/it8721f
61 device pnp 2e.0 off # Floppy
66 device pnp 2e.1 off # Parallel Port
70 device pnp 2e.2 on # Com1
74 device pnp 2e.3 on # Com2
78 device pnp 2e.5 on # Keyboard
84 device pnp 2e.6 off # SFI
87 device pnp 2e.7 off # GPIO_GAME_MIDI
92 device pnp 2e.8 off end # WDTO_PLED
93 device pnp 2e.9 off end # GPIO_SUSLED
94 device pnp 2e.a off end # ACPI
95 device pnp 2e.b on # HW Monitor
99 end #superio/winbond/w83627hf
101 device pci 14.4 off end # PCIB 0x4384, NOTE: PCI interface pins shared with GPIO {GPIO 35:0}
102 device pci 14.5 on end # USB 2
103 device pci 14.6 off end # Gec
104 device pci 15.0 on end # PCIe 0
105 device pci 15.1 on end # PCIe 1
106 device pci 15.2 on end # PCIe 2
107 device pci 15.3 on end # PCIe 3
108 device pci 16.0 on end # USB
109 device pci 16.2 on end # USB
110 #register "gpp_configuration" = "0" #4:0:0:0
111 #register "gpp_configuration" = "2" #2:2:0:0
112 #register "gpp_configuration" = "3" #2:1:1:0
113 register "gpp_configuration" = "4" #1:1:1:1
114 register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE
115 end #southbridge/amd/cimx/sb800
116 end # device pci 18.0
118 device pci 18.1 on end
119 device pci 18.2 on end
120 device pci 18.3 on end
121 device pci 18.4 on end