Use subsystem id from devicetree.cb instead of Kconfig and move
[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                 subsystemid 0x1022 0x3060 inherit
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 0x9602
15                                         device pci 2.0 on end # PCIE P2P bridge (external graphics) 0x9603
16                                         device pci 3.0 on end # PCIE P2P bridge 0x960b
17                                         device pci 4.0 on end # PCIE P2P bridge 0x9604
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 #
23                                         device pci a.0 on end #
24                                         register "gppsb_configuration" = "1"   # Configuration B
25                                         register "gpp_configuration" = "3"   # Configuration D default
26                                         register "port_enable" = "0x6fc"
27                                         register "gfx_dev2_dev3" = "1"
28                                         register "gfx_dual_slot" = "1"
29                                         register "gfx_lane_reversal" = "0"
30                                         register "gfx_tmds" = "0"
31                                         register "gfx_compliance" = "0"
32                                         register "gfx_reconfiguration" = "1"
33                                         register "gfx_link_width" = "0"
34                                 end
35                                 chip southbridge/amd/sb700 # it is under NB/SB Link, but on the same pri bus
36                                         device pci 11.0 on end # SATA
37                                         device pci 12.0 on end # USB
38                                         device pci 12.1 on end # USB
39                                         device pci 12.2 on end # USB
40                                         device pci 13.0 on end # USB
41                                         device pci 13.1 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
45                                                         device i2c 50 on end
46                                                 end
47                                                 chip drivers/generic/generic #dimm 0-0-1
48                                                         device i2c 51 on end
49                                                 end
50                                         end # SM
51                                         device pci 14.1 on end # IDE    0x439c
52                                         device pci 14.2 on end # HDA    0x4383
53                                         device pci 14.3 on # LPC        0x439d
54                                                 chip superio/fintek/f71863fg
55                                                         device pnp 2e.0 off #  Floppy
56                                                                 io 0x60 = 0x3f0
57                                                                 irq 0x70 = 6
58                                                                 drq 0x74 = 2
59                                                         end
60                                                         device pnp 2e.1 on #  Com1
61                                                                 io 0x60 = 0x3f8
62                                                                 irq 0x70 = 4
63                                                         end
64                                                         device pnp 2e.2 off #  Com2
65                                                                 io 0x60 = 0x2f8
66                                                                 irq 0x70 = 3
67                                                         end
68                                                         device pnp 2e.3 off #  Parallel Port
69                                                                 io 0x60 = 0x378
70                                                                 irq 0x70 = 7
71                                                         end
72                                                         device pnp 2e.4 off end #  EC
73                                                         device pnp 2e.5 on #  Keyboard
74                                                                 io 0x60 = 0x60
75                                                                 io 0x62 = 0x64
76                                                                 irq 0x70 = 1
77                                                         end
78                                                         device pnp 2e.6 on #  Mouse
79                                                                 irq 0x70 = 12
80                                                         end
81                                                         device pnp 2e.7 off #  GPIO, must be closed for unresolved reason.
82                                                         end
83                                                         device pnp 2e.8 off #  MIDI
84                                                                 io 0x60 = 0x300
85                                                                 irq 0x70 = 9
86                                                         end
87                                                         device pnp 2e.9 off #  GAME
88                                                                 io 0x60 = 0x220
89                                                         end
90                                                         device pnp 2e.a off end #  CIR
91                                                 end     #superio/ite/it8718f
92                                         end             #LPC
93                                         device pci 14.4 on end # PCI 0x4384
94                                         device pci 14.5 on end # USB 2
95                                         register "boot_switch_sata_ide" = "0"   # 0: boot from SATA. 1: IDE
96                                 end     #southbridge/amd/sb700
97                         end #  device pci 18.0
98
99                         device pci 18.0 on end
100                         device pci 18.0 on end
101                         device pci 18.1 on end
102                         device pci 18.2 on end
103                         device pci 18.3 on end
104                         device pci 18.4 on end
105 #                       device pci 00.5 on end
106                 end
107         end #pci_domain
108         #for node 32 to node 63
109
110 end