blob: 42ddf01d7f7f5e9f9e177179bcdf003cf42dd0d5 [file] [log] [blame]
Kerry She7b7b2c92011-09-08 21:16:19 +08001# sample config for avalue/EAX-785E
2chip northbridge/amd/amdfam10/root_complex
Stefan Reinauer0aa37c42013-02-12 15:20:54 -08003 device cpu_cluster 0 on
Kerry She7b7b2c92011-09-08 21:16:19 +08004 chip cpu/amd/socket_AM3 #L1 and DDR3
5 device lapic 0 on end
6 end
7 end
Stefan Reinauer4aff4452013-02-12 14:17:15 -08008 device domain 0 on
Kerry She7b7b2c92011-09-08 21:16:19 +08009 subsystemid 0x1612 0x3060 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 # GFX_RX0-7/TX0-7 PCIEx16_1 slot
16 device pci 3.0 on end # GFX_RX8-15/TX8-15 PCIEx16_2 slot
17 device pci 4.0 on end # PortB GPP_RX/TX0 PCIEx1_1 slot
18 device pci 5.0 on end # PortC GPP_RX/TX1 PCIEx1_2 slot
19 device pci 6.0 on end # PortD GPP_RX/TX2 PCIEx1_3 slot
20 device pci 7.0 on end # PortE GPP_RX/TX3 PCIEx1_4 slot
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" = "0x6FE"
27 register "gfx_dev2_dev3" = "0" #no use
28 register "gfx_dual_slot" = "1" # 0 single slot, 1 dual slot
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" = "4" # 2x8 GFX, one on Lanes 0-7, one on Lanes 8-15
35 register "gfx_ddi_config" = "0" # no DDI_SL
36 end
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 end # SM
44 device pci 14.1 on end # IDE 0x439c
45 device pci 14.2 on end # HDA 0x4383
46 device pci 14.3 on
47 chip superio/winbond/w83627hf
48 device pnp 2e.0 off # Floppy
49 io 0x60 = 0x3f0
50 irq 0x70 = 6
51 drq 0x74 = 2
52 end
53 device pnp 2e.1 off # Parallel Port
54 io 0x60 = 0x378
55 irq 0x70 = 7
56 end
57 device pnp 2e.2 on # Com1
58 io 0x60 = 0x3f8
59 irq 0x70 = 4
60 end
61 device pnp 2e.3 on # Com2
62 io 0x60 = 0x2f8
63 irq 0x70 = 3
64 end
65 device pnp 2e.5 on # PS/2 Keyboard & mouse
66 io 0x60 = 0x60
67 io 0x62 = 0x64
68 irq 0x70 = 1
69 irq 0x72 = 12
70 end
71 device pnp 2e.6 off # SFI
72 io 0x62 = 0x100
73 end
74 device pnp 2e.7 off # GPIO_GAME_MIDI
75 io 0x60 = 0x220
76 io 0x62 = 0x300
77 irq 0x70 = 9
78 end
79 device pnp 2e.8 off end # WDTO_PLED
80 device pnp 2e.9 off end # GPIO_SUSLED
81 device pnp 2e.a off end # ACPI
82 device pnp 2e.b on # HW Monitor
83 io 0x60 = 0x290
84 irq 0x70 = 5
85 end
86 end #superio/winbond/w83627hf
87 end # LPC 0x439d
88 device pci 14.4 on end # PCIB 0x4384, NOTE: PCI interface pins shared with GPIO {GPIO 35:0}
89 device pci 14.5 on end # USB 2
90 device pci 14.6 off end # Gec
91 device pci 15.0 off end # PCIe 0
92 device pci 15.1 off end # PCIe 1
93 device pci 15.2 off end # PCIe 2
94 device pci 15.3 on end # PCIe 3
95 device pci 16.0 on end # USB
96 device pci 16.2 on end # USB
97 #register "gpp_configuration" = "0" #4:0:0:0
98 #register "gpp_configuration" = "2" #2:2:0:0
99 #register "gpp_configuration" = "3" #2:1:1:0
100 register "gpp_configuration" = "4" #1:1:1:1
101 register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE
102 end #southbridge/amd/cimx/sb800
103 end # device pci 18.0
104
105 device pci 18.1 on end
106 device pci 18.2 on end
107 device pci 18.3 on end
108 device pci 18.4 on end
109 end
Stefan Reinauer4aff4452013-02-12 14:17:15 -0800110 end #domain
Kerry She7b7b2c92011-09-08 21:16:19 +0800111end