Use subsystem id from devicetree.cb instead of Kconfig and move
[coreboot.git] / src / mainboard / tyan / s2850 / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex
2         device lapic_cluster 0 on
3                 chip cpu/amd/socket_940
4                         device lapic 0 on end
5                 end
6         end
7         device pci_domain 0 on
8                 subsystemid 0x10f1 0x2850 inherit
9                 chip northbridge/amd/amdk8
10                         device pci 18.0 on # LDT0
11                                 #  devices on link 2, link 2 == LDT 2
12                                 chip southbridge/amd/amd8111
13                                         # this "device pci 0.0" is the parent the next one
14                                         # PCI bridge
15                                         device pci 0.0 on
16                                                 device pci 0.0 on end
17                                                 device pci 0.1 on end
18                                                 device pci 0.2 off end
19                                                 device pci 1.0 off end
20                                                 #chip drivers/ati/ragexl
21                                                 device pci b.0 on end
22                                         end
23                                         device pci 1.0 on
24                                                 chip superio/winbond/w83627hf
25                                                         device pnp 2e.0 on #  Floppy
26                                                                 io 0x60 = 0x3f0
27                                                                 irq 0x70 = 6
28                                                                 drq 0x74 = 2
29                                                         end
30                                                         device pnp 2e.1 off #  Parallel Port
31                                                                 io 0x60 = 0x378
32                                                                 irq 0x70 = 7
33                                                         end
34                                                         device pnp 2e.2 on #  Com1
35                                                                 io 0x60 = 0x3f8
36                                                                 irq 0x70 = 4
37                                                         end
38                                                         device pnp 2e.3 off #  Com2
39                                                                 io 0x60 = 0x2f8
40                                                                 irq 0x70 = 3
41                                                         end
42                                                         device pnp 2e.5 on #  Keyboard
43                                                                 io 0x60 = 0x60
44                                                                 io 0x62 = 0x64
45                                                                 irq 0x70 = 1
46                                                                 irq 0x72 = 12
47                                                         end
48                                                        device pnp 2e.6 off #  CIR
49                                                                 io 0x60 = 0x100
50                                                         end
51                                                         device pnp 2e.7 off #  GAME_MIDI_GIPO1
52                                                                 io 0x60 = 0x220
53                                                                 io 0x62 = 0x300
54                                                                 irq 0x70 = 9
55                                                         end
56                                                         device pnp 2e.8 off end #  GPIO2
57                                                         device pnp 2e.9 off end #  GPIO3
58                                                         device pnp 2e.a off end #  ACPI
59                                                         device pnp 2e.b on #  HW Monitor
60                                                                 io 0x60 = 0x290
61                                                                 irq 0x70 = 5
62                                                         end
63                                                 end
64                                         end
65                                         device pci 1.1 on end
66                                         device pci 1.2 on end
67                                         device pci 1.3 on
68                                                 chip drivers/generic/generic #dimm 0-0-0
69                                                         device i2c 50 on end
70                                                 end
71                                                 chip drivers/generic/generic #dimm 0-0-1
72                                                         device i2c 51 on end
73                                                 end
74                                                 chip drivers/generic/generic #dimm 0-1-0
75                                                         device i2c 52 on end
76                                                 end
77                                                 chip drivers/generic/generic #dimm 0-1-1
78                                                         device i2c 53 on end
79                                                 end
80                                         end
81                                         device pci 1.5 on end
82                                         device pci 1.6 off end
83                                         register "ide0_enable" = "1"
84                                         register "ide1_enable" = "1"
85                                 end
86                         end #  device pci 18.0
87                         device pci 18.0 on end
88                         device pci 18.0 on end
89
90                         device pci 18.1 on end
91                         device pci 18.2 on end
92                         device pci 18.3 on end
93                 end
94         end
95 end
96