Use subsystem id from devicetree.cb instead of Kconfig and move
[coreboot.git] / src / mainboard / supermicro / h8dmr_fam10 / devicetree.cb
1 chip northbridge/amd/amdfam10/root_complex      # Root complex
2   device lapic_cluster 0 on                     # (L)APIC cluster
3     chip cpu/amd/socket_F_1207                  # CPU socket
4       device lapic 0 on end                     # Local APIC of the CPU
5     end
6   end
7   device pci_domain 0 on                        # PCI domain
8     subsystemid 0x15d9 0x1511 inherit
9     chip northbridge/amd/amdfam10               # Northbridge / RAM controller
10       device pci 18.0 on end
11       device pci 18.0 on end
12       device pci 18.0 on                        # SB on link 2.0
13         chip southbridge/nvidia/mcp55           # Southbridge
14           device pci 0.0 on end                 # HT
15           device pci 1.0 on                     # LPC
16             chip superio/winbond/w83627hf       # Super I/O
17               device pnp 2e.0 off               # Floppy
18                 io 0x60 = 0x3f0
19                 irq 0x70 = 6
20                 drq 0x74 = 2
21               end
22               device pnp 2e.1 off               # Parallel port
23                 io 0x60 = 0x378
24                 irq 0x70 = 7
25               end
26               device pnp 2e.2 on                # Com1
27                 io 0x60 = 0x3f8
28                 irq 0x70 = 4
29               end
30               device pnp 2e.3 on                # Com2
31                 io 0x60 = 0x2f8
32                 irq 0x70 = 3
33               end
34               device pnp 2e.5 on                # PS/2 keyboard
35                 io 0x60 = 0x60
36                 io 0x62 = 0x64
37                 irq 0x70 = 1
38                 irq 0x72 = 12
39               end
40               device pnp 2e.6 off               # SFI
41                 io 0x62 = 0x100
42               end
43               device pnp 2e.7 off               # GPIO, game port, MIDI
44                 io 0x60 = 0x220
45                 io 0x62 = 0x300
46                 irq 0x70 = 9
47               end
48               device pnp 2e.8 off end           # WDTO PLED
49               device pnp 2e.9 off end           # GPIO SUSLED
50               device pnp 2e.a off end           # ACPI
51               device pnp 2e.b on                # Hardware monitor
52                 io 0x60 = 0x290
53                 irq 0x70 = 5
54               end
55             end
56           end
57           device pci 1.1 on                     # SM 0
58             chip drivers/generic/generic        # DIMM 0-0-0
59               device i2c 50 on end
60             end
61             chip drivers/generic/generic        # DIMM 0-0-1
62               device i2c 51 on end
63             end
64             chip drivers/generic/generic        # DIMM 0-1-0
65               device i2c 52 on end
66             end
67             chip drivers/generic/generic        # DIMM 0-1-1
68               device i2c 53 on end
69             end
70             chip drivers/generic/generic        # DIMM 1-0-0
71               device i2c 54 on end
72             end
73             chip drivers/generic/generic        # DIMM 1-0-1
74               device i2c 55 on end
75             end
76             chip drivers/generic/generic        # DIMM 1-1-0
77               device i2c 56 on end
78             end
79             chip drivers/generic/generic        # DIMM 1-1-1
80               device i2c 57 on end
81             end
82           end
83           device pci 1.1 on                     # SM 1
84             # PCI device SMBus address will
85             # depend on addon PCI device, do
86             # we need to scan_smbus_bus?
87             # chip drivers/generic/generic      # PCIXA slot 1
88             #   device i2c 50 on end
89             # end
90             # chip drivers/generic/generic      # PCIXB slot 1
91             #   device i2c 51 on end
92             # end
93             # chip drivers/generic/generic      # PCIXB slot 2
94             #   device i2c 52 on end
95             # end
96             # chip drivers/generic/generic      # PCI slot 1
97             #   device i2c 53 on end
98             # end
99             # chip drivers/generic/generic      # Master MCP55 PCI-E
100             #   device i2c 54 on end
101             # end
102             # chip drivers/generic/generic      # Slave MCP55 PCI-E
103             #   device i2c 55 on end
104             # end
105             chip drivers/generic/generic        # MAC EEPROM
106               device i2c 51 on end
107             end
108           end
109           device pci 2.0 on end                 # USB 1.1
110           device pci 2.1 on end                 # USB 2
111           device pci 4.0 on end                 # IDE
112           device pci 5.0 on end                 # SATA 0
113           device pci 5.1 on end                 # SATA 1
114           device pci 5.2 on end                 # SATA 2
115           device pci 6.0 on                     # PCI
116             device pci 6.0 on end
117           end
118           device pci 6.1 on end                 # AZA
119           device pci 8.0 on end                 # NIC
120           device pci 9.0 on end                 # NIC
121           device pci a.0 on                     # PCI E 5
122             device pci 0.0 on end               # NEC PCI-X
123             device pci 0.1 on                   # NEC PCI-X
124               device pci 4.0 on end             # SCSI
125               device pci 4.1 on end             # SCSI
126             end
127           end
128           device pci b.0 on end                 # PCI E 4
129           device pci c.0 on end                 # PCI E 3
130           device pci d.0 on end                 # PCI E 2
131           device pci e.0 on end                 # PCI E 1
132           device pci f.0 on end                 # PCI E 0
133           register "ide0_enable" = "1"
134           register "sata0_enable" = "1"
135           register "sata1_enable" = "1"
136           # 1: SMBus under 2e.8, 2: SM0 3: SM1
137           register "mac_eeprom_smbus" = "3"
138           register "mac_eeprom_addr" = "0x51"
139         end
140       end
141       device pci 18.1 on end
142       device pci 18.2 on end
143       device pci 18.3 on end
144       device pci 18.4 on end
145       device pci 19.0 on end
146       device pci 19.1 on end
147       device pci 19.2 on end
148       device pci 19.3 on end
149       device pci 19.4 on end
150     end
151   end
152   # chip drivers/generic/debug
153   #   device pnp 0.0 off end                    # chip name
154   #   device pnp 0.1 on end                     # pci_regs_all
155   #   device pnp 0.2 off end                    # mem
156   #   device pnp 0.3 off end                    # cpuid
157   #   device pnp 0.4 on end                     # smbus_regs_all
158   #   device pnp 0.5 off end                    # dual core msr
159   #   device pnp 0.6 off end                    # cache size
160   #   device pnp 0.7 off end                    # tsc
161   #   device pnp 0.8 off end                    # io
162   #   device pnp 0.9 on end                     # io
163   # end
164 end