c5a4c886c0ef3e0fd7f7cd5889cd23378c24062f
[coreboot.git] / src / mainboard / asus / a8n_e / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex         # Root complex
2   device lapic_cluster 0 on                     # APIC cluster
3     chip cpu/amd/socket_939                     # Socket 939 CPU
4       device lapic 0 on end                     # APIC
5     end
6   end
7
8   device pci_domain 0 on                        # PCI domain
9     chip northbridge/amd/amdk8                  # mc0
10       device pci 18.0 on                        # Northbridge
11         # Devices on link 0, link 0 == LDT 0
12         chip southbridge/nvidia/ck804           # Southbridge
13           device pci 0.0 on end                 # HT
14           device pci 1.0 on                     # LPC
15             chip superio/ite/it8712f            # Super I/O
16               device pnp 2e.0 on                # Floppy
17                 io 0x60 = 0x3f0
18                 irq 0x70 = 6
19                 drq 0x74 = 2
20               end
21               device pnp 2e.1 on                # Com1
22                 io 0x60 = 0x3f8
23                 irq 0x70 = 4
24               end
25               device pnp 2e.2 off               # Com2 (N/A on this board)
26                 io 0x60 = 0x2f8
27                 irq 0x70 = 3
28               end
29               device pnp 2e.3 on                # Parallel port
30                 io 0x60 = 0x378
31                 irq 0x70 = 7
32                 drq 0x74 = 3
33               end
34               device pnp 2e.4 on                # Environment controller
35                 io 0x60 = 0x290
36                 io 0x62 = 0x0000
37                 irq 0x70 = 0x00
38               end
39               device pnp 2e.5 on                # PS/2 keyboard
40                 io 0x60 = 0x60
41                 io 0x62 = 0x64
42                 irq 0x70 = 1
43                 irq 0x71 = 2
44               end
45               device pnp 2e.6 on                # PS/2 mouse
46                 irq 0x70 = 12
47                 irq 0x71 = 2
48               end
49               device pnp 2e.7 on                # GPIO config
50                 io 0x60 = 0x0800
51                 # Set GPIO 1 & 2
52                 io 0x25 = 0x0000
53                 # Set GPIO 3 & 4
54                 io 0x27 = 0x2540
55                 # GPIO Polarity for Set 3
56                 io 0xb2 = 0x2100
57                 # GPIO Pin Internal Pull up for Set 3
58                 io 0xba = 0x0100
59                 # Simple I/O register config
60                 io 0xc0 = 0x0000
61                 io 0xc2 = 0x2540
62                 io 0xc8 = 0x0000
63                 io 0xca = 0x0500
64               end
65               device pnp 2e.8 on                # Midi port
66                 io 0x60 = 0x300
67                 irq 0x70 = 10
68               end
69               device pnp 2e.9 on                # Game port
70                 io 0x60 = 0x201
71               end
72               device pnp 2e.a off               # IR (N/A on this board)
73                 io 0x60 = 0x310
74                 irq 0x70 = 11
75               end
76             end
77           end
78           device pci 1.1 on                     # SM 0
79             # chip drivers/generic/generic #dimm 0-0-0
80             #   device i2c 50 on end
81             # end
82             # chip drivers/generic/generic #dimm 0-0-1
83             #   device i2c 51 on end
84             # end
85             # chip drivers/generic/generic #dimm 0-1-0
86             #   device i2c 52 on end
87             # end
88             # chip drivers/generic/generic #dimm 0-1-1
89             #   device i2c 53 on end
90             # end
91             # chip drivers/generic/generic #dimm 1-0-0
92             #   device i2c 54 on end
93             # end
94             # chip drivers/generic/generic #dimm 1-0-1
95             #   device i2c 55 on end
96             # end
97             # chip drivers/generic/generic #dimm 1-1-0
98             #   device i2c 56 on end
99             # end
100             # chip drivers/generic/generic #dimm 1-1-1
101             #   device i2c 57 on end
102             # end
103           end
104           device pci 2.0 on end                 # USB 1.1
105           device pci 2.1 on end                 # USB 2
106           device pci 4.0 on end                 # Onboard audio (ACI)
107           device pci 4.1 off end                # Onboard modem (MCI), N/A
108           device pci 6.0 on end                 # IDE
109           device pci 7.0 on end                 # SATA 1
110           device pci 8.0 on end                 # SATA 0
111           device pci 9.0 on end                 # PCI
112           device pci a.0 on end                 # NIC
113           device pci b.0 on end                 # PCI E 3
114           device pci c.0 on end                 # PCI E 2
115           device pci d.0 on end                 # PCI E 1
116           device pci e.0 on end                 # PCI E 0
117           register "ide0_enable" = "1"
118           register "ide1_enable" = "1"
119           register "sata0_enable" = "1"
120           register "sata1_enable" = "1"
121           # register "mac_eeprom_smbus" = "3"
122           # register "mac_eeprom_addr" = "0x51"
123         end
124       end
125       device pci 18.1 on end
126       device pci 18.2 on end
127       device pci 18.3 on end
128     end
129   end
130 end