blob: f14728f643110fd874ce11e5750ff397f39172eb [file] [log] [blame]
Stefan Reinauer49428d82013-02-21 15:48:37 -08001chip northbridge/intel/sandybridge
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 # IGD Displays
Matt DeVillier62696362020-03-29 13:20:59 -05003 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
Stefan Reinauer49428d82013-02-21 15:48:37 -08004
5 # Enable DisplayPort Hotplug with 6ms pulse
6 register "gpu_dp_d_hotplug" = "0x06"
7
8 # Enable Panel as eDP and configure power delays
Angel Ponsdc0c0812020-09-02 19:17:30 +02009 register "gpu_panel_port_select" = "PANEL_PORT_DP_A"
Stefan Reinauer49428d82013-02-21 15:48:37 -080010 register "gpu_panel_power_cycle_delay" = "6" # 500ms
11 register "gpu_panel_power_up_delay" = "2000" # 200ms
12 register "gpu_panel_power_down_delay" = "500" # 50ms
13 register "gpu_panel_power_backlight_on_delay" = "2000" # 200ms
14 register "gpu_panel_power_backlight_off_delay" = "2000" # 200ms
15
16 # Set backlight PWM values for eDP
17 register "gpu_cpu_backlight" = "0x00000200"
18 register "gpu_pch_backlight" = "0x04000000"
19
Keith Hui7039edd2023-07-21 10:12:05 -040020 register "ec_present" = "1"
21 register "ddr3lv_support" = "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, 3, 0x0040 },
30 { 0, 3, 0x0000 },
31 { 1, 3, 0x0040 },
32 { 0, 3, 0x0000 },
33 { 0, 3, 0x0000 },
34 { 1, 4, 0x0040 },
35 { 1, 4, 0x0040 },
36 { 0, 4, 0x0000 },
37 { 0, 4, 0x0000 },
38 { 0, 4, 0x0000 },
39 { 0, 4, 0x0000 },}"
Vladimir Serbinenkob2ad8102016-02-10 03:07:42 +010040
Stefan Reinauer49428d82013-02-21 15:48:37 -080041 device domain 0 on
42 subsystemid 0x1ae0 0xc000 inherit
Arthur Heymansb5df65a2022-11-12 14:51:49 +010043 device ref host_bridge on end # host bridge
44 device ref igd on end # vga controller
Stefan Reinauer49428d82013-02-21 15:48:37 -080045
46 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
Stefan Reinauer49428d82013-02-21 15:48:37 -080047 # GPI routing
48 # 0 No effect (default)
49 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
50 # 2 SCI (if corresponding GPIO_EN bit is also set)
51 register "alt_gp_smi_en" = "0x0100"
52 register "gpi7_routing" = "2"
53 register "gpi8_routing" = "1"
54
Stefan Reinauer49428d82013-02-21 15:48:37 -080055 register "sata_port_map" = "0x1"
56
57 register "sata_port0_gen3_tx" = "0x00880a7f"
58
59 # EC range is 0x800-0x9ff
60 # Please note: you MUST not change this unless
61 # you also change romstage.c:pch_enable_lpc
62 register "gen1_dec" = "0x00fc0801"
63 register "gen2_dec" = "0x00fc0901"
64
65 # Enable zero-based linear PCIe root port functions
Angel Ponsaf4bd562021-12-28 13:05:56 +010066 register "pcie_port_coalesce" = "true"
Stefan Reinauer49428d82013-02-21 15:48:37 -080067
Keith Hui51a57eb2024-02-05 16:44:38 -050068 register "usb_port_config" = "{
69 { 0, 0, -1 }, /* P0: Empty */
70 { 1, 0, 0 }, /* P1: Left USB 1 (OC0) */
71 { 1, 0, 1 }, /* P2: Left USB 2 (OC1) */
72 { 1, 0, -1 }, /* P3: SDCARD (no OC) */
73 { 0, 0, -1 }, /* P4: Empty */
74 { 1, 0, -1 }, /* P5: WWAN (no OC) */
75 { 0, 0, -1 }, /* P6: Empty */
76 { 0, 0, -1 }, /* P7: Empty */
77 { 1, 0, -1 }, /* P8: Camera (no OC) */
78 { 1, 0, -1 }, /* P9: Bluetooth (no OC) */
79 { 0, 0, -1 }, /* P10: Empty */
80 { 0, 0, -1 }, /* P11: Empty */
81 { 0, 0, -1 }, /* P12: Empty */
82 { 0, 0, -1 }, /* P13: Empty */
83 }"
84
Arthur Heymansb5df65a2022-11-12 14:51:49 +010085 device ref mei1 on end # Management Engine Interface 1
86 device ref mei2 off end # Management Engine Interface 2
87 device ref me_ide_r off end # Management Engine IDE-R
88 device ref me_kt off end # Management Engine KT
89 device ref gbe off end # Intel Gigabit Ethernet
90 device ref ehci2 on end # USB2 EHCI #2
91 device ref hda on end # High Definition Audio
92 device ref pcie_rp1 off end # PCIe Port #1 (WLAN remapped)
93 device ref pcie_rp2 off end # PCIe Port #2
94 device ref pcie_rp3 on end # PCIe Port #3 (WLAN actual)
95 device ref pcie_rp4 off end # PCIe Port #4
96 device ref pcie_rp5 off end # PCIe Port #5
97 device ref pcie_rp6 off end # PCIe Port #6
98 device ref pcie_rp7 off end # PCIe Port #7
99 device ref pcie_rp8 off end # PCIe Port #8
100 device ref ehci1 on end # USB2 EHCI #1
101 device ref pci_bridge off end # PCI bridge
102 device ref lpc on
Matt DeVillier3044af72018-08-01 13:05:14 -0500103 chip drivers/pc80/tpm
104 device pnp 0c31.0 on end
105 end
Stefan Reinauer49428d82013-02-21 15:48:37 -0800106 chip ec/google/chromeec
107 # We only have one init function that
108 # we need to call to initialize the
109 # keyboard part of the EC.
110 device pnp ff.1 on # dummy address
111 end
112 end
113 end # LPC bridge
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100114 device ref sata1 on end # SATA Controller 1
115 device ref smbus on end # SMBus
116 device ref sata2 off end # SATA Controller 2
117 device ref thermal on end # Thermal
Stefan Reinauer49428d82013-02-21 15:48:37 -0800118 end
119 end
120end