adding support for the Asus K8V-X
[coreboot.git] / src / mainboard / asus / k8v-x / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex         # Root complex
2   device lapic_cluster 0 on                     # APIC cluster
3     chip cpu/amd/socket_754                     # CPU
4       device lapic 0 on end                     # APIC
5     end
6   end
7   device pci_domain 0 on                        # PCI domain
8     subsystemid 0x1043 0 inherit
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/via/vt8237r            # Southbridge
13           register "ide0_enable" = "1"          # Enable IDE channel 0
14           register "ide1_enable" = "1"          # Enable IDE channel 1
15           register "ide0_80pin_cable" = "1"     # 80pin cable on IDE channel 0
16           register "ide1_80pin_cable" = "1"     # 80pin cable on IDE channel 1
17           register "fn_ctrl_lo" = "0"           # Enable SB functions
18           register "fn_ctrl_hi" = "0xad"        # Enable SB functions
19           register "usb2_termination_set" = "1"
20           register "usb2_termination_a" = "8"
21           register "usb2_termination_b" = "8"
22           register "usb2_termination_c" = "6"
23           register "usb2_termination_d" = "6"
24           register "usb2_termination_e" = "6"
25           register "usb2_termination_f" = "6"
26           register "usb2_termination_g" = "6"
27           register "usb2_termination_h" = "6"
28           register "usb2_dpll_set" = "1"
29           register "usb2_dpll_delay" = "3"
30           register "int_efgh_as_gpio" = "1"
31           register "enable_gpo3" = "1"
32           register "disable_gpo26_gpo27" = "1"
33           register "enable_aol_2_smb_slave" = "1"
34           register "enable_gpo5" = "1"
35           register "gpio15_12_dir_output" = "1"
36           device pci 0.0 on end                 # HT
37           device pci f.1 on end                 # IDE
38           device pci 10.4 on end                # USB2
39           device pci 11.0 on                    # LPC
40             chip drivers/generic/generic        # DIMM 0-0-0
41               device i2c 50 on end
42             end
43             chip drivers/generic/generic        # DIMM 0-0-1
44               device i2c 51 on end
45             end
46             chip drivers/generic/generic        # DIMM 0-1-0
47               device i2c 52 on end
48             end
49             chip superio/winbond/w83697hf       # Super I/O
50               register "hwmon_fan1_divisor" = "128"
51               register "hwmon_fan2_divisor" = "4"
52               device pnp 2e.0 on                # Floppy
53                 io 0x60 = 0x3f0
54                 irq 0x70 = 6
55                 drq 0x74 = 2
56               end
57               device pnp 2e.1 on                # Parallel port
58                 io 0x60 = 0x378
59                 irq 0x70 = 7
60                 drq 0x74 = 3
61               end
62               device pnp 2e.2 on                # Com1
63                 io 0x60 = 0x3f8
64                 irq 0x70 = 4
65               end
66               device pnp 2e.3 off               # Com2 (N/A on this board)
67               end
68               device pnp 2e.6 off               # CIR
69               end
70               device pnp 2e.7 off               # Game port/GPIO 1
71               end
72               device pnp 2e.8 off               # MIDI/GPIO 5
73               end
74               device pnp 2e.009 off             # GPIO 2
75               end
76               device pnp 2e.109 off             # GPIO 3
77               end
78               device pnp 2e.209 off             # GPIO 4
79               end
80               device pnp 2e.a off               # ACPI
81               end
82               device pnp 2e.b on                # Hardware monitor
83                 io 0x60 = 0x290
84                 irq 0x70 = 0
85               end
86             end
87           end
88           device pci 12.0 off end               # VIA LAN (off, other chip used)
89         end
90         chip southbridge/via/k8t890             # "Southbridge" K8T890
91         end
92       end
93       device pci 18.1 on end
94       device pci 18.2 on end
95       device pci 18.3 on end
96     end
97   end
98 end