3a5aa79a3882dc9eeb2129d965f2cea6304f0eb6
[coreboot.git] / src / mainboard / supermicro / h8dme / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex
2         device lapic_cluster 0 on
3                 chip cpu/amd/socket_F
4                         device lapic 0 on end
5                 end
6         end
7         device pci_domain 0 on
8                 chip northbridge/amd/amdk8 #mc0
9                         device pci 18.0 on end
10                         device pci 18.0 on end
11                         device pci 18.0 on
12                                 #  devices on link 0, link 0 == LDT 0
13                                 chip southbridge/nvidia/mcp55
14                                         device pci 0.0 on end   # HT
15                                         device pci 1.0 on # LPC
16                                                 chip superio/winbond/w83627hf
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 off #  Com2
31                                                                 io 0x60 = 0x2f8
32                                                                 irq 0x70 = 3
33                                                         end
34                                                         device pnp 2e.5 on #  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_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 #  HW 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/i2c/i2cmux2
59                                                         device i2c 48 off end
60                                                         device i2c 49 off end
61                                                 end
62                                         end # SM
63                                         device pci 1.1 on # SM 1
64 #PCI device smbus address will depend on addon pci device, do we need to scan_smbus_bus?
65 #                                                chip drivers/generic/generic #PCIXA Slot1
66 #                                                        device i2c 50 on end
67 #                                                end
68 #                                                chip drivers/generic/generic #PCIXB Slot1
69 #                                                        device i2c 51 on end
70 #                                                end
71 #                                                chip drivers/generic/generic #PCIXB Slot2
72 #                                                        device i2c 52 on end
73 #                                                end
74 #                                                chip drivers/generic/generic #PCI Slot1
75 #                                                        device i2c 53 on end
76 #                                                end
77 #                                                chip drivers/generic/generic #Master MCP55 PCI-E
78 #                                                        device i2c 54 on end
79 #                                                end
80 #                                                chip drivers/generic/generic #Slave MCP55 PCI-E
81 #                                                        device i2c 55 on end
82 #                                                end
83                                                 chip drivers/generic/generic #MAC EEPROM
84                                                         device i2c 51 on end
85                                                 end
86
87                                         end # SM
88                                         device pci 2.0 on end # USB 1.1
89                                         device pci 2.1 on end # USB 2
90                                         device pci 4.0 on end # IDE
91                                         device pci 5.0 on end # SATA 0
92                                         device pci 5.1 on end # SATA 1
93                                         device pci 5.2 on end # SATA 2
94                                         device pci 6.0 on  # PCI
95                                                 device pci 6.0 on end
96                                         end
97                                         device pci 6.1 on end # AZA
98                                         device pci 8.0 on end # NIC
99                                         device pci 9.0 on end # NIC
100                                         device pci a.0 on  # PCI E 5
101                                                 device pci 0.0 on #nec pci-x
102                                                 end
103                                                 device pci 0.1 on #nec pci-x
104                                                         device pci 4.0 on end #scsi
105                                                         device pci 4.1 on end #scsi
106                                                 end
107                                         end
108                                         device pci b.0 on end # PCI E 4
109                                         device pci c.0 on end # PCI E 3
110                                         device pci d.0 on end # PCI E 2
111                                         device pci e.0 on end # PCI E 1
112                                         device pci f.0 on end # PCI E 0
113                                         register "ide0_enable" = "1"
114                                         register "sata0_enable" = "1"
115                                         register "sata1_enable" = "1"
116                                         register "mac_eeprom_smbus" = "3" # 1: smbus under 2e.8, 2: SM0 3: SM1
117                                         register "mac_eeprom_addr" = "0x51"
118                                 end
119                         end #  device pci 18.0
120                         device pci 18.1 on end
121                         device pci 18.2 on end
122                         device pci 18.3 on end
123                 end # mc0
124
125         end # PCI domain
126
127 #       chip drivers/generic/debug
128 #               device pnp 0.0 off end # chip name
129 #                device pnp 0.1 on end # pci_regs_all
130 #                device pnp 0.2 off end # mem
131 #                device pnp 0.3 off end # cpuid
132 #                device pnp 0.4 on end # smbus_regs_all
133 #                device pnp 0.5 off end # dual core msr
134 #                device pnp 0.6 off end # cache size
135 #                device pnp 0.7 off end # tsc
136 #                device pnp 0.8 off  end # io
137 #                device pnp 0.9 on end # io
138 #       end
139 end #root_complex