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 | 45e4ab4 | 2023-07-22 12:49:05 -0400 | [diff] [blame] | 20 | register "spd_addresses" = "{0x50, 0, 0x52, 0}" |
Keith Hui | 7039edd | 2023-07-21 10:12:05 -0400 | [diff] [blame] | 21 | register "ec_present" = "1" |
| 22 | # FIXME: Native raminit requires reduced max clock |
| 23 | register "max_mem_clock_mhz" = "CONFIG(USE_NATIVE_RAMINIT) ? 666 : 800" |
| 24 | |
| 25 | register "usb_port_config" = "{ |
| 26 | { 0, 3, 0x0000 }, |
| 27 | { 1, 0, 0x0040 }, |
| 28 | { 1, 1, 0x0040 }, |
| 29 | { 1, 1, 0x0040 }, |
| 30 | { 0, 3, 0x0000 }, |
| 31 | { 0, 3, 0x0000 }, |
| 32 | { 0, 3, 0x0000 }, |
| 33 | { 0, 3, 0x0000 }, |
| 34 | { 1, 4, 0x0040 }, |
| 35 | { 0, 4, 0x0000 }, |
| 36 | { 1, 4, 0x0040 }, |
| 37 | { 0, 4, 0x0000 }, |
| 38 | { 0, 4, 0x0000 }, |
| 39 | { 0, 4, 0x0000 },}" |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 40 | |
Stefan Reinauer | 4aff445 | 2013-02-12 14:17:15 -0800 | [diff] [blame] | 41 | device domain 0 on |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 42 | device ref host_bridge on end # host bridge |
| 43 | device ref igd on end # vga controller |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 44 | |
| 45 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 46 | # GPI routing |
| 47 | # 0 No effect (default) |
| 48 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 49 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 50 | # Set Lid Switch to SMI to capture in recovery mode. It gets reset to |
| 51 | # SCI mode when we go to ACPI mode. |
| 52 | register "alt_gp_smi_en" = "0x8100" |
| 53 | register "gpi7_routing" = "2" |
| 54 | register "gpi8_routing" = "1" |
| 55 | register "gpi15_routing" = "1" #lid switch gpe |
| 56 | |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 57 | register "sata_port_map" = "0x1" |
| 58 | |
Keith Hui | 51a57eb | 2024-02-05 16:44:38 -0500 | [diff] [blame^] | 59 | register "usb_port_config" = "{ |
| 60 | {0, 0, -1}, /* P0: Empty */ |
| 61 | {1, 0, 0}, /* P1: Left USB 1 (OC0) */ |
| 62 | {1, 0, 1}, /* P2: Left USB 2 (OC1) */ |
| 63 | {1, 0, 1}, /* P3: Left USB 3 (OC1) */ |
| 64 | {0, 0, -1}, /* P4-P7: Empty */ |
| 65 | {0, 0, -1}, |
| 66 | {0, 0, -1}, |
| 67 | {0, 0, -1}, |
| 68 | /* Empty and onboard Ports 8-13, set to un-used pin OC4 */ |
| 69 | {1, 0, -1}, /* P8: MiniPCIe (WLAN) (no OC) */ |
| 70 | {0, 0, -1}, /* P9: Empty */ |
| 71 | {1, 0, -1}, /* P10: Camera (no OC) */ |
| 72 | {0, 0, -1}, {0, 0, -1}, {0, 0, -1} |
| 73 | }" |
| 74 | |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 75 | # EC range is 0xFD60 (EC_IO) and 0x68/0x6C |
| 76 | register "gen1_dec" = "0x0004fd61" |
| 77 | register "gen2_dec" = "0x00040069" |
| 78 | |
| 79 | # Enable zero-based linear PCIe root port functions |
Angel Pons | af4bd56 | 2021-12-28 13:05:56 +0100 | [diff] [blame] | 80 | register "pcie_port_coalesce" = "true" |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 81 | |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 82 | device ref mei1 on end # Management Engine Interface 1 |
| 83 | device ref mei2 off end # Management Engine Interface 2 |
| 84 | device ref me_ide_r off end # Management Engine IDE-R |
| 85 | device ref me_kt off end # Management Engine KT |
| 86 | device ref gbe off end # Intel Gigabit Ethernet |
| 87 | device ref ehci2 on end # USB2 EHCI #2 |
| 88 | device ref hda on end # High Definition Audio |
| 89 | device ref pcie_rp1 off end # PCIe Port #1 |
| 90 | device ref pcie_rp2 on end # PCIe Port #2 (WLAN) |
| 91 | device ref pcie_rp3 on end # PCIe Port #3 (ETH0) |
| 92 | device ref pcie_rp4 off end # PCIe Port #4 |
| 93 | device ref pcie_rp5 off end # PCIe Port #5 |
| 94 | device ref pcie_rp6 off end # PCIe Port #6 |
| 95 | device ref pcie_rp7 off end # PCIe Port #7 |
| 96 | device ref pcie_rp8 off end # PCIe Port #8 |
| 97 | device ref ehci1 on end # USB2 EHCI #1 |
| 98 | device ref pci_bridge off end # PCI bridge |
| 99 | device ref lpc on |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 100 | chip ec/compal/ene932 |
| 101 | # 60/64 KBC |
| 102 | device pnp ff.1 on # dummy address |
| 103 | end |
| 104 | end |
| 105 | end # LPC bridge |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 106 | device ref sata1 on end # SATA Controller 1 |
Matt DeVillier | 6974bcd | 2023-07-24 18:37:26 -0500 | [diff] [blame] | 107 | device ref smbus on |
Matt DeVillier | 4533b0e | 2024-05-05 13:26:34 -0500 | [diff] [blame] | 108 | subsystemid 0x18D1 0x04B4 |
Matt DeVillier | 6974bcd | 2023-07-24 18:37:26 -0500 | [diff] [blame] | 109 | end # SMBus |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 110 | device ref sata2 off end # SATA Controller 2 |
| 111 | device ref thermal on end # Thermal |
Stefan Reinauer | a7198b3 | 2012-12-11 16:00:47 -0800 | [diff] [blame] | 112 | end |
| 113 | end |
| 114 | end |