Since some people disapprove of white space cleanups mixed in regular commits
[coreboot.git] / src / mainboard / arima / hdama / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex
2         device apic_cluster 0 on
3                 chip cpu/amd/socket_940
4                         device apic 0 on end
5                 end
6         end
7         device pci_domain 0 on
8                 chip northbridge/amd/amdk8
9                         device pci 18.0 on #  northbridge
10                                 #  devices on link 0, link 0 == LDT 0
11                                 chip southbridge/amd/amd8131
12                                         # the on/off keyword is mandatory
13                                         device pci 0.0 on       # PCIX bridge
14                                                 ## On board NIC A
15                                                 #chip drivers/generic/generic
16                                                 #       device pci 3.0 on
17                                                 #               irq 0 = 0x13
18                                                 #       end
19                                                 #end
20                                                 ## On board NIC B
21                                                 #chip drivers/generic/generic
22                                                 #       device pci 4.0 on
23                                                 #               irq 0 = 0x13
24                                                 #       end
25                                                 #end
26                                                 ## PCI Slot 3
27                                                 #chip drivers/generic/generic
28                                                 #       device pci 1.0 on
29                                                 #               irq 0 = 0x11
30                                                 #               irq 1 = 0x12
31                                                 #               irq 2 = 0x13
32                                                 #               irq 3 = 0x10
33                                                 #       end
34                                                 #end
35                                                 ## PCI Slot 4
36                                                 #chip drivers/generic/generic
37                                                 #       device pci 2.0 on
38                                                 #               irq 0 = 0x12
39                                                 #               irq 1 = 0x13
40                                                 #               irq 2 = 0x10
41                                                 #               irq 3 = 0x11
42                                                 #       end
43                                                 #end
44                                         end
45                                         device pci 0.1 on end   # IOAPIC
46                                         device pci 1.0 on       # PCIX bridge
47                                                 ## PCI Slot 1
48                                                 #chip drivers/generic/generic
49                                                 #       device pci 1.0 on
50                                                 #               irq 0 = 0x11
51                                                 #               irq 1 = 0x12
52                                                 #               irq 2 = 0x13
53                                                 #               irq 3 = 0x10
54                                                 #       end
55                                                 #end
56                                                 ## PCI Slot 2
57                                                 #chip drivers/generic/generic
58                                                 #       device pci 2.0 on
59                                                 #               irq 0 = 0x12
60                                                 #               irq 1 = 0x13
61                                                 #               irq 2 = 0x10
62                                                 #               irq 3 = 0x11
63                                                 #       end
64                                                 #end
65                                         end
66                                         device pci 1.1 on end   # IOAPIC
67                                 end
68                                 chip southbridge/amd/amd8111
69                                         # this "device pci 0.0" is the parent of the next one
70                                         # PCI bridge
71                                         device pci 0.0 on
72                                                 device pci 0.0 on  end  # USB0
73                                                 device pci 0.1 on  end  # USB1
74                                                 device pci 0.2 off end  # USB 2.0
75                                                 device pci 1.0 off end  # LAN
76                                                 device pci 6.0 on end # ATI Rage XL
77                                                 ## PCI Slot 5 (correct?)
78                                                 #chip drivers/generic/generic
79                                                 #       device pci 5.0 on
80                                                 #               irq 0 = 0x11
81                                                 #               irq 1 = 0x12
82                                                 #               irq 2 = 0x13
83                                                 #               irq 3 = 0x10
84                                                 #       end
85                                                 #end
86                                                 ## PCI Slot 6 (correct?)
87                                                 #chip drivers/generic/generic
88                                                 #       device pci 4.0 on
89                                                 #               irq 0 = 0x10
90                                                 #               irq 1 = 0x11
91                                                 #               irq 2 = 0x12
92                                                 #               irq 3 = 0x13
93                                                 #       end
94                                                 #end
95
96                                         end
97                                         # LPC bridge
98                                         device pci 1.0 on
99                                                 chip superio/nsc/pc87360
100                                                         device  pnp 2e.0 off  # Floppy
101                                                                  io 0x60 = 0x3f0
102                                                                 irq 0x70 = 6
103                                                                 drq 0x74 = 2
104                                                         end
105                                                         device pnp 2e.1 off  # Parallel Port
106                                                                  io 0x60 = 0x378
107                                                                 irq 0x70 = 7
108                                                         end
109                                                         device pnp 2e.2 off # Com 2
110                                                                  io 0x60 = 0x2f8
111                                                                 irq 0x70 = 3
112                                                         end
113                                                         device pnp 2e.3 on  # Com 1
114                                                                  io 0x60 = 0x3f8
115                                                                 irq 0x70 = 4
116                                                         end
117                                                         device pnp 2e.4 off end # SWC
118                                                         device pnp 2e.5 off end # Mouse
119                                                         device pnp 2e.6 on  # Keyboard
120                                                                  io 0x60 = 0x60
121                                                                  io 0x62 = 0x64
122                                                                 irq 0x70 = 1
123                                                         end
124                                                         device pnp 2e.7 off end # GPIO
125                                                         device pnp 2e.8 off end # ACB
126                                                         device pnp 2e.9 off end # FSCM
127                                                         device pnp 2e.a off end # WDT
128                                                 end
129                                         end
130                                         device pci 1.1 on end   # IDE
131                                         device pci 1.2 on end   # SMBus 2.0
132                                         device pci 1.3 on       # System Management
133                                                 chip drivers/generic/generic
134                                                         #phillips pca9545 smbus mux
135                                                         device i2c 70 on
136                                                                 # analog_devices adm1026
137                                                                 chip drivers/generic/generic
138                                                                         device i2c 2c on end
139                                                                 end
140                                                         end
141                                                         device i2c 70 on end
142                                                         device i2c 70 on end
143                                                         device i2c 70 on end
144                                                 end
145                                                 chip drivers/generic/generic #dimm 0-0-0
146                                                         device i2c 50 on end
147                                                 end
148                                                 chip drivers/generic/generic #dimm 0-0-1
149                                                         device i2c 51 on end
150                                                 end
151                                                 chip drivers/generic/generic #dimm 0-1-0
152                                                         device i2c 52 on end
153                                                 end
154                                                 chip drivers/generic/generic #dimm 0-1-1
155                                                         device i2c 53 on end
156                                                 end
157                                                 chip drivers/generic/generic #dimm 1-0-0
158                                                         device i2c 54 on end
159                                                 end
160                                                 chip drivers/generic/generic #dimm 1-0-1
161                                                         device i2c 55 on end
162                                                 end
163                                                 chip drivers/generic/generic #dimm 1-1-0
164                                                         device i2c 56 on end
165                                                 end
166                                                 chip drivers/generic/generic #dimm 1-1-1
167                                                         device i2c 57 on end
168                                                 end
169                                         end
170                                         device pci 1.5 off end  # AC97 Audio
171                                         device pci 1.6 on  end  # AC97 Modem
172                                         register "ide0_enable" = "1"
173                                         register "ide1_enable" = "1"
174                                 end
175                         end #  device pci 18.0
176
177                         device pci 18.0 on end # LDT1
178                         device pci 18.0 on end # LDT2
179                         device pci 18.1 on end
180                         device pci 18.2 on end
181                         device pci 18.3 on end
182                 end  # chip northbridge/amd/amdk8
183                 chip northbridge/amd/amdk8
184                         device pci 19.0 on end
185                         device pci 19.0 on end
186                         device pci 19.0 on end
187                         device pci 19.1 on end
188                         device pci 19.2 on end
189                         device pci 19.3 on end
190                 end
191         end
192 end
193