blob: cfdc3a418923a3090acae60f358e5b447a8c8519 [file] [log] [blame]
Philipp Deppenwiese714baa12017-01-02 17:58:09 +01001chip northbridge/intel/sandybridge
2 register "gfx.ndid" = "3"
3 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410 }"
4
5 # Enable DisplayPort Hotplug with 6ms pulse
6 register "gpu_dp_d_hotplug" = "0x06"
7
8 # Enable Panel as LVDS and configure power delays
9 register "gpu_panel_port_select" = "0" # LVDS
10 register "gpu_panel_power_cycle_delay" = "6" # T7: 500ms
11 register "gpu_panel_power_up_delay" = "100" # T1+T2: 10ms
12 register "gpu_panel_power_down_delay" = "100" # T5+T6: 10ms
13 register "gpu_panel_power_backlight_on_delay" = "2100" # T3: 210ms
14 register "gpu_panel_power_backlight_off_delay" = "2100" # T4: 210ms
15 register "gfx.use_spread_spectrum_clock" = "1"
16 register "gfx.link_frequency_270_mhz" = "1"
17 register "gpu_cpu_backlight" = "0x1155"
18 register "gpu_pch_backlight" = "0x11551155"
19
20 device cpu_cluster 0x0 on
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010021 chip cpu/intel/model_206ax # FIXME: check all registers
22 register "c1_acpower" = "1"
23 register "c1_battery" = "1"
24 register "c2_acpower" = "3"
25 register "c2_battery" = "3"
26 register "c3_acpower" = "5"
27 register "c3_battery" = "5"
Arthur Heymans7e6946a2019-01-21 17:55:02 +010028 device lapic 0x0 on end
Arthur Heymansb3f23232019-01-21 17:48:55 +010029 device lapic 0xacac off end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010030 end
31 end
32
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010033 device domain 0x0 on
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010034 subsystemid 0x17aa 0x21f3 inherit
35
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010036 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
37 register "c2_latency" = "0x0065"
38 register "docking_supported" = "1"
39 register "gen1_dec" = "0x000c15e1"
40 register "gen2_dec" = "0x007c1601"
41 register "gen3_dec" = "0x000c06a1"
42 register "gpi13_routing" = "2"
43 register "gpi1_routing" = "2"
Patrick Rudolpha7033932017-05-26 15:26:10 +020044 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010045 register "pcie_port_coalesce" = "1"
46 register "sata_interface_speed_support" = "0x3"
47 register "sata_port_map" = "0x17"
48 register "superspeed_capable_ports" = "0x0000000f"
49 register "xhci_overcurrent_mapping" = "0x04000201"
50 register "xhci_switchable_ports" = "0x0000000f"
51
52 # device specific SPI configuration
53 register "spi_uvscc" = "0x2005"
54 register "spi_lvscc" = "0x2005"
55
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010056 device pci 14.0 on end # USB 3.0 Controller
57 device pci 16.0 on end # Management Engine Interface 1
58 device pci 16.1 off end # Management Engine Interface 2
59 device pci 16.2 off end # Management Engine IDE-R
60 device pci 16.3 off end # Management Engine KT
61 device pci 19.0 on end # Intel Gigabit Ethernet
62 device pci 1a.0 on end # USB2 EHCI #2
63 device pci 1b.0 on end # High Definition Audio Audio controller
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010064 device pci 1c.0 on # PCIe Port #1
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010065 chip drivers/ricoh/rce822 # Ricoh cardreader
66 register "disable_mask" = "0x87"
67 register "sdwppol" = "1"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010068 device pci 00.0 on end # Ricoh SD card reader
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010069 end
70 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010071 device pci 1c.1 on end # PCIe Port #2
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010072 device pci 1c.2 on # PCIe Port #3
Patrick Rudolph05216322019-04-12 16:14:27 +020073 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010074 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010075 device pci 1c.3 off end # PCIe Port #4
76 device pci 1c.4 off end # PCIe Port #5
77 device pci 1c.5 off end # PCIe Port #6
78 device pci 1c.6 off end # PCIe Port #7
79 device pci 1c.7 off end # PCIe Port #8
80 device pci 1d.0 on end # USB2 EHCI #1
81 device pci 1e.0 off end # PCI bridge
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010082 device pci 1f.0 on # LPC bridge PCI-LPC bridge
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010083 chip ec/lenovo/pmh7
84 register "backlight_enable" = "0x01"
85 register "dock_event_enable" = "0x01"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010086 device pnp ff.1 on end # dummy
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010087 end
88 chip ec/lenovo/h8
89 device pnp ff.2 on # dummy
90 io 0x60 = 0x62
91 io 0x62 = 0x66
92 io 0x64 = 0x1600
93 io 0x66 = 0x1604
94 end
95 register "config0" = "0xa7"
96 register "config1" = "0x01"
97 register "config2" = "0xa0"
98 register "config3" = "0xe2"
99
100 register "has_keyboard_backlight" = "0"
101
102 register "beepmask0" = "0x02"
103 register "beepmask1" = "0x86"
104 register "has_power_management_beeps" = "1"
105 register "event2_enable" = "0xff"
106 register "event3_enable" = "0xff"
107 register "event4_enable" = "0xf0"
108 register "event5_enable" = "0x3c"
109 register "event6_enable" = "0x00"
110 register "event7_enable" = "0xa1"
111 register "event8_enable" = "0x7b"
112 register "event9_enable" = "0xff"
113 register "eventa_enable" = "0x00"
114 register "eventb_enable" = "0x00"
115 register "eventc_enable" = "0xff"
116 register "eventd_enable" = "0xff"
117 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200118
119 register "has_bdc_detection" = "1"
120 register "bdc_gpio_num" = "54"
121 register "bdc_gpio_lvl" = "0"
Patrick Rudolph7d7c6312017-08-13 12:51:27 +0200122
123 register "has_wwan_detection" = "1"
124 register "wwan_gpio_num" = "70"
125 register "wwan_gpio_lvl" = "0"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100126 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200127 chip drivers/lenovo/hybrid_graphics
128 device pnp ff.f on end # dummy
129
130 register "detect_gpio" = "21"
131
132 register "has_panel_hybrid_gpio" = "1"
133 register "panel_hybrid_gpio" = "52"
134 register "panel_integrated_lvl" = "1"
135
136 register "has_backlight_gpio" = "0"
137 register "has_dgpu_power_gpio" = "0"
138
Evgeny Zinoviev01869122018-08-30 00:23:39 +0300139 register "has_thinker1" = "1"
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200140 end
Patrick Rudolph1e96ea12018-06-03 10:15:33 +0200141 chip drivers/pc80/tpm
142 device pnp 0c31.0 on end
143 end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100144 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100145 device pci 1f.2 on end # SATA Controller 1
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100146 device pci 1f.3 on # SMBus
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100147 chip drivers/i2c/at24rf08c # eeprom, 8 virtual devices, same chip
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100148 device i2c 54 on end
149 device i2c 55 on end
150 device i2c 56 on end
151 device i2c 57 on end
152 device i2c 5c on end
153 device i2c 5d on end
154 device i2c 5e on end
155 device i2c 5f on end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100156 end
157 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100158 device pci 1f.5 off end # SATA Controller 2
159 device pci 1f.6 off end # Thermal
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100160 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100161 device pci 00.0 on end # Host bridge Host bridge
162 device pci 01.0 on end # PCIe Bridge for discrete graphics
163 device pci 02.0 on end # Internal graphics VGA controller
164 device pci 04.0 off end # Signal processing controller
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100165 end
166end