Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 1 | chip northbridge/intel/sandybridge |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 2 | # IGD Displays |
Nico Huber | b0b25c8 | 2020-03-21 20:35:12 +0100 | [diff] [blame] | 3 | register "gfx" = "GMA_STATIC_DISPLAYS(0)" |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 4 | |
| 5 | # Enable DisplayPort B Hotplug with 6ms pulse |
| 6 | register "gpu_dp_b_hotplug" = "0x06" |
| 7 | |
Arthur Heymans | 8bb2ed8 | 2018-07-18 16:37:00 +0200 | [diff] [blame] | 8 | # Enable Panel as LVDS and configure power delays |
Angel Pons | dc0c081 | 2020-09-02 19:17:30 +0200 | [diff] [blame] | 9 | register "gpu_panel_port_select" = "PANEL_PORT_LVDS" |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 10 | register "gpu_panel_power_cycle_delay" = "5" # 400ms |
| 11 | register "gpu_panel_power_up_delay" = "500" # 50ms |
| 12 | register "gpu_panel_power_down_delay" = "150" # 15ms |
| 13 | register "gpu_panel_power_backlight_on_delay" = "2100" # 210ms |
| 14 | register "gpu_panel_power_backlight_off_delay" = "2100" # 210ms |
| 15 | |
| 16 | # Set backlight PWM values |
| 17 | register "gpu_cpu_backlight" = "0x000001d4" |
| 18 | register "gpu_pch_backlight" = "0x03aa0000" |
| 19 | |
Keith Hui | 7039edd | 2023-07-21 10:12:05 -0400 | [diff] [blame^] | 20 | register "ec_present" = "1" |
| 21 | # FIXME: Native raminit requires reduced max clock |
| 22 | register "max_mem_clock_mhz" = "CONFIG(USE_NATIVE_RAMINIT) ? 666 : 800" |
| 23 | |
| 24 | register "usb_port_config" = "{ |
| 25 | { 0, 3, 0x0000 }, |
| 26 | { 1, 0, 0x0040 }, |
| 27 | { 1, 1, 0x0040 }, |
| 28 | { 1, 1, 0x0040 }, |
| 29 | { 0, 3, 0x0000 }, |
| 30 | { 0, 3, 0x0000 }, |
| 31 | { 0, 3, 0x0000 }, |
| 32 | { 0, 3, 0x0000 }, |
| 33 | { 1, 4, 0x0040 }, |
| 34 | { 0, 4, 0x0000 }, |
| 35 | { 1, 4, 0x0040 }, |
| 36 | { 0, 4, 0x0000 }, |
| 37 | { 0, 4, 0x0000 }, |
| 38 | { 0, 4, 0x0000 },}" |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 39 | |
Stefan Reinauer | 4aff445 | 2013-02-12 14:17:15 -0800 | [diff] [blame] | 40 | device domain 0 on |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 41 | device ref host_bridge on end # host bridge |
| 42 | device ref igd on end # vga controller |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 43 | |
| 44 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 45 | # GPI routing |
| 46 | # 0 No effect (default) |
| 47 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 48 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 49 | # Set Lid Switch to SMI to capture in recovery mode. It gets reset to |
| 50 | # SCI mode when we go to ACPI mode. |
| 51 | register "alt_gp_smi_en" = "0x8100" |
| 52 | register "gpi7_routing" = "2" |
| 53 | register "gpi8_routing" = "1" |
| 54 | register "gpi15_routing" = "1" #lid switch gpe |
| 55 | |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 56 | register "sata_port_map" = "0x1" |
| 57 | |
| 58 | # EC range is 0xFD60 (EC_IO) and 0x68/0x6C |
| 59 | register "gen1_dec" = "0x0004fd61" |
| 60 | register "gen2_dec" = "0x00040069" |
| 61 | |
| 62 | # Enable zero-based linear PCIe root port functions |
Angel Pons | af4bd56 | 2021-12-28 13:05:56 +0100 | [diff] [blame] | 63 | register "pcie_port_coalesce" = "true" |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 64 | |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 65 | device ref mei1 on end # Management Engine Interface 1 |
| 66 | device ref mei2 off end # Management Engine Interface 2 |
| 67 | device ref me_ide_r off end # Management Engine IDE-R |
| 68 | device ref me_kt off end # Management Engine KT |
| 69 | device ref gbe off end # Intel Gigabit Ethernet |
| 70 | device ref ehci2 on end # USB2 EHCI #2 |
| 71 | device ref hda on end # High Definition Audio |
| 72 | device ref pcie_rp1 off end # PCIe Port #1 |
| 73 | device ref pcie_rp2 on end # PCIe Port #2 (WLAN) |
| 74 | device ref pcie_rp3 on end # PCIe Port #3 (ETH0) |
| 75 | device ref pcie_rp4 off end # PCIe Port #4 |
| 76 | device ref pcie_rp5 off end # PCIe Port #5 |
| 77 | device ref pcie_rp6 off end # PCIe Port #6 |
| 78 | device ref pcie_rp7 off end # PCIe Port #7 |
| 79 | device ref pcie_rp8 off end # PCIe Port #8 |
| 80 | device ref ehci1 on end # USB2 EHCI #1 |
| 81 | device ref pci_bridge off end # PCI bridge |
| 82 | device ref lpc on |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 83 | chip ec/compal/ene932 |
| 84 | # 60/64 KBC |
| 85 | device pnp ff.1 on # dummy address |
| 86 | end |
| 87 | end |
| 88 | end # LPC bridge |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 89 | device ref sata1 on end # SATA Controller 1 |
Matt DeVillier | 6974bcd | 2023-07-24 18:37:26 -0500 | [diff] [blame] | 90 | device ref smbus on |
| 91 | subsystemid 0x04B4 0x18D1 |
| 92 | end # SMBus |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 93 | device ref sata2 off end # SATA Controller 2 |
| 94 | device ref thermal on end # Thermal |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 95 | end |
| 96 | end |
| 97 | end |