b619acb332bc3588d4b78e34e012e46951ae8910
[coreboot.git] / src / mainboard / msi / ms9652_fam10 / devicetree.cb
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007 AMD
5 ## Written by Yinghai Lu <yinghailu@amd.com> for AMD.
6 ## Copyright (C) 2010 Raptor Engineering
7 ## Written by Timothy Pearson <tpearson@raptorengineeringinc.com> for Raptor Engineering.
8 ##
9 ## This program is free software; you can redistribute it and/or modify
10 ## it under the terms of the GNU General Public License as published by
11 ## the Free Software Foundation; either version 2 of the License, or
12 ## (at your option) any later version.
13 ##
14 ## This program is distributed in the hope that it will be useful,
15 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 ## GNU General Public License for more details.
18 ##
19 ## You should have received a copy of the GNU General Public License
20 ## along with this program; if not, write to the Free Software
21 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
22 ##
23
24 chip northbridge/amd/amdfam10/root_complex
25         device lapic_cluster 0 on
26                 chip cpu/amd/socket_F_1207
27                         device lapic 0 on end
28                 end
29         end
30         device pci_domain 0 on
31                 chip northbridge/amd/amdfam10 #mc0
32                         device pci 18.0 on      # SB on HT link 0.0
33                                 chip southbridge/nvidia/mcp55
34                                         device pci 0.0 on end   # HT
35                                         device pci 1.0 on # LPC
36                                                 chip superio/winbond/w83627ehg
37                                                         device pnp 2e.0 on #  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                                                         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 #  SERIAL_FLASH
61                                                                 io 0x60 = 0x100
62                                                         end
63                                                         device pnp 2e.7 off #  GAME_MIDI_GIPO1
64                                                                 io 0x60 = 0x220
65                                                                 io 0x62 = 0x300
66                                                                 irq 0x70 = 9
67                                                         end
68                                                         device pnp 2e.8 off end #  WDTO_PLED
69                                                         device pnp 2e.9 off end #  GPIO2_GPIO3_GPIO4_GPIO5
70                                                         device pnp 2e.a off end #  ACPI
71                                                         device pnp 2e.b on #  HW Monitor
72                                                                 io 0x60 = 0x290
73                                                                 irq 0x70 = 5
74                                                         end
75                                                         device pnp 2e.106 off           # Serial flash
76                                                                 io 0x60 = 0x100
77                                                         end
78                                                         device pnp 2e.207 on            # MIDI
79                                                                 io 0x62 = 0x330
80                                                                 irq 0x70 = 0xa
81                                                         end
82                                                 end
83                                         end
84                                         device pci 1.1 on # SM 0
85                                                 chip drivers/generic/generic #dimm 0-0-0
86                                                         device i2c 50 on end
87                                                 end
88                                                 chip drivers/generic/generic #dimm 0-0-1
89                                                         device i2c 51 on end
90                                                 end
91                                                 chip drivers/generic/generic #dimm 0-1-0
92                                                         device i2c 52 on end
93                                                 end
94                                                 chip drivers/generic/generic #dimm 0-1-1
95                                                         device i2c 53 on end
96                                                 end
97                                                 chip drivers/generic/generic #dimm 1-0-0
98                                                         device i2c 54 on end
99                                                 end
100                                                 chip drivers/generic/generic #dimm 1-0-1
101                                                         device i2c 55 on end
102                                                 end
103                                                 chip drivers/generic/generic #dimm 1-1-0
104                                                         device i2c 56 on end
105                                                 end
106                                                 chip drivers/generic/generic #dimm 1-1-1
107                                                         device i2c 57 on end
108                                                 end
109                                         end # SM
110                                         device pci 1.1 on # SM 1
111 #PCI device smbus address will depend on addon pci device, do we need to scan_smbus_bus?
112 #                                               chip drivers/generic/generic #PCIXA Slot1
113 #                                                       device i2c 50 on end
114 #                                               end
115 #                                               chip drivers/generic/generic #PCIXB Slot1
116 #                                                       device i2c 51 on end
117 #                                               end
118 #                                               chip drivers/generic/generic #PCIXB Slot2
119 #                                                       device i2c 52 on end
120 #                                               end
121 #                                               chip drivers/generic/generic #PCI Slot1
122 #                                                       device i2c 53 on end
123 #                                               end
124 #                                               chip drivers/generic/generic #Master MCP55 PCI-E
125 #                                                       device i2c 54 on end
126 #                                               end
127 #                                               chip drivers/generic/generic #Slave MCP55 PCI-E
128 #                                                       device i2c 55 on end
129 #                                               end
130 #                                               chip drivers/generic/generic #MAC EEPROM
131 #                                                       device i2c 51 on end
132 #                                               end
133                                         end # SM
134                                         device pci 2.0 on end # USB 1.1
135                                         device pci 2.1 on end # USB 2
136                                         device pci 4.0 on end # IDE
137                                         device pci 5.0 on end # SATA 0
138                                         device pci 5.1 on end # SATA 1
139                                         device pci 5.2 on end # SATA 2
140                                         device pci 6.1 on end # AZA
141                                         device pci 8.0 on end # NIC
142                                         device pci 9.0 on end # NIC
143                                         register "ide0_enable" = "1"
144                                         register "sata0_enable" = "1"
145                                         register "sata1_enable" = "1"
146                                         register "mac_eeprom_smbus" = "3" # 1: smbus under 2e.8, 2: SM0 3: SM1
147                                         register "mac_eeprom_addr" = "0x51"
148                                 end
149                         end #  device pci 18.0
150                         device pci 18.0 on end  # HT 1.0
151                         device pci 18.0 on end  # HT 2.0
152                         device pci 18.1 on end
153                         device pci 18.2 on end
154                         device pci 18.3 on end
155                         device pci 18.4 on end
156                 end # mc0
157
158         end # PCI domain
159
160 #       chip drivers/generic/debug
161 #               device pnp 0.0 off end # chip name
162 #               device pnp 0.1 on end # pci_regs_all
163 #               device pnp 0.2 on end # mem
164 #               device pnp 0.3 off end # cpuid
165 #               device pnp 0.4 on end # smbus_regs_all
166 #               device pnp 0.5 off end # dual core msr
167 #               device pnp 0.6 off end # cache size
168 #               device pnp 0.7 off end # tsc
169 #               device pnp 0.8 off  end # io
170 #               device pnp 0.9 off end # io
171 #       end
172 end #root_complex