ba7a9ab6781ccb72f5a484149d0a4bbda2fd566f
[coreboot.git] / src / mainboard / sunw / ultra40 / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex
2         device lapic_cluster 0 on
3                 chip cpu/amd/socket_940
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 # link 0
10                         device pci 18.0 on # link1
11                                 #  devices on link 0, link 0 == LDT 0
12                                 chip southbridge/nvidia/ck804
13                                         device pci 0.0 on end   # HT
14                                         device pci 1.0 on # LPC
15                                                 chip superio/smsc/lpc47m10x
16                                                         device pnp 2e.0 off #  Floppy
17                                                                  io 0x60 = 0x3f0
18                                                                 irq 0x70 = 6
19                                                                 drq 0x74 = 2
20                                                         end
21                                                         device pnp 2e.3 off #  Parallel Port
22                                                                  io 0x60 = 0x378
23                                                                 irq 0x70 = 7
24                                                         end
25                                                         device pnp 2e.4 on #  Com1
26                                                                 io 0x60 = 0x3f8
27                                                                 irq 0x70 = 4
28                                                         end
29                                                         device pnp 2e.5 off #  Com2
30                                                                 io 0x60 = 0x2f8
31                                                                 irq 0x70 = 3
32                                                         end
33                                                         device pnp 2e.7 off #  Keyboard
34                                                                 io 0x60 = 0x60
35                                                                 io 0x62 = 0x64
36                                                                 irq 0x70 = 1
37                                                                 irq 0x72 = 12
38                                                         end
39                                                 end
40                                         end
41                                         device pci 1.1 on # SM 0
42                                                 chip drivers/generic/generic #dimm 0-0-0
43                                                         device i2c 50 on end
44                                                 end
45                                                 chip drivers/generic/generic #dimm 0-0-1
46                                                         device i2c 51 on end
47                                                 end
48                                                 chip drivers/generic/generic #dimm 0-1-0
49                                                         device i2c 52 on end
50                                                 end
51                                                 chip drivers/generic/generic #dimm 0-1-1
52                                                         device i2c 53 on end
53                                                 end
54                                                 chip drivers/generic/generic #dimm 1-0-0
55                                                         device i2c 54 on end
56                                                 end
57                                                 chip drivers/generic/generic #dimm 1-0-1
58                                                         device i2c 55 on end
59                                                 end
60                                                 chip drivers/generic/generic #dimm 1-1-0
61                                                         device i2c 56 on end
62                                                 end
63                                                 chip drivers/generic/generic #dimm 1-1-1
64                                                         device i2c 57 on end
65                                                 end
66                                         end # SM
67                                         device pci 1.1 on # SM 1
68 #PCI device smbus address will depend on addon pci device, do we need to scan_smbus_bus?
69 #                                                chip drivers/generic/generic #PCIXA Slot1
70 #                                                        device i2c 50 on end
71 #                                                end
72 #                                                chip drivers/generic/generic #PCIXB Slot1
73 #                                                        device i2c 51 on end
74 #                                                end
75 #                                                chip drivers/generic/generic #PCIXB Slot2
76 #                                                        device i2c 52 on end
77 #                                                end
78 #                                                chip drivers/generic/generic #PCI Slot1
79 #                                                        device i2c 53 on end
80 #                                                end
81 #                                                chip drivers/generic/generic #Master CK804 PCI-E
82 #                                                        device i2c 54 on end
83 #                                                end
84 #                                                chip drivers/generic/generic #Slave CK804 PCI-E
85 #                                                        device i2c 55 on end
86 #                                                end
87                                                 chip drivers/generic/generic #MAC EEPROM
88                                                         device i2c 51 on end
89                                                 end
90
91                                         end # SM
92                                         device pci 2.0 on end # USB 1.1
93                                         device pci 2.1 on end # USB 2
94                                         device pci 4.0 on end # ACI
95                                         device pci 4.1 off end # MCI
96                                         device pci 6.0 on end # IDE
97                                         device pci 7.0 on end # SATA 1
98                                         device pci 8.0 on end # SATA 0
99                                         device pci 9.0 on end # PCI
100                                         device pci a.0 on end # NIC
101                                         device pci b.0 off end # PCI E 3
102                                         device pci c.0 off end # PCI E 2
103                                         device pci d.0 off end # PCI E 1
104                                         device pci e.0 on end # PCI E 0
105                                         register "ide0_enable" = "1"
106                                         register "ide1_enable" = "1"
107                                         register "sata0_enable" = "1"
108                                         register "sata1_enable" = "1"
109                                         register "mac_eeprom_smbus" = "3" # 1: smbus under 2e.8, 2: SM0 3: SM1
110                                         register "mac_eeprom_addr" = "0x51"
111                                 end
112                         end #  device pci 18.0
113                         device pci 18.0 on end # link 2
114                         device pci 18.1 on end
115                         device pci 18.2 on end
116                         device pci 18.3 on end
117                 end # mc0
118
119                 chip northbridge/amd/amdk8
120                         device pci 19.0 on end # link 0
121                 device pci 19.0 on
122                                 #  devices on link 1, link 1 == LDT 1
123                                 chip southbridge/nvidia/ck804
124                                         device pci 0.0 on end   # HT
125                                         device pci 1.0 on end   # LPC
126                                         device pci 1.1 off end # SM
127                                         device pci 2.0 off end # USB 1.1
128                                         device pci 2.1 off end # USB 2
129                                         device pci 4.0 off end # ACI
130                                         device pci 4.1 off end # MCI
131                                         device pci 6.0 off end # IDE
132                                         device pci 7.0 off end # SATA 1
133                                         device pci 8.0 off end # SATA 0
134                                         device pci 9.0 off end # PCI
135                                         device pci a.0 on end # NIC
136                                         device pci b.0 off end # PCI E 3
137                                         device pci c.0 off end # PCI E 2
138                                         device pci d.0 off end # PCI E 1
139                                         device pci e.0 on end # PCI E 0
140                                         register "mac_eeprom_smbus" = "3"
141                                         register "mac_eeprom_addr" = "0x51"
142                                 end
143                         end #  device pci 19.0
144
145                         device pci 19.0 on end
146                         device pci 19.1 on end
147                         device pci 19.2 on end
148                         device pci 19.3 on end
149                 end
150         end # PCI domain
151
152 end #root_complex