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