W83627DHG/W83627EHG fixups for virtual LDNs.
[coreboot.git] / src / mainboard / msi / ms7260 / 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_AM2                     # 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 4e.0 on                # Floppy
15                 io 0x60 = 0x3f0
16                 irq 0x70 = 6
17                 drq 0x74 = 2
18               end
19               device pnp 4e.1 on                # Parallel port
20                 io 0x60 = 0x378
21                 irq 0x70 = 7
22               end
23               device pnp 4e.2 on                # Com1
24                 io 0x60 = 0x3f8
25                 irq 0x70 = 4
26               end
27               device pnp 4e.3 on                # Com2 / IrDA
28                 io 0x60 = 0x2f8
29                 irq 0x70 = 3
30               end
31               device pnp 4e.5 on                # PS/2 keyboard & mouse
32                 io 0x60 = 0x60
33                 io 0x62 = 0x64
34                 irq 0x70 = 1                    # PS/2 keyboard IRQ
35                 irq 0x72 = 12                   # PS/2 mouse IRQ
36               end
37               device pnp 4e.106 off             # Serial flash interface (SFI)
38                 # io 0x62 = 0x100
39               end
40               device pnp 4e.007 off             # GPIO 1
41               end
42               device pnp 4e.107 off             # Game port
43                 # io 0x60 = 0x220               # Datasheet: 0x201
44               end
45               device pnp 4e.207 off             # MIDI
46                 # io 0x62 = 0x300               # Datasheet: 0x330
47                 # irq 0x70 = 9
48               end
49               device pnp 4e.307 off             # GPIO 6
50               end
51               device pnp 4e.8 off               # WDTO#, PLED
52               end
53               device pnp 4e.009 off             # GPIO 2
54               end
55               device pnp 4e.109 off             # GPIO 3
56               end
57               device pnp 4e.209 off             # GPIO 4
58               end
59               device pnp 4e.309 off             # GPIO 5
60               end
61               device pnp 4e.a off               # ACPI
62               end
63               device pnp 4e.b on                # Hardware monitor
64                 io 0x60 = 0xa10
65                 # TODO: IRQ?
66               end
67             end
68           end
69           device pci 1.1 on                     # SM 0
70             chip drivers/generic/generic        # DIMM 0-0-0
71               device i2c 50 on end
72             end
73             chip drivers/generic/generic        # DIMM 0-0-1
74               device i2c 51 on end
75             end
76             chip drivers/generic/generic        # DIMM 0-1-0
77               device i2c 52 on end
78             end
79             chip drivers/generic/generic        # DIMM 0-1-1
80               device i2c 53 on end
81             end
82           end
83           # TODO: Check if the stuff below is correct / needed.
84           device pci 1.1 on                     # SM 1
85             # PCI device SMBus address will
86             # depend on addon PCI device, do
87             # we need to scan_smbus_bus?
88             # chip drivers/generic/generic      # PCIXA slot 1
89             #   device i2c 50 on end
90             # end
91             # chip drivers/generic/generic      # PCIXB slot 1
92             #   device i2c 51 on end
93             # end
94             # chip drivers/generic/generic      # PCIXB slot 2
95             #   device i2c 52 on end
96             # end
97             # chip drivers/generic/generic      # PCI slot 1
98             #   device i2c 53 on end
99             # end
100             # chip drivers/generic/generic      # Master MCP55 PCI-E
101             #   device i2c 54 on end
102             # end
103             # chip drivers/generic/generic      # Slave MCP55 PCI-E
104             #   device i2c 55 on end
105             # end
106             chip drivers/generic/generic        # MAC EEPROM
107               device i2c 51 on end
108             end
109           end
110           device pci 2.0 on end                 # USB 1.1
111           device pci 2.1 on end                 # USB 2
112           device pci 4.0 on end                 # IDE
113           device pci 5.0 on end                 # SATA 0
114           device pci 5.1 on end                 # SATA 1
115           device pci 5.2 off end                # SATA 2 (N/A on this board)
116           device pci 6.0 on end                 # PCI
117           device pci 6.1 on end                 # AZA (HD Audio)
118           device pci 8.0 on end                 # NIC
119           device pci 9.0 off end                # NIC (N/A on this board)
120           device pci a.0 off end                # PCI E 5 (N/A on this board?)
121           device pci b.0 on end                 # PCI E 4
122           device pci c.0 on end                 # PCI E 3
123           device pci d.0 on end                 # PCI E 2
124           device pci e.0 on end                 # PCI E 1
125           device pci f.0 on end                 # PCI E 0
126           register "ide0_enable" = "1"
127           register "sata0_enable" = "1"
128           register "sata1_enable" = "1"
129           # TODO: Check the two lines below.
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.0 on end                    # Link 1
136       device pci 18.0 on end
137       device pci 18.1 on end
138       device pci 18.2 on end
139       device pci 18.3 on end
140     end
141   end
142   # TODO
143   # chip drivers/generic/debug
144   #   device pnp 0.0 off end                    # chip name
145   #   device pnp 0.1 on end                     # pci_regs_all
146   #   device pnp 0.2 on end                     # mem
147   #   device pnp 0.3 off end                    # cpuid
148   #   device pnp 0.4 on end                     # smbus_regs_all
149   #   device pnp 0.5 off end                    # dual core msr
150   #   device pnp 0.6 off end                    # cache size
151   #   device pnp 0.7 off end                    # tsc
152   #   device pnp 0.8 off end                    # io
153   #   device pnp 0.9 off end                    # io
154   # end
155 end