W83627DHG/W83627EHG fixups for virtual LDNs.
[coreboot.git] / src / mainboard / nvidia / l1_2pvv / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex         # Root complex
2   device lapic_cluster 0 on                     # (L)APIC cluster
3     chip cpu/amd/socket_F                       # 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     chip northbridge/amd/amdk8                  # Northbridge / RAM controller
9       device pci 18.0 on                        # Link 0 == LDT 0
10         chip southbridge/nvidia/mcp55           # Southbridge
11           device pci 0.0 on end                 # HT
12           device pci 1.0 on                     # LPC
13             chip superio/winbond/w83627ehg      # Super I/O
14               device pnp 2e.0 off               # Floppy
15                 io 0x60 = 0x3f0
16                 irq 0x70 = 6
17                 drq 0x74 = 2
18               end
19               device pnp 2e.1 off               # Parallel port
20                 io 0x60 = 0x378
21                 irq 0x70 = 7
22               end
23               device pnp 2e.2 on                # Com1
24                 io 0x60 = 0x3f8
25                 irq 0x70 = 4
26               end
27               device pnp 2e.3 off               # Com2
28                 io 0x60 = 0x2f8
29                 irq 0x70 = 3
30               end
31               device pnp 2e.5 on                # PS/2 keyboard & mouse
32                 io 0x60 = 0x60
33                 io 0x62 = 0x64
34                 irq 0x70 = 1
35                 irq 0x72 = 12
36               end
37               device pnp 2e.106 off             # Serial flash interface (SFI)
38                 io 0x60 = 0x100
39               end
40               device pnp 2e.007 off             # GPIO 1
41               end
42               device pnp 2e.107 off             # Game port
43                 io 0x60 = 0x220
44               end
45               device pnp 2e.207 off             # MIDI
46                 io 0x62 = 0x300
47                 irq 0x70 = 9
48               end
49               device pnp 2e.307 off             # GPIO 6
50               end
51               device pnp 2e.8 off               # WDTO#, PLED
52               end
53               device pnp 2e.009 off             # GPIO 2
54               end
55               device pnp 2e.109 off             # GPIO 3
56               end
57               device pnp 2e.209 off             # GPIO 4
58               end
59               device pnp 2e.309 off             # GPIO 5
60               end
61               device pnp 2e.a off end           # ACPI
62               device pnp 2e.b on                # Hardware monitor
63                 io 0x60 = 0x290
64                 irq 0x70 = 5
65               end
66             end
67           end
68           device pci 1.1 on                     # SM 0
69             chip drivers/generic/generic        # DIMM 0-0-0
70               device i2c 50 on end
71             end
72             chip drivers/generic/generic        # DIMM 0-0-1
73               device i2c 51 on end
74             end
75             chip drivers/generic/generic        # DIMM 0-1-0
76               device i2c 52 on end
77             end
78             chip drivers/generic/generic        # DIMM 0-1-1
79               device i2c 53 on end
80             end
81             chip drivers/generic/generic        # DIMM 1-0-0
82               device i2c 54 on end
83             end
84             chip drivers/generic/generic        # DIMM 1-0-1
85               device i2c 55 on end
86             end
87             chip drivers/generic/generic        # DIMM 1-1-0
88               device i2c 56 on end
89             end
90             chip drivers/generic/generic        # DIMM 1-1-1
91               device i2c 57 on end
92             end
93           end
94           device pci 1.1 on                     # SM 1
95             # PCI device SMBus address will
96             # depend on addon PCI device, do
97             # we need to scan_smbus_bus?
98             # chip drivers/generic/generic      # PCIXA slot 1
99             #   device i2c 50 on end
100             # end
101             # chip drivers/generic/generic      # PCIXB slot 1
102             #   device i2c 51 on end
103             # end
104             # chip drivers/generic/generic      # PCIXB slot 2
105             #   device i2c 52 on end
106             # end
107             # chip drivers/generic/generic      # PCI slot 1
108             #   device i2c 53 on end
109             # end
110             # chip drivers/generic/generic      # Master MCP55 PCI-E
111             #   device i2c 54 on end
112             # end
113             # chip drivers/generic/generic      # Slave MCP55 PCI-E
114             #   device i2c 55 on end
115             # end
116             chip drivers/generic/generic        # MAC EEPROM
117               device i2c 51 on end
118             end
119           end
120           device pci 2.0 on end                 # USB 1.1
121           device pci 2.1 on end                 # USB 2
122           device pci 4.0 on end                 # IDE
123           device pci 5.0 on end                 # SATA 0
124           device pci 5.1 on end                 # SATA 1
125           device pci 5.2 on end                 # SATA 2
126           device pci 6.0 on end                 # PCI
127           device pci 6.1 on end                 # AZA
128           device pci 8.0 on end                 # NIC
129           device pci 9.0 on end                 # NIC
130           device pci a.0 on end                 # PCI E 5
131           device pci b.0 off end                # PCI E 4
132           device pci c.0 off end                # PCI E 3
133           device pci d.0 on end                 # PCI E 2
134           device pci e.0 off end                # PCI E 1
135           device pci f.0 on end                 # PCI E 0
136           register "ide0_enable" = "1"
137           register "sata0_enable" = "1"
138           register "sata1_enable" = "1"
139           # 1: SMBus under 2e.8, 2: SM0 3: SM1
140           register "mac_eeprom_smbus" = "3"
141           register "mac_eeprom_addr" = "0x51"
142         end
143       end
144       device pci 18.0 on end                    # Link 1
145       device pci 18.0 on                        # Link 2 == LDT 2
146         chip southbridge/nvidia/mcp55           # Southbridge
147           device pci 0.0 on end                 # HT
148           device pci 1.0 on end                 # LPC
149           device pci 1.1 on end                 # SM 0
150           device pci 2.0 off end                # USB 1.1
151           device pci 2.1 off end                # USB 2
152           device pci 4.0 off end                # IDE
153           device pci 5.0 on end                 # SATA 0
154           device pci 5.1 on end                 # SATA 1
155           device pci 5.2 on end                 # SATA 2
156           device pci 6.0 off end                # PCI
157           device pci 6.1 off end                # AZA
158           device pci 8.0 on end                 # NIC
159           device pci 9.0 on end                 # NIC
160           device pci a.0 on end                 # PCI E 5
161           device pci b.0 off end                # PCI E 4
162           device pci c.0 off end                # PCI E 3
163           device pci d.0 on end                 # PCI E 2
164           device pci e.0 on end                 # PCI E 1
165           device pci f.0 on end                 # PCI E 0
166           register "ide0_enable" = "1"
167           register "sata0_enable" = "1"
168           register "sata1_enable" = "1"
169           # 1: SMBus under 2e.8, 2: SM0 3: SM1
170           register "mac_eeprom_smbus" = "3"
171           register "mac_eeprom_addr" = "0x51"
172         end
173       end
174       device pci 18.1 on end
175       device pci 18.2 on end
176       device pci 18.3 on end
177     end
178   end
179   # chip drivers/generic/debug
180   #   device pnp 0.0 off end                    # chip name
181   #   device pnp 0.1 on end                     # pci_regs_all
182   #   device pnp 0.2 on end                     # mem
183   #   device pnp 0.3 off end                    # cpuid
184   #   device pnp 0.4 on end                     # smbus_regs_all
185   #   device pnp 0.5 off end                    # dual core msr
186   #   device pnp 0.6 off end                    # cache size
187   #   device pnp 0.7 off end                    # tsc
188   #   device pnp 0.8 off end                    # io
189   #   device pnp 0.9 off end                    # io
190   # end
191 end