blob: c768b64f4c43d7324cec7ef5fb4b3d8192956157 [file] [log] [blame]
Patrick Georgi0588d192009-08-12 15:00:51 +00001chip northbridge/intel/i945
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 # IGD Displays
3 register "gfx.ndid" = "3"
4 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
Patrick Georgi0588d192009-08-12 15:00:51 +00005
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +02006 device cpu_cluster 0 on
7 chip cpu/intel/socket_mFCPGA478
8 device lapic 0 on end
9 end
10 end
Patrick Georgi0588d192009-08-12 15:00:51 +000011
Arthur Heymans885c2892016-10-03 17:16:48 +020012 register "pci_mmio_size" = "768"
13
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +020014 device domain 0 on
15 device pci 00.0 on end # host bridge
Patrick Georgi0588d192009-08-12 15:00:51 +000016 device pci 01.0 off end # i945 PCIe root port
Myles Watsond27c08c2009-11-06 23:42:26 +000017 device pci 02.0 on end # vga controller
Patrick Georgi0588d192009-08-12 15:00:51 +000018 device pci 02.1 on end # display controller
19
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +020020 chip southbridge/intel/i82801gx
Vladimir Serbinenkoc746dcb2014-11-15 20:40:04 +010021 register "pirqa_routing" = "0x0b"
22 register "pirqb_routing" = "0x0b"
23 register "pirqc_routing" = "0x0b"
24 register "pirqd_routing" = "0x0b"
25 register "pirqe_routing" = "0x0b"
26 register "pirqf_routing" = "0x0b"
27 register "pirqg_routing" = "0x0b"
28 register "pirqh_routing" = "0x0b"
Patrick Georgi0588d192009-08-12 15:00:51 +000029
30 # GPI routing
31 # 0 No effect (default)
32 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
33 # 2 SCI (if corresponding GPIO_EN bit is also set)
34 register "gpi13_routing" = "1"
35
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +020036 register "ide_legacy_combined" = "0x1"
37 register "ide_enable_primary" = "0x1"
38 register "ide_enable_secondary" = "0x1"
39 register "sata_ahci" = "0x0"
Vladimir Serbinenkoab83ef02014-10-25 15:18:25 +020040 register "c3_latency" = "85"
41 register "p_cnt_throttling_supported" = "0"
Patrick Georgi0588d192009-08-12 15:00:51 +000042
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +020043 device pci 1b.0 on end # High Definition Audio
44 device pci 1c.0 on end # PCIe
45 device pci 1c.1 on end # PCIe
46 device pci 1c.2 on end # PCIe
Patrick Georgi0588d192009-08-12 15:00:51 +000047 #device pci 1c.3 off end # PCIe port 4
48 #device pci 1c.4 off end # PCIe port 5
49 #device pci 1c.5 off end # PCIe port 6
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +020050 device pci 1d.0 on end # USB UHCI
51 device pci 1d.1 on end # USB UHCI
52 device pci 1d.2 on end # USB UHCI
53 device pci 1d.3 on end # USB UHCI
54 device pci 1d.7 on end # USB2 EHCI
55 device pci 1e.0 on end # PCI bridge
Stefan Reinauer14e22772010-04-27 06:56:47 +000056 #device pci 1e.2 off end # AC'97 Audio
Patrick Georgi0588d192009-08-12 15:00:51 +000057 #device pci 1e.3 off end # AC'97 Modem
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +020058 device pci 1f.0 on # LPC bridge
59 chip superio/winbond/w83627thg
Patrick Georgi0588d192009-08-12 15:00:51 +000060 device pnp 2e.0 off # Floppy
61 end
Patrick Georgia4700192011-01-27 07:39:38 +000062 device pnp 2e.1 on # Parallel port
63 io 0x60 = 0x378
64 irq 0x70 = 5
Patrick Georgi0588d192009-08-12 15:00:51 +000065 end
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +020066 device pnp 2e.2 on
67 io 0x60 = 0x3f8
68 irq 0x70 = 4
69 end
70 device pnp 2e.3 on
71 io 0x60 = 0x2f8
72 irq 0x70 = 3
Patrick Georgi0588d192009-08-12 15:00:51 +000073 irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +020074 end
Patrick Georgi0588d192009-08-12 15:00:51 +000075 device pnp 2e.5 on # Keyboard+Mouse
76 io 0x60 = 0x60
77 io 0x62 = 0x64
78 irq 0x70 = 1
79 irq 0x72 = 12
80 irq 0xf0 = 0x82 # HW accel A20.
81 end
82 device pnp 2e.7 on # GPIO1, GAME, MIDI
83 io 0x62 = 0x330
84 irq 0x70 = 9
85 end
86 device pnp 2e.8 on # GPIO2
87 # all default
88 end
89 device pnp 2e.9 on # GPIO3/4
90 irq 0x30 = 0x03 # does this work?
91 irq 0xf0 = 0xfb # set inputs/outputs
92 irq 0xf1 = 0x66
93 end
94 device pnp 2e.a off # ACPI
95 end
96 device pnp 2e.b on # HWM
97 io 0x60 = 0xa00
98 irq 0x70 = 0
99 end
100
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +0200101 end
102 chip superio/winbond/w83627thg
103 device pnp 4e.0 off # Floppy
Patrick Georgi0588d192009-08-12 15:00:51 +0000104 end
105 device pnp 4e.1 off # Parport
106 end
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +0200107 device pnp 4e.2 on # COM3
108 io 0x60 = 0x3e8
109 irq 0x70 = 6
110 end
111 device pnp 4e.3 on # COM4
112 io 0x60 = 0x2e8
113 irq 0x70 = 6
Stefan Reinauerde3206a2010-02-22 06:09:43 +0000114 irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +0200115 end
Patrick Georgi0588d192009-08-12 15:00:51 +0000116 device pnp 4e.5 off # Keyboard
117 end
118 device pnp 4e.7 off # GPIO1, GAME, MIDI
119 end
120 device pnp 4e.8 off # GPIO2
121 end
122 device pnp 4e.9 off # GPIO3/4
123 end
124 device pnp 4e.a off # ACPI
125 end
126 device pnp 4e.b off # HWM
127 end
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +0200128 end
Patrick Georgi0588d192009-08-12 15:00:51 +0000129
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +0200130 end
Patrick Georgi0588d192009-08-12 15:00:51 +0000131 #device pci 1f.1 off end # IDE
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +0200132 device pci 1f.2 on end # SATA
133 device pci 1f.3 on end # SMBus
Patrick Georgi0588d192009-08-12 15:00:51 +0000134 #device pci 1f.4 off end # Realtek ID Codec
Elyes HAOUAS117fd8d2016-09-29 20:29:54 +0200135 end
136 end
Patrick Georgi0588d192009-08-12 15:00:51 +0000137end