blob: 73fd5b20ccbc34b085ba7a6fc128b99ee6c0f87a [file] [log] [blame]
Philipp Deppenwiese714baa12017-01-02 17:58:09 +01001chip northbridge/intel/sandybridge
Nico Huberb0b25c82020-03-21 20:35:12 +01002 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +01003
4 # Enable DisplayPort Hotplug with 6ms pulse
5 register "gpu_dp_d_hotplug" = "0x06"
6
7 # Enable Panel as LVDS and configure power delays
Angel Ponsdc0c0812020-09-02 19:17:30 +02008 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +01009 register "gpu_panel_power_cycle_delay" = "6" # T7: 500ms
10 register "gpu_panel_power_up_delay" = "100" # T1+T2: 10ms
11 register "gpu_panel_power_down_delay" = "100" # T5+T6: 10ms
12 register "gpu_panel_power_backlight_on_delay" = "2100" # T3: 210ms
13 register "gpu_panel_power_backlight_off_delay" = "2100" # T4: 210ms
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010014 register "gpu_cpu_backlight" = "0x1155"
15 register "gpu_pch_backlight" = "0x11551155"
16
Angel Ponsbceea672021-05-17 10:58:36 +020017 device domain 0 on
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010018 subsystemid 0x17aa 0x21f3 inherit
19
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010020 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010021 register "docking_supported" = "1"
22 register "gen1_dec" = "0x000c15e1"
23 register "gen2_dec" = "0x007c1601"
24 register "gen3_dec" = "0x000c06a1"
25 register "gpi13_routing" = "2"
26 register "gpi1_routing" = "2"
Patrick Rudolpha7033932017-05-26 15:26:10 +020027 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
Angel Ponsaf4bd562021-12-28 13:05:56 +010028 register "pcie_port_coalesce" = "true"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010029 register "sata_interface_speed_support" = "0x3"
30 register "sata_port_map" = "0x17"
Bill XIEc5578472023-10-27 18:58:15 +080031
32 # Do not enable xHCI Port 4 since WWAN USB is EHCI-only
33 register "superspeed_capable_ports" = "0x7"
34 register "xhci_switchable_ports" = "0x7"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010035 register "xhci_overcurrent_mapping" = "0x04000201"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010036
37 # device specific SPI configuration
38 register "spi_uvscc" = "0x2005"
39 register "spi_lvscc" = "0x2005"
40
Arthur Heymansb5df65a2022-11-12 14:51:49 +010041 device ref xhci on end # USB 3.0 Controller
42 device ref mei1 on end # Management Engine Interface 1
43 device ref mei2 off end # Management Engine Interface 2
44 device ref me_ide_r off end # Management Engine IDE-R
45 device ref me_kt off end # Management Engine KT
46 device ref gbe on end # Intel Gigabit Ethernet
47 device ref ehci2 on end # USB2 EHCI #2
Alexander Goncharov893c3ae82023-02-04 15:20:37 +040048 device ref hda on end # High Definition Audio controller
Arthur Heymansb5df65a2022-11-12 14:51:49 +010049 device ref pcie_rp1 on # PCIe Port #1
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010050 chip drivers/ricoh/rce822 # Ricoh cardreader
51 register "disable_mask" = "0x87"
52 register "sdwppol" = "1"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010053 device pci 00.0 on end # Ricoh SD card reader
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010054 end
55 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +010056 device ref pcie_rp2 on end # PCIe Port #2
57 device ref pcie_rp3 on # PCIe Port #3
Patrick Rudolph05216322019-04-12 16:14:27 +020058 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010059 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +010060 device ref pcie_rp4 off end # PCIe Port #4
61 device ref pcie_rp5 off end # PCIe Port #5
62 device ref pcie_rp6 off end # PCIe Port #6
63 device ref pcie_rp7 off end # PCIe Port #7
64 device ref pcie_rp8 off end # PCIe Port #8
65 device ref ehci1 on end # USB2 EHCI #1
66 device ref pci_bridge off end # PCI bridge
67 device ref lpc on # LPC bridge PCI-LPC bridge
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010068 chip ec/lenovo/pmh7
Elyes Haouasaf933362023-03-19 08:01:53 +010069 register "backlight_enable" = "true"
70 register "dock_event_enable" = "true"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010071 device pnp ff.1 on end # dummy
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010072 end
73 chip ec/lenovo/h8
74 device pnp ff.2 on # dummy
75 io 0x60 = 0x62
76 io 0x62 = 0x66
77 io 0x64 = 0x1600
78 io 0x66 = 0x1604
79 end
80 register "config0" = "0xa7"
81 register "config1" = "0x01"
82 register "config2" = "0xa0"
83 register "config3" = "0xe2"
84
85 register "has_keyboard_backlight" = "0"
86
87 register "beepmask0" = "0x02"
88 register "beepmask1" = "0x86"
89 register "has_power_management_beeps" = "1"
90 register "event2_enable" = "0xff"
91 register "event3_enable" = "0xff"
92 register "event4_enable" = "0xf0"
93 register "event5_enable" = "0x3c"
94 register "event6_enable" = "0x00"
95 register "event7_enable" = "0xa1"
96 register "event8_enable" = "0x7b"
97 register "event9_enable" = "0xff"
98 register "eventa_enable" = "0x00"
99 register "eventb_enable" = "0x00"
100 register "eventc_enable" = "0xff"
101 register "eventd_enable" = "0xff"
102 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200103
104 register "has_bdc_detection" = "1"
105 register "bdc_gpio_num" = "54"
106 register "bdc_gpio_lvl" = "0"
Patrick Rudolph7d7c6312017-08-13 12:51:27 +0200107
108 register "has_wwan_detection" = "1"
109 register "wwan_gpio_num" = "70"
110 register "wwan_gpio_lvl" = "0"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100111 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200112 chip drivers/lenovo/hybrid_graphics
113 device pnp ff.f on end # dummy
114
115 register "detect_gpio" = "21"
116
117 register "has_panel_hybrid_gpio" = "1"
118 register "panel_hybrid_gpio" = "52"
119 register "panel_integrated_lvl" = "1"
120
121 register "has_backlight_gpio" = "0"
122 register "has_dgpu_power_gpio" = "0"
123
Evgeny Zinoviev01869122018-08-30 00:23:39 +0300124 register "has_thinker1" = "1"
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200125 end
Patrick Rudolph1e96ea12018-06-03 10:15:33 +0200126 chip drivers/pc80/tpm
127 device pnp 0c31.0 on end
128 end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100129 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100130 device ref sata1 on end # SATA Controller 1
131 device ref smbus on # SMBus
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100132 chip drivers/i2c/at24rf08c # eeprom, 8 virtual devices, same chip
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100133 device i2c 54 on end
134 device i2c 55 on end
135 device i2c 56 on end
136 device i2c 57 on end
137 device i2c 5c on end
138 device i2c 5d on end
139 device i2c 5e on end
140 device i2c 5f on end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100141 end
142 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100143 device ref sata2 off end # SATA Controller 2
144 device ref thermal off end # Thermal
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100145 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100146 device ref host_bridge on end # Host bridge Host bridge
147 device ref peg10 on end # PCIe Bridge for discrete graphics
148 device ref igd on end # Internal graphics VGA controller
149 device ref dev4 off end # Signal processing controller
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100150 end
151end