CK804/MCP55 devicetree.cb cosmetic and indentation fixes.
[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      # Root complex
25   device lapic_cluster 0 on                     # (L)APIC cluster
26     chip cpu/amd/socket_F_1207                  # CPU socket
27       device lapic 0 on end                     # Local APIC of the CPU
28     end
29   end
30   device pci_domain 0 on                        # PCI domain
31     chip northbridge/amd/amdfam10               # Northbridge / RAM controller
32       device pci 18.0 on                        # Link 0
33         chip southbridge/nvidia/mcp55           # Southbridge
34           device pci 0.0 on end                 # HT
35           device pci 1.0 on                     # LPC
36             chip superio/winbond/w83627ehg      # Super I/O
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                # PS/2 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 port, MIDI, GPIO1
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                # Hardware 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
110           device pci 1.1 on                     # SM 1
111             # PCI device SMBus address will
112             # depend on addon PCI device, do
113             # we need to scan_smbus_bus?
114             # chip drivers/generic/generic      # PCIXA slot 1
115             #   device i2c 50 on end
116             # end
117             # chip drivers/generic/generic      # PCIXB slot 1
118             #   device i2c 51 on end
119             # end
120             # chip drivers/generic/generic      # PCIXB slot 2
121             #   device i2c 52 on end
122             # end
123             # chip drivers/generic/generic      # PCI slot 1
124             #   device i2c 53 on end
125             # end
126             # chip drivers/generic/generic      # Master MCP55 PCI-E
127             #   device i2c 54 on end
128             # end
129             # chip drivers/generic/generic      # Slave MCP55 PCI-E
130             #   device i2c 55 on end
131             # end
132             # chip drivers/generic/generic      # MAC EEPROM
133             #   device i2c 51 on end
134             # end
135           end
136           device pci 2.0 on end                 # USB 1.1
137           device pci 2.1 on end                 # USB 2
138           device pci 4.0 on end                 # IDE
139           device pci 5.0 on end                 # SATA 0
140           device pci 5.1 on end                 # SATA 1
141           device pci 5.2 on end                 # SATA 2
142           device pci 6.1 on end                 # AZA
143           device pci 8.0 on end                 # NIC
144           device pci 9.0 on end                 # NIC
145           register "ide0_enable" = "1"
146           register "sata0_enable" = "1"
147           register "sata1_enable" = "1"
148           # 1: SMBus under 2e.8, 2: SM0 3: SM1
149           register "mac_eeprom_smbus" = "3"
150           register "mac_eeprom_addr" = "0x51"
151         end
152       end
153       device pci 18.0 on end                    # HT 1.0
154       device pci 18.0 on end                    # HT 2.0
155       device pci 18.1 on end
156       device pci 18.2 on end
157       device pci 18.3 on end
158       device pci 18.4 on end
159     end
160   end
161   # chip drivers/generic/debug
162   #   device pnp 0.0 off end                    # chip name
163   #   device pnp 0.1 on end                     # pci_regs_all
164   #   device pnp 0.2 on end                     # mem
165   #   device pnp 0.3 off end                    # cpuid
166   #   device pnp 0.4 on end                     # smbus_regs_all
167   #   device pnp 0.5 off end                    # dual core msr
168   #   device pnp 0.6 off end                    # cache size
169   #   device pnp 0.7 off end                    # tsc
170   #   device pnp 0.8 off end                    # io
171   #   device pnp 0.9 off end                    # io
172   # end
173 end