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