blob: 146eecf94f9230ad5658b6fe9c814b51a00c71c7 [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 Ponsd2489ee2021-05-17 11:05:29 +020017 device cpu_cluster 0 on
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010018 chip cpu/intel/model_206ax # FIXME: check all registers
Angel Pons6f56a232021-01-04 17:02:23 +010019 register "acpi_c1" = "1"
20 register "acpi_c2" = "3"
21 register "acpi_c3" = "5"
Arthur Heymans7e6946a2019-01-21 17:55:02 +010022 device lapic 0x0 on end
Arthur Heymansb3f23232019-01-21 17:48:55 +010023 device lapic 0xacac off end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010024 end
25 end
26
Angel Ponsbceea672021-05-17 10:58:36 +020027 device domain 0 on
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010028 subsystemid 0x17aa 0x21f3 inherit
29
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010030 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
31 register "c2_latency" = "0x0065"
32 register "docking_supported" = "1"
33 register "gen1_dec" = "0x000c15e1"
34 register "gen2_dec" = "0x007c1601"
35 register "gen3_dec" = "0x000c06a1"
36 register "gpi13_routing" = "2"
37 register "gpi1_routing" = "2"
Patrick Rudolpha7033932017-05-26 15:26:10 +020038 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010039 register "pcie_port_coalesce" = "1"
40 register "sata_interface_speed_support" = "0x3"
41 register "sata_port_map" = "0x17"
42 register "superspeed_capable_ports" = "0x0000000f"
43 register "xhci_overcurrent_mapping" = "0x04000201"
44 register "xhci_switchable_ports" = "0x0000000f"
45
46 # device specific SPI configuration
47 register "spi_uvscc" = "0x2005"
48 register "spi_lvscc" = "0x2005"
49
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010050 device pci 14.0 on end # USB 3.0 Controller
51 device pci 16.0 on end # Management Engine Interface 1
52 device pci 16.1 off end # Management Engine Interface 2
53 device pci 16.2 off end # Management Engine IDE-R
54 device pci 16.3 off end # Management Engine KT
55 device pci 19.0 on end # Intel Gigabit Ethernet
56 device pci 1a.0 on end # USB2 EHCI #2
57 device pci 1b.0 on end # High Definition Audio Audio controller
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010058 device pci 1c.0 on # PCIe Port #1
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010059 chip drivers/ricoh/rce822 # Ricoh cardreader
60 register "disable_mask" = "0x87"
61 register "sdwppol" = "1"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010062 device pci 00.0 on end # Ricoh SD card reader
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010063 end
64 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010065 device pci 1c.1 on end # PCIe Port #2
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010066 device pci 1c.2 on # PCIe Port #3
Patrick Rudolph05216322019-04-12 16:14:27 +020067 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010068 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010069 device pci 1c.3 off end # PCIe Port #4
70 device pci 1c.4 off end # PCIe Port #5
71 device pci 1c.5 off end # PCIe Port #6
72 device pci 1c.6 off end # PCIe Port #7
73 device pci 1c.7 off end # PCIe Port #8
74 device pci 1d.0 on end # USB2 EHCI #1
75 device pci 1e.0 off end # PCI bridge
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010076 device pci 1f.0 on # LPC bridge PCI-LPC bridge
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010077 chip ec/lenovo/pmh7
78 register "backlight_enable" = "0x01"
79 register "dock_event_enable" = "0x01"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010080 device pnp ff.1 on end # dummy
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010081 end
82 chip ec/lenovo/h8
83 device pnp ff.2 on # dummy
84 io 0x60 = 0x62
85 io 0x62 = 0x66
86 io 0x64 = 0x1600
87 io 0x66 = 0x1604
88 end
89 register "config0" = "0xa7"
90 register "config1" = "0x01"
91 register "config2" = "0xa0"
92 register "config3" = "0xe2"
93
94 register "has_keyboard_backlight" = "0"
95
96 register "beepmask0" = "0x02"
97 register "beepmask1" = "0x86"
98 register "has_power_management_beeps" = "1"
99 register "event2_enable" = "0xff"
100 register "event3_enable" = "0xff"
101 register "event4_enable" = "0xf0"
102 register "event5_enable" = "0x3c"
103 register "event6_enable" = "0x00"
104 register "event7_enable" = "0xa1"
105 register "event8_enable" = "0x7b"
106 register "event9_enable" = "0xff"
107 register "eventa_enable" = "0x00"
108 register "eventb_enable" = "0x00"
109 register "eventc_enable" = "0xff"
110 register "eventd_enable" = "0xff"
111 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200112
113 register "has_bdc_detection" = "1"
114 register "bdc_gpio_num" = "54"
115 register "bdc_gpio_lvl" = "0"
Patrick Rudolph7d7c6312017-08-13 12:51:27 +0200116
117 register "has_wwan_detection" = "1"
118 register "wwan_gpio_num" = "70"
119 register "wwan_gpio_lvl" = "0"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100120 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200121 chip drivers/lenovo/hybrid_graphics
122 device pnp ff.f on end # dummy
123
124 register "detect_gpio" = "21"
125
126 register "has_panel_hybrid_gpio" = "1"
127 register "panel_hybrid_gpio" = "52"
128 register "panel_integrated_lvl" = "1"
129
130 register "has_backlight_gpio" = "0"
131 register "has_dgpu_power_gpio" = "0"
132
Evgeny Zinoviev01869122018-08-30 00:23:39 +0300133 register "has_thinker1" = "1"
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200134 end
Patrick Rudolph1e96ea12018-06-03 10:15:33 +0200135 chip drivers/pc80/tpm
136 device pnp 0c31.0 on end
137 end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100138 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100139 device pci 1f.2 on end # SATA Controller 1
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100140 device pci 1f.3 on # SMBus
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100141 chip drivers/i2c/at24rf08c # eeprom, 8 virtual devices, same chip
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100142 device i2c 54 on end
143 device i2c 55 on end
144 device i2c 56 on end
145 device i2c 57 on end
146 device i2c 5c on end
147 device i2c 5d on end
148 device i2c 5e on end
149 device i2c 5f on end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100150 end
151 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100152 device pci 1f.5 off end # SATA Controller 2
153 device pci 1f.6 off end # Thermal
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100154 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100155 device pci 00.0 on end # Host bridge Host bridge
156 device pci 01.0 on end # PCIe Bridge for discrete graphics
157 device pci 02.0 on end # Internal graphics VGA controller
158 device pci 04.0 off end # Signal processing controller
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100159 end
160end