blob: bcffdaa4e0a807327fb6b3fac510cdf9e8109118 [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"
31 register "superspeed_capable_ports" = "0x0000000f"
32 register "xhci_overcurrent_mapping" = "0x04000201"
33 register "xhci_switchable_ports" = "0x0000000f"
34
35 # device specific SPI configuration
36 register "spi_uvscc" = "0x2005"
37 register "spi_lvscc" = "0x2005"
38
Arthur Heymansb5df65a2022-11-12 14:51:49 +010039 device ref xhci on end # USB 3.0 Controller
40 device ref mei1 on end # Management Engine Interface 1
41 device ref mei2 off end # Management Engine Interface 2
42 device ref me_ide_r off end # Management Engine IDE-R
43 device ref me_kt off end # Management Engine KT
44 device ref gbe on end # Intel Gigabit Ethernet
45 device ref ehci2 on end # USB2 EHCI #2
46 device ref hda on end # High Definition Audio Audio controller
47 device ref pcie_rp1 on # PCIe Port #1
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010048 chip drivers/ricoh/rce822 # Ricoh cardreader
49 register "disable_mask" = "0x87"
50 register "sdwppol" = "1"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010051 device pci 00.0 on end # Ricoh SD card reader
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010052 end
53 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +010054 device ref pcie_rp2 on end # PCIe Port #2
55 device ref pcie_rp3 on # PCIe Port #3
Patrick Rudolph05216322019-04-12 16:14:27 +020056 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010057 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +010058 device ref pcie_rp4 off end # PCIe Port #4
59 device ref pcie_rp5 off end # PCIe Port #5
60 device ref pcie_rp6 off end # PCIe Port #6
61 device ref pcie_rp7 off end # PCIe Port #7
62 device ref pcie_rp8 off end # PCIe Port #8
63 device ref ehci1 on end # USB2 EHCI #1
64 device ref pci_bridge off end # PCI bridge
65 device ref lpc on # LPC bridge PCI-LPC bridge
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010066 chip ec/lenovo/pmh7
67 register "backlight_enable" = "0x01"
68 register "dock_event_enable" = "0x01"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010069 device pnp ff.1 on end # dummy
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010070 end
71 chip ec/lenovo/h8
72 device pnp ff.2 on # dummy
73 io 0x60 = 0x62
74 io 0x62 = 0x66
75 io 0x64 = 0x1600
76 io 0x66 = 0x1604
77 end
78 register "config0" = "0xa7"
79 register "config1" = "0x01"
80 register "config2" = "0xa0"
81 register "config3" = "0xe2"
82
83 register "has_keyboard_backlight" = "0"
84
85 register "beepmask0" = "0x02"
86 register "beepmask1" = "0x86"
87 register "has_power_management_beeps" = "1"
88 register "event2_enable" = "0xff"
89 register "event3_enable" = "0xff"
90 register "event4_enable" = "0xf0"
91 register "event5_enable" = "0x3c"
92 register "event6_enable" = "0x00"
93 register "event7_enable" = "0xa1"
94 register "event8_enable" = "0x7b"
95 register "event9_enable" = "0xff"
96 register "eventa_enable" = "0x00"
97 register "eventb_enable" = "0x00"
98 register "eventc_enable" = "0xff"
99 register "eventd_enable" = "0xff"
100 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200101
102 register "has_bdc_detection" = "1"
103 register "bdc_gpio_num" = "54"
104 register "bdc_gpio_lvl" = "0"
Patrick Rudolph7d7c6312017-08-13 12:51:27 +0200105
106 register "has_wwan_detection" = "1"
107 register "wwan_gpio_num" = "70"
108 register "wwan_gpio_lvl" = "0"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100109 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200110 chip drivers/lenovo/hybrid_graphics
111 device pnp ff.f on end # dummy
112
113 register "detect_gpio" = "21"
114
115 register "has_panel_hybrid_gpio" = "1"
116 register "panel_hybrid_gpio" = "52"
117 register "panel_integrated_lvl" = "1"
118
119 register "has_backlight_gpio" = "0"
120 register "has_dgpu_power_gpio" = "0"
121
Evgeny Zinoviev01869122018-08-30 00:23:39 +0300122 register "has_thinker1" = "1"
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200123 end
Patrick Rudolph1e96ea12018-06-03 10:15:33 +0200124 chip drivers/pc80/tpm
125 device pnp 0c31.0 on end
126 end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100127 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100128 device ref sata1 on end # SATA Controller 1
129 device ref smbus on # SMBus
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100130 chip drivers/i2c/at24rf08c # eeprom, 8 virtual devices, same chip
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100131 device i2c 54 on end
132 device i2c 55 on end
133 device i2c 56 on end
134 device i2c 57 on end
135 device i2c 5c on end
136 device i2c 5d on end
137 device i2c 5e on end
138 device i2c 5f on end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100139 end
140 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100141 device ref sata2 off end # SATA Controller 2
142 device ref thermal off end # Thermal
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100143 end
Arthur Heymansb5df65a2022-11-12 14:51:49 +0100144 device ref host_bridge on end # Host bridge Host bridge
145 device ref peg10 on end # PCIe Bridge for discrete graphics
146 device ref igd on end # Internal graphics VGA controller
147 device ref dev4 off end # Signal processing controller
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100148 end
149end