Use subsystem id from devicetree.cb instead of Kconfig and move
[coreboot.git] / src / mainboard / hp / dl145_g1 / 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 0x1022 0x7460 inherit
9     chip northbridge/amd/amdk8
10       device pci 18.0 on end # link 0
11       device pci 18.0 on end # link 1
12       device pci 18.0 on     # link 2
13         chip southbridge/amd/amd8131
14           # the on/off keyword is mandatory
15           device pci 0.0 on end
16           device pci 0.1 on end
17           device pci 1.0 on end
18           device pci 1.1 on end
19           device pci 2.0 on end
20           device pci 2.1 on end
21           device pci 3.0 off end
22         end
23         chip southbridge/amd/amd8111
24           # this "device pci 0.0" is the parent the next one
25           # PCI bridge
26           device pci 0.0 on
27             device pci 0.0 on end # LPC
28             device pci 0.1 on end # IDE
29             device pci 0.2 on end # SMbus
30             device pci 0.3 on end # ACPI
31             device pci 1.0 off end
32             #device pci 5.0 on end # SiI
33             #device pci 6.0 on end
34           end
35           device pci 1.0 on
36             chip superio/winbond/w83627hf
37               device pnp 2e.0 off # Floppy
38                 io  0x60 = 0x3f0
39                 irq 0x70 = 6
40                 drq 0x74 = 2
41               end
42               device pnp 2e.1 off # Parallel Port
43                 io  0x60 = 0x378
44                 irq 0x70 = 7
45                 drq 0x74 = 1
46               end
47               device pnp 2e.2 on  # Com1
48                 io  0x60 = 0x3f8
49                 irq 0x70 = 4
50               end
51               device pnp 2e.3 on  # Com2
52                 io  0x60 = 0x2f8
53                 irq 0x70 = 3
54               end
55               device pnp 2e.5 on  # Keyboard
56                 io  0x60 = 0x60
57                 io  0x62 = 0x64
58                 irq 0x70 = 1
59                 irq 0x72 = 12
60               end
61               device pnp 2e.6 off # CIR
62               end
63               device pnp 2e.7 off # GAM_MIDI_GIPO1
64                 io  0x60 = 0x201
65                 io  0x62 = 0x330
66                 irq 0x70 = 9
67               end
68               device pnp 2e.8 on  # GPIO2
69               end
70               device pnp 2e.9 on  # GPIO3
71               end
72               device pnp 2e.a on  # ACPI
73               end
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
83             chip drivers/generic/generic # ???
84               device i2c 08 on end
85             end
86             chip drivers/i2c/i2cmux # pca9556 smbus mux
87               device i2c 18 on #0 pca9516 1
88                 # I don't know what 30-33 are for,
89                 # they seem to have something to do with the DIMM's
90                 chip drivers/generic/generic # ???
91                   device i2c 30 on end
92                 end
93                 chip drivers/generic/generic # ???
94                   device i2c 31 on end
95                 end
96                 chip drivers/generic/generic # ???
97                   device i2c 32 on end
98                 end
99                 chip drivers/generic/generic # ???
100                   device i2c 33 on end
101                 end
102                 chip drivers/generic/generic #dimm H0-0
103                   device i2c 50 on end
104                 end
105                 chip drivers/generic/generic #dimm H0-1
106                   device i2c 51 on end
107                 end
108                 chip drivers/generic/generic #dimm H0-2
109                   device i2c 52 on end
110                 end
111                 chip drivers/generic/generic #dimm H0-3
112                   device i2c 53 on end
113                 end
114               end
115               device i2c 18 on #1 pca9516 2
116                 chip drivers/generic/generic # ???
117                   device i2c 30 on end
118                 end
119                 chip drivers/generic/generic # ???
120                   device i2c 31 on end
121                 end
122                 chip drivers/generic/generic # ???
123                   device i2c 32 on end
124                 end
125                 chip drivers/generic/generic # ???
126                   device i2c 33 on end
127                 end
128                 chip drivers/generic/generic #dimm H1-0
129                   device i2c 50 on end
130                 end
131                 chip drivers/generic/generic #dimm H1-1
132                   device i2c 51 on end
133                 end
134                 chip drivers/generic/generic #dimm H1-2
135                   device i2c 52 on end
136                 end
137                 chip drivers/generic/generic #dimm H1-3
138                   device i2c 53 on end
139                 end
140               end
141             end
142             chip drivers/generic/generic # ???
143               device i2c 69 on end
144             end
145           end # acpi
146           device pci 1.4 off end
147           device pci 1.5 off end # AC97 Audio
148           device pci 1.6 off end # MC97 Modem
149           register "ide0_enable" = "1"
150           register "ide1_enable" = "1"
151         end
152       end #  device pci 18.0
153       device pci 18.1 on end
154       device pci 18.2 on end
155       device pci 18.3 on end
156     end
157   end
158 end
159