blob: 4023af8097383509e9d9ba39fc8278deb4751c4f [file] [log] [blame]
Patrick Georgic49d7a32020-05-08 22:50:46 +02001## SPDX-License-Identifier: GPL-2.0-only
Stefan Reinauer838c5a52010-01-17 14:08:17 +00002
3chip northbridge/intel/i945
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01004 # IGD Displays
Nico Huberb0b25c82020-03-21 20:35:12 +01005 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
Stefan Reinauer838c5a52010-01-17 14:08:17 +00006
Elyes HAOUASb0f19882018-06-09 11:59:00 +02007 device cpu_cluster 0 on
Arthur Heymans22d6ee82022-11-07 10:03:40 +01008 ops i945_cpu_bus_ops
Nico Huber4829af12019-02-27 14:23:18 +01009 chip cpu/intel/socket_m
Elyes HAOUASb0f19882018-06-09 11:59:00 +020010 device lapic 0 on end
11 end
12 end
Stefan Reinauer838c5a52010-01-17 14:08:17 +000013
Arthur Heymans885c2892016-10-03 17:16:48 +020014 register "pci_mmio_size" = "768"
15
Elyes HAOUASb0f19882018-06-09 11:59:00 +020016 device domain 0 on
Arthur Heymans22d6ee82022-11-07 10:03:40 +010017 ops i945_pci_domain_ops
Elyes HAOUASb0f19882018-06-09 11:59:00 +020018 subsystemid 0x4352 0x6886 inherit
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010019 device pci 00.0 on end # host bridge
Stefan Reinauer838c5a52010-01-17 14:08:17 +000020 # auto detection:
21 #device pci 01.0 off end # i945 PCIe root port
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010022 device pci 02.0 on end # vga controller
23 device pci 02.1 on end # display controller
Stefan Reinauer838c5a52010-01-17 14:08:17 +000024
Elyes HAOUASb0f19882018-06-09 11:59:00 +020025 chip southbridge/intel/i82801gx
Stefan Reinauer838c5a52010-01-17 14:08:17 +000026 register "pirqa_routing" = "0x0b"
27 register "pirqb_routing" = "0x0b"
28 register "pirqc_routing" = "0x0b"
29 register "pirqd_routing" = "0x0b"
30 register "pirqe_routing" = "0x80"
31 register "pirqf_routing" = "0x80"
32 register "pirqg_routing" = "0x0b"
33 register "pirqh_routing" = "0x0b"
34
35 # GPI routing
36 # 0 No effect (default)
37 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
38 # 2 SCI (if corresponding GPIO_EN bit is also set)
39 register "gpi13_routing" = "2"
40 register "gpi8_routing" = "1"
41 register "gpi7_routing" = "2"
42 register "gpe0_en" = "0x20800007"
43
Vladimir Serbinenkoab83ef02014-10-25 15:18:25 +020044 register "c3_latency" = "0x23"
45 register "docking_supported" = "1"
46 register "p_cnt_throttling_supported" = "1"
47
Nico Huberae317692019-07-20 17:03:56 +020048 register "sata_mode" = "SATA_MODE_IDE_LEGACY_COMBINED"
Elyes HAOUASb0f19882018-06-09 11:59:00 +020049 register "ide_enable_primary" = "0x1"
50 register "ide_enable_secondary" = "0x0"
Stefan Reinauer838c5a52010-01-17 14:08:17 +000051
Arthur Heymansfecf7772019-11-09 14:19:04 +010052 register "gen1_dec" = "0x001c02e1" # COM3, COM4
53 register "gen2_dec" = "0x00fc0601" # ??
54 register "gen3_dec" = "0x00040069" # EC decode ??
55
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010056 device pci 1b.0 off end # High Definition Audio
57 device pci 1c.0 on end # PCIe port 1
58 device pci 1c.1 off end # PCIe port 2
59 device pci 1c.2 off end # PCIe port 3
60 device pci 1c.3 on end # PCIe port 4
61 device pci 1c.4 off end # PCIe port 5
62 device pci 1c.5 off end # PCIe port 6
63 device pci 1d.0 on end # USB UHCI
64 device pci 1d.1 on end # USB UHCI
65 device pci 1d.2 on end # USB UHCI
66 device pci 1d.3 on end # USB UHCI
67 device pci 1d.7 on end # USB2 EHCI
68 device pci 1e.0 on # PCI bridge
Stefan Reinauer838c5a52010-01-17 14:08:17 +000069 chip southbridge/ti/pci7420
Elyes HAOUASb0f19882018-06-09 11:59:00 +020070 register "smartcard_enabled" = "0x0"
Stefan Reinauer838c5a52010-01-17 14:08:17 +000071 device pci 3.0 on end
72 device pci 3.1 on end
73 device pci 3.2 on end
74 device pci 3.3 off end # smartcard
75 end
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010076 end
77 device pci 1e.2 on end # AC'97 Audio
78 device pci 1e.3 off end # AC'97 Modem
79 device pci 1f.0 on # LPC bridge
Elyes HAOUASb0f19882018-06-09 11:59:00 +020080 chip superio/smsc/lpc47n227
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010081 device pnp 2e.1 on # Parallel port
Patrick Georgia4700192011-01-27 07:39:38 +000082 io 0x60 = 0x378
83 irq 0x70 = 5
Stefan Reinauer838c5a52010-01-17 14:08:17 +000084 end
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010085 device pnp 2e.2 on # COM1
Elyes HAOUASb0f19882018-06-09 11:59:00 +020086 io 0x60 = 0x3f8
87 irq 0x70 = 4
Stefan Reinauer838c5a52010-01-17 14:08:17 +000088 end
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010089 device pnp 2e.3 on # COM2
Elyes HAOUASb0f19882018-06-09 11:59:00 +020090 io 0x60 = 0x2f8
91 irq 0x70 = 3
Stefan Reinauer838c5a52010-01-17 14:08:17 +000092 end
Angel Ponsf1f0a0f2020-01-01 19:38:22 +010093 device pnp 2e.5 off # Keyboard+Mouse
Stefan Reinauer838c5a52010-01-17 14:08:17 +000094 # io 0x60 = 0x60
95 # io 0x62 = 0x64
96 # irq 0x70 = 1
97 # irq 0x72 = 12
98 end
Elyes HAOUASb0f19882018-06-09 11:59:00 +020099 end
Stefan Reinauer838c5a52010-01-17 14:08:17 +0000100 chip superio/renesas/m3885x
101 device pnp ff.1 on # dummy address
102 end
103 end
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200104 end
Arthur Heymansb9d25892018-06-15 22:02:28 +0200105 device pci 1f.1 off end # IDE
Angel Ponsf1f0a0f2020-01-01 19:38:22 +0100106 device pci 1f.2 on end # SATA
107 device pci 1f.3 on end # SMBus
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200108 end
109 end
Stefan Reinauer838c5a52010-01-17 14:08:17 +0000110end