Kconfig!
[coreboot.git] / src / mainboard / msi / ms7260 / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex         # Root complex
2   device apic_cluster 0 on                      # APIC cluster
3     chip cpu/amd/socket_AM2                     # CPU
4       device apic 0 on end                      # APIC
5     end
6   end
7   device pci_domain 0 on                        # PCI domain
8     chip northbridge/amd/amdk8                  # Northbridge / mc0
9       device pci 18.0 on
10         # Devices on link 0, link 0 == LDT 0
11         chip southbridge/nvidia/mcp55           # Southbridge
12           device pci 0.0 on end                 # HT
13           device pci 1.0 on                     # LPC
14             chip superio/winbond/w83627ehg      # Super I/O
15               device pnp 4e.0 on                # Floppy
16                 io 0x60 = 0x3f0
17                 irq 0x70 = 6
18                 drq 0x74 = 2
19               end
20               device pnp 4e.1 on                # Parallel port
21                 io 0x60 = 0x378
22                 irq 0x70 = 7
23               end
24               device pnp 4e.2 on                # Com1
25                 io 0x60 = 0x3f8
26                 irq 0x70 = 4
27               end
28               device pnp 4e.3 on                # Com2 / IrDA
29                 io 0x60 = 0x2f8
30                 irq 0x70 = 3
31               end
32               device pnp 4e.5 on                # PS/2 keyboard
33                 io 0x60 = 0x60
34                 io 0x62 = 0x64
35                 irq 0x70 = 1                    # PS/2 keyboard IRQ
36                 irq 0x72 = 12                   # PS/2 mouse IRQ
37               end
38               device pnp 4e.6 off               # Serial flash interface
39                 # io 0x62 = 0x100
40               end
41               device pnp 4e.7 off               # GPIO1/6, game port, MIDI port
42                 # io 0x60 = 0x220               # Datasheet: 0x201
43                 # io 0x62 = 0x300               # Datasheet: 0x330
44                 # irq 0x70 = 9
45               end
46               device pnp 4e.8 off               # WDTO#, PLED
47               end
48               device pnp 4e.9 off               # GPIO2/3/4/5, SUSLED
49               end
50               device pnp 4e.a off               # ACPI
51               end
52               device pnp 4e.b on                # HWM (for lm-sensors)
53                 io 0x60 = 0xa10
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             # TODO: Needed?
71             # chip drivers/generic/generic      # DIMM 1-0-0
72             #   device i2c 54 on end
73             # end
74             # chip drivers/generic/generic      # DIMM 1-0-1
75             #   device i2c 55 on end
76             # end
77             # chip drivers/generic/generic      # DIMM 1-1-0
78             #   device i2c 56 on end
79             # end
80             # chip drivers/generic/generic      # DIMM 1-1-1
81             #   device i2c 57 on end
82             # end
83           end
84           # TODO: Check if the stuff below is correct / needed.
85           device pci 1.1 on                     # SM 1
86             # PCI device SMBus address will depend on addon PCI device,
87             # do we need to scan_smbus_bus?
88
89             # chip drivers/generic/generic      # PCIXA Slot1
90             #   device i2c 50 on end
91             # end
92             # chip drivers/generic/generic      # PCIXB Slot1
93             #   device i2c 51 on end
94             # end
95             # chip drivers/generic/generic      # PCIXB Slot2
96             #   device i2c 52 on end
97             # end
98             # chip drivers/generic/generic      # PCI Slot1
99             #   device i2c 53 on end
100             # end
101             # chip drivers/generic/generic      # Master MCP55 PCI-E
102             #   device i2c 54 on end
103             # end
104             # chip drivers/generic/generic      # Slave MCP55 PCI-E
105             #   device i2c 55 on end
106             # end
107             chip drivers/generic/generic        # MAC EEPROM
108               device i2c 51 on end
109             end
110           end
111           device pci 2.0 on end                 # USB 1.1
112           device pci 2.1 on end                 # USB 2
113           device pci 4.0 on end                 # IDE
114           device pci 5.0 on end                 # SATA 0
115           device pci 5.1 on end                 # SATA 1
116           device pci 5.2 off end                # SATA 2 (N/A on this board)
117           device pci 6.0 on end                 # PCI
118           device pci 6.1 on end                 # AZA (HD Audio)
119           device pci 8.0 on end                 # NIC
120           device pci 9.0 off end                # NIC (N/A on this board)
121           device pci a.0 off end                # PCI E 5 (N/A on this board?)
122           device pci b.0 on end                 # PCI E 4
123           device pci c.0 on end                 # PCI E 3
124           device pci d.0 on end                 # PCI E 2
125           device pci e.0 on 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           # TODO: Check the two lines below.
131           register "mac_eeprom_smbus" = "3"     # 1: SMBus under 2e.8, 2: SM0 3: SM1
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
143 # TODO
144 #  chip drivers/generic/debug
145 #    device pnp 0.0 off end                     # chip name
146 #    device pnp 0.1 on end                      # pci_regs_all
147 #    device pnp 0.2 on end                      # mem
148 #    device pnp 0.3 off end                     # cpuid
149 #    device pnp 0.4 on end                      # smbus_regs_all
150 #    device pnp 0.5 off end                     # dual core msr
151 #    device pnp 0.6 off end                     # cache size
152 #    device pnp 0.7 off end                     # tsc
153 #    device pnp 0.8 off end                     # io
154 #    device pnp 0.9 off end                     # io
155 #  end
156
157 end