43bdeb63deae04a25139c877274c82fb67640d7b
[coreboot.git] / src / mainboard / tyan / s2912_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 0x10f1 0x2912 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
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 4.0 on end
117           end
118           device pci 6.1 off end                # AZA
119           device pci 8.0 on end                 # NIC
120           device pci 9.0 on end                 # NIC
121           device pci a.0 on end                 # PCI E 5
122           device pci b.0 off end                # PCI E 4
123           device pci c.0 off end                # PCI E 3
124           device pci d.0 on end                 # PCI E 2
125           device pci e.0 off end                # PCI E 1
126           device pci f.0 on end                 # PCI E 0
127           register "ide0_enable" = "1"
128           register "sata0_enable" = "1"
129           register "sata1_enable" = "1"
130           # 1: SMBus under 2e.8, 2: SM0 3: SM1
131           register "mac_eeprom_smbus" = "3"
132           register "mac_eeprom_addr" = "0x51"
133         end
134       end
135       device pci 18.1 on end
136       device pci 18.2 on end
137       device pci 18.3 on end
138       device pci 18.4 on end
139     end
140   end
141   # chip drivers/generic/debug
142   #   device pnp 0.0 off end                    # chip name
143   #   device pnp 0.1 on end                     # pci_regs_all
144   #   device pnp 0.2 on end                     # mem
145   #   device pnp 0.3 off end                    # cpuid
146   #   device pnp 0.4 on end                     # smbus_regs_all
147   #   device pnp 0.5 off end                    # dual core msr
148   #   device pnp 0.6 off end                    # cache size
149   #   device pnp 0.7 off end                    # tsc
150   #   device pnp 0.8 off end                    # io
151   #   device pnp 0.9 off end                    # io
152   # end
153 end