devicetree.cb: Only add as many entries as there are DIMM slots.
[coreboot.git] / src / mainboard / jetway / pa78vm5 / devicetree.cb
1 # sample config for jetway/PA78VM5
2 chip northbridge/amd/amdfam10/root_complex
3         device lapic_cluster 0 on
4                 chip cpu/amd/socket_AM2r2  #L1 and DDR2
5                          device lapic 0 on end
6                 end
7         end
8         device pci_domain 0 on
9                 chip northbridge/amd/amdfam10
10                         device pci 18.0 on #  northbridge
11                                 chip southbridge/amd/rs780
12                                         device pci 0.0 on end # HT      0x9600
13                                         device pci 1.0 on end # Internal Graphics P2P bridge 0x9602
14                                         device pci 2.0 on end # PCIE P2P bridge (external graphics) 0x9603
15                                         device pci 3.0 on end # PCIE P2P bridge 0x960b
16                                         device pci 4.0 on end # PCIE P2P bridge 0x9604
17                                         device pci 5.0 off end # PCIE P2P bridge 0x9605
18                                         device pci 6.0 off end # PCIE P2P bridge 0x9606
19                                         device pci 7.0 off end # PCIE P2P bridge 0x9607
20                                         device pci 8.0 off end # NB/SB Link P2P bridge
21                                         device pci 9.0 on end #
22                                         device pci a.0 on end #
23                                         register "gppsb_configuration" = "1"   # Configuration B
24                                         register "gpp_configuration" = "3"   # Configuration D default
25                                         register "port_enable" = "0x6fc"
26                                         register "gfx_dev2_dev3" = "1"
27                                         register "gfx_dual_slot" = "1"
28                                         register "gfx_lane_reversal" = "0"
29                                         register "gfx_tmds" = "0"
30                                         register "gfx_compliance" = "0"
31                                         register "gfx_reconfiguration" = "1"
32                                         register "gfx_link_width" = "0"
33                                 end
34                                 chip southbridge/amd/sb700 # it is under NB/SB Link, but on the same pri bus
35                                         device pci 11.0 on end # SATA
36                                         device pci 12.0 on end # USB
37                                         device pci 12.1 on end # USB
38                                         device pci 12.2 on end # USB
39                                         device pci 13.0 on end # USB
40                                         device pci 13.1 on end # USB
41                                         device pci 13.2 on end # USB
42                                         device pci 14.0 on # SM
43                                                 chip drivers/generic/generic #dimm 0-0-0
44                                                         device i2c 50 on end
45                                                 end
46                                                 chip drivers/generic/generic #dimm 0-0-1
47                                                         device i2c 51 on end
48                                                 end
49                                         end # SM
50                                         device pci 14.1 on end # IDE    0x439c
51                                         device pci 14.2 on end # HDA    0x4383
52                                         device pci 14.3 on # LPC        0x439d
53                                                 chip superio/fintek/f71863fg
54                                                         device pnp 2e.0 off #  Floppy
55                                                                 io 0x60 = 0x3f0
56                                                                 irq 0x70 = 6
57                                                                 drq 0x74 = 2
58                                                         end
59                                                         device pnp 2e.1 on #  Com1
60                                                                 io 0x60 = 0x3f8
61                                                                 irq 0x70 = 4
62                                                         end
63                                                         device pnp 2e.2 off #  Com2
64                                                                 io 0x60 = 0x2f8
65                                                                 irq 0x70 = 3
66                                                         end
67                                                         device pnp 2e.3 off #  Parallel Port
68                                                                 io 0x60 = 0x378
69                                                                 irq 0x70 = 7
70                                                         end
71                                                         device pnp 2e.4 off end #  EC
72                                                         device pnp 2e.5 on #  Keyboard
73                                                                 io 0x60 = 0x60
74                                                                 io 0x62 = 0x64
75                                                                 irq 0x70 = 1
76                                                         end
77                                                         device pnp 2e.6 on #  Mouse
78                                                                 irq 0x70 = 12
79                                                         end
80                                                         device pnp 2e.7 off #  GPIO, must be closed for unresolved reason.
81                                                         end
82                                                         device pnp 2e.8 off #  MIDI
83                                                                 io 0x60 = 0x300
84                                                                 irq 0x70 = 9
85                                                         end
86                                                         device pnp 2e.9 off #  GAME
87                                                                 io 0x60 = 0x220
88                                                         end
89                                                         device pnp 2e.a off end #  CIR
90                                                 end     #superio/ite/it8718f
91                                         end             #LPC
92                                         device pci 14.4 on end # PCI 0x4384
93                                         device pci 14.5 on end # USB 2
94                                         register "boot_switch_sata_ide" = "0"   # 0: boot from SATA. 1: IDE
95                                 end     #southbridge/amd/sb700
96                         end #  device pci 18.0
97
98                         device pci 18.0 on end
99                         device pci 18.0 on end
100                         device pci 18.1 on end
101                         device pci 18.2 on end
102                         device pci 18.3 on end
103                         device pci 18.4 on end
104 #                       device pci 00.5 on end
105                 end
106         end #pci_domain
107         #for node 32 to node 63
108
109 end