Use subsystem id from devicetree.cb instead of Kconfig and move
[coreboot.git] / src / mainboard / tyan / s4882 / 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 0x4882 inherit
9                 chip northbridge/amd/amdk8
10                         device pci 18.0 on end # LDT0
11                         device pci 18.0 on #  northbridge
12                                 #  devices on link 1, link 1 == LDT 1
13                                 chip southbridge/amd/amd8131
14                                         # the on/off keyword is mandatory
15                                         device pci 0.0 on
16 #                                               chip drivers/lsi/53c1030
17 #                                                       device pci 4.0 on end
18 #                                                       device pci 4.1 on end
19 #                                                       register "fw_address" = "0xfff8c000"
20 #                                               end
21                                                 device pci 9.0 on end #Broadcom
22                                                 device pci 9.1 on end
23                                         end
24                                         device pci 0.1 on end
25                                         device pci 1.0 on end
26                                         device pci 1.1 on end
27                                 end
28                                 chip southbridge/amd/amd8111
29                                         # this "device pci 0.0" is the parent the next one
30                                         # PCI bridge
31                                         device pci 0.0 on
32                                                 device pci 0.0 on end
33                                                 device pci 0.1 on end
34                                                 device pci 0.2 off end
35                                                 device pci 1.0 off end
36                                                 #chip drivers/ati/ragexl
37                                                 device pci 6.0 on end
38                                                 #end
39                                                 device pci 5.0 on end #SiI
40                                         end
41                                         device pci 1.0 on
42                                                 chip superio/winbond/w83627hf
43                                                         device pnp 2e.0 on #  Floppy
44                                                                 io 0x60 = 0x3f0
45                                                                 irq 0x70 = 6
46                                                                 drq 0x74 = 2
47                                                         end
48                                                         device pnp 2e.1 off #  Parallel Port
49                                                                 io 0x60 = 0x378
50                                                                 irq 0x70 = 7
51                                                         end
52                                                         device pnp 2e.2 on #  Com1
53                                                                 io 0x60 = 0x3f8
54                                                                 irq 0x70 = 4
55                                                         end
56                                                         device pnp 2e.3 on #  Com2
57                                                                 io 0x60 = 0x2f8
58                                                                 irq 0x70 = 3
59                                                         end
60                                                         device pnp 2e.5 on #  Keyboard
61                                                                 io 0x60 = 0x60
62                                                                 io 0x62 = 0x64
63                                                                 irq 0x70 = 1
64                                                                 irq 0x72 = 12
65                                                         end
66                                                         device pnp 2e.6 off #  CIR
67                                                                 io 0x60 = 0x100
68                                                         end
69                                                         device pnp 2e.7 off #  GAME_MIDI_GIPO1
70                                                                 io 0x60 = 0x220
71                                                                 io 0x62 = 0x300
72                                                                 irq 0x70 = 9
73                                                         end
74                                                         device pnp 2e.8 off end #  GPIO2
75                                                         device pnp 2e.9 off end #  GPIO3
76                                                         device pnp 2e.a off end #  ACPI
77                                                         device pnp 2e.b on #  HW Monitor
78                                                                 io 0x60 = 0x290
79                                                                 irq 0x70 = 5
80                                                         end
81                                                 end
82                                         end
83                                         device pci 1.1 on end
84                                         device pci 1.2 on end
85                                         device pci 1.3 on
86 #                                                chip drivers/i2c/i2cmux # pca9556 smbus mux
87 #                                                        device i2c 18 on #0 pca9516 2, 1
88 #                                                               chip drivers/i2c/lm63 #cpu0 temp
89 #                                                                        device i2c 4c on end
90 #                                                                end
91 #                                                       end
92 #                                                        device i2c 18 on #1 pca9516 1, 1
93 #                                                                chip drivers/generic/generic #dimm 1-0-0
94 #                                                                        device i2c 50 on end
95 #                                                                end
96 #                                                                chip drivers/generic/generic #dimm 1-0-1
97 #                                                                        device i2c 51 on end
98 #                                                                end
99 #                                                                chip drivers/generic/generic #dimm 1-1-0
100 #                                                                        device i2c 52 on end
101 #                                                                end
102 #                                                                chip drivers/generic/generic #dimm 1-1-1
103 #                                                                       device i2c 53 on end
104 #                                                               end
105 #                                                        end
106 #                                                        device i2c 18 on #2 pca9516 1, 2
107 #                                                                chip drivers/generic/generic #dimm 0-0-0
108 #                                                                        device i2c 50 on end
109 #                                                                end
110 #                                                                chip drivers/generic/generic #dimm 0-0-1
111 #                                                                        device i2c 51 on end
112 #                                                                end
113 #                                                                chip drivers/generic/generic #dimm 0-1-0
114 #                                                                        device i2c 52 on end
115 #                                                                end
116 #                                                                chip drivers/generic/generic #dimm 0-1-1
117 #                                                                       device i2c 53 on end
118 #                                                               end
119 #                                                        end
120 #                                                        device i2c 18 on #3 pca9516 1, 3
121 #                                                                chip drivers/generic/generic #dimm 3-0-0
122 #                                                                        device i2c 50 on end
123 #                                                                end
124 #                                                                chip drivers/generic/generic #dimm 3-0-1
125 #                                                                        device i2c 51 on end
126 #                                                                end
127 #                                                                chip drivers/generic/generic #dimm 3-1-0
128 #                                                                        device i2c 52 on end
129 #                                                                end
130 #                                                                chip drivers/generic/generic #dimm 3-1-1
131 #                                                                       device i2c 53 on end
132 #                                                               end
133 #                                                        end
134 #                                                        device i2c 18 on #4 pca9516 1, 4
135 #                                                                chip drivers/generic/generic #dimm 2-0-0
136 #                                                                        device i2c 50 on end
137 #                                                                end
138 #                                                                chip drivers/generic/generic #dimm 2-0-1
139 #                                                                        device i2c 51 on end
140 #                                                                end
141 #                                                                chip drivers/generic/generic #dimm 2-1-0
142 #                                                                        device i2c 52 on end
143 #                                                                end
144 #                                                                chip drivers/generic/generic #dimm 2-1-1
145 #                                                                       device i2c 53 on end
146 #                                                               end
147 #                                                        end
148 #                                                        device i2c 18 on #5 pca9516 2, 2
149 #                                                                chip drivers/i2c/lm63 #cpu1 temp
150 #                                                                       device i2c 4c on end
151 #                                                                end
152 #                                                        end
153 #                                                        device i2c 18 on #6 pca9516 2, 3
154 #                                                                chip drivers/i2c/lm63 #cpu2 temp
155 #                                                                        device i2c 4c on end
156 #                                                                end
157 #                                                        end
158 #                                                        device i2c 18 on #7 pca9516 2, 4
159 #                                                                chip drivers/i2c/lm63 #cpu3 temp
160 #                                                                        device i2c 4c on end
161 #                                                                end
162 #                                                        end
163 #                                                end # i2cmux
164 #                                                chip drivers/i2c/adm1027 # ADM1027 CPU1 vid and System FAN...
165 #                                                        device i2c 2e on end
166 #                                                end
167 #                                                chip drivers/generic/generic # Winbond HWM 0x54 CPU0 vid
168 #                                                        device i2c 2a on end
169 #                                                end
170 #                                                chip drivers/generic/generic # Winbond HWM 0x92
171 #                                                        device i2c 49 on end
172 #                                                end
173 #                                                chip drivers/generic/generic # Winbond HWM 0x94
174 #                                                        device i2c 4a on end
175 #                                                end
176 #                                                chip drivers/generic/generic # ??
177 #                                                        device i2c 69 on end
178 #                                                end
179                                         end # acpi
180                                         device pci 1.5 off end
181                                         device pci 1.6 off end
182                                         register "ide0_enable" = "1"
183                                         register "ide1_enable" = "1"
184                                 end
185                         end #  device pci 18.0
186
187                         device pci 18.0 on end
188
189                         device pci 18.1 on end
190                         device pci 18.2 on end
191                         device pci 18.3 on end
192                 end
193
194         end
195 #        chip drivers/generic/debug
196 #                device pnp 0.0 off end # chip name
197 #                device pnp 0.1 off end # pci_regs_all
198 #                device pnp 0.2 off end # mem
199 #                device pnp 0.3 on end # cpuid
200 #                device pnp 0.4 off end # smbus_regs_all
201 #               device pnp 0.5 on end # dual core msr
202 #               device pnp 0.6 on end # cache size
203 #               device pnp 0.7 on end # tsc
204 #        end
205 end
206