bd67f23d54cd00d55d95c78637552dbaef35f685
[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 # PCIX Bridge A
16             # PCI-X expansion slot cards auto-detected here
17           end
18           device pci 0.1 on end  # IOAPIC A
19           device pci 1.0 on      # PCIX Bridge B
20             # On-board BCM5704 dual port ethernet chip auto-detected here
21             # Optional SCSI board also (?)
22           end
23           device pci 1.1 on end  # IOAPIC B
24           device pci 2.0 off end
25         end
26         chip southbridge/amd/amd8111
27           # this "device pci 0.0" is the parent of the next one
28           # PCI bridge
29           device pci 0.0 on
30             device pci 0.0 on end  # OHCI-based USB controller 0
31             device pci 0.1 on end  # OCHI-based USB controller 1
32             device pci 0.2 on end  # EHCI-based USB2 controller
33             device pci 1.0 off end # LAN Ethernet controller
34             #device pci 4.0 on end # VGA PCI-card (auto detected)
35           end
36           device pci 1.0 on # LPC Bridge
37             chip superio/winbond/w83627hf
38               device pnp 2e.0 off # Floppy
39                 #io  0x60 = 0x3f0
40                 #irq 0x70 = 6
41                 #drq 0x74 = 2
42               end
43               device pnp 2e.1 off # Parallel Port
44                 #io  0x60 = 0x378
45                 #irq 0x70 = 7
46                 #drq 0x74 = 1
47               end
48               device pnp 2e.2 on  # Com1
49                 io  0x60 = 0x3f8
50                 irq 0x70 = 4
51               end
52               device pnp 2e.3 off # Com2
53                 #io  0x60 = 0x2f8
54                 #irq 0x70 = 3
55               end
56               device pnp 2e.5 on  # Keyboard
57                 io  0x60 = 0x60
58                 io  0x62 = 0x64
59                 irq 0x70 = 1
60                 irq 0x72 = 12
61               end
62               device pnp 2e.6 off # CIR
63               end
64               device pnp 2e.7 off  # GAM_MIDI_GPIO1
65                 #io  0x60 = 0x201
66                 #io  0x62 = 0x330
67                 #irq 0x70 = 9
68               end
69               device pnp 2e.8 on  # GPIO2 (watchdog timer)
70               end
71               device pnp 2e.9 on  # GPIO3
72               end
73               device pnp 2e.a on  # ACPI
74               end
75               device pnp 2e.b on  # HW Monitor
76                 io  0x60 = 0x290
77                 irq 0x70 = 5
78               end
79             end
80           end
81           device pci 1.1 on end # EIDE controller
82           device pci 1.2 on 
83             chip drivers/generic/generic
84               device i2c 8 on end # Some HW-monitor/sensor?
85             end
86           end
87           device pci 1.2 on 
88             chip drivers/i2c/i2cmux # Multplexed DIMM spd eeproms.
89               device i2c 18 on #0 pca9516 (?)
90                 # Some dimms also listen to address 30-33
91                 # It's some kind of write-protect function
92                 # The 50-53 addresses are the interesting ones.
93                 chip drivers/generic/generic #dimm H0-0
94                   device i2c 50 on end
95                 end
96                 chip drivers/generic/generic #dimm H0-1
97                   device i2c 51 on end
98                 end
99                 chip drivers/generic/generic #dimm H0-2
100                   device i2c 52 on end
101                 end
102                 chip drivers/generic/generic #dimm H0-3
103                   device i2c 53 on end
104                 end
105               end
106               device i2c 18 on #1 pca9516 (?)
107                 chip drivers/generic/generic #dimm H1-0
108                   device i2c 50 on end
109                 end
110                 chip drivers/generic/generic #dimm H1-1
111                   device i2c 51 on end
112                 end
113                 chip drivers/generic/generic #dimm H1-2
114                   device i2c 52 on end
115                 end
116                 chip drivers/generic/generic #dimm H1-3
117                   device i2c 53 on end
118                 end
119               end
120             end
121           end
122           device pci 1.2 on 
123             chip drivers/generic/generic
124               device i2c 69 on end  # Texas Instruments cdc960 clock synthesizer
125             end
126           end # SMBus 2.0 controller
127           device pci 1.3 on     # System management registers (ACPI)
128           end # System management
129           #device pci 1.4 off end
130           device pci 1.5 off end # AC97 Audio
131           device pci 1.6 off end # AC97 Modem
132           register "ide0_enable" = "1"
133           register "ide1_enable" = "1"
134         end
135       end #  device pci 18.0
136       device pci 18.1 on end
137       device pci 18.2 on end
138       device pci 18.3 on end
139     end
140   end
141 end
142