blob: 141faa930c7bdbc43c621ba2279cf601da9cc334 [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"
Angel Ponsc56c7232021-05-17 11:03:55 +020022 device lapic 0 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
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010031 register "docking_supported" = "1"
32 register "gen1_dec" = "0x000c15e1"
33 register "gen2_dec" = "0x007c1601"
34 register "gen3_dec" = "0x000c06a1"
35 register "gpi13_routing" = "2"
36 register "gpi1_routing" = "2"
Patrick Rudolpha7033932017-05-26 15:26:10 +020037 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
Angel Ponsaf4bd562021-12-28 13:05:56 +010038 register "pcie_port_coalesce" = "true"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010039 register "sata_interface_speed_support" = "0x3"
40 register "sata_port_map" = "0x17"
41 register "superspeed_capable_ports" = "0x0000000f"
42 register "xhci_overcurrent_mapping" = "0x04000201"
43 register "xhci_switchable_ports" = "0x0000000f"
44
45 # device specific SPI configuration
46 register "spi_uvscc" = "0x2005"
47 register "spi_lvscc" = "0x2005"
48
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010049 device pci 14.0 on end # USB 3.0 Controller
50 device pci 16.0 on end # Management Engine Interface 1
51 device pci 16.1 off end # Management Engine Interface 2
52 device pci 16.2 off end # Management Engine IDE-R
53 device pci 16.3 off end # Management Engine KT
54 device pci 19.0 on end # Intel Gigabit Ethernet
55 device pci 1a.0 on end # USB2 EHCI #2
56 device pci 1b.0 on end # High Definition Audio Audio controller
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010057 device pci 1c.0 on # PCIe Port #1
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010058 chip drivers/ricoh/rce822 # Ricoh cardreader
59 register "disable_mask" = "0x87"
60 register "sdwppol" = "1"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010061 device pci 00.0 on end # Ricoh SD card reader
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010062 end
63 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010064 device pci 1c.1 on end # PCIe Port #2
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010065 device pci 1c.2 on # PCIe Port #3
Patrick Rudolph05216322019-04-12 16:14:27 +020066 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010067 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010068 device pci 1c.3 off end # PCIe Port #4
69 device pci 1c.4 off end # PCIe Port #5
70 device pci 1c.5 off end # PCIe Port #6
71 device pci 1c.6 off end # PCIe Port #7
72 device pci 1c.7 off end # PCIe Port #8
73 device pci 1d.0 on end # USB2 EHCI #1
74 device pci 1e.0 off end # PCI bridge
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010075 device pci 1f.0 on # LPC bridge PCI-LPC bridge
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010076 chip ec/lenovo/pmh7
77 register "backlight_enable" = "0x01"
78 register "dock_event_enable" = "0x01"
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +010079 device pnp ff.1 on end # dummy
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010080 end
81 chip ec/lenovo/h8
82 device pnp ff.2 on # dummy
83 io 0x60 = 0x62
84 io 0x62 = 0x66
85 io 0x64 = 0x1600
86 io 0x66 = 0x1604
87 end
88 register "config0" = "0xa7"
89 register "config1" = "0x01"
90 register "config2" = "0xa0"
91 register "config3" = "0xe2"
92
93 register "has_keyboard_backlight" = "0"
94
95 register "beepmask0" = "0x02"
96 register "beepmask1" = "0x86"
97 register "has_power_management_beeps" = "1"
98 register "event2_enable" = "0xff"
99 register "event3_enable" = "0xff"
100 register "event4_enable" = "0xf0"
101 register "event5_enable" = "0x3c"
102 register "event6_enable" = "0x00"
103 register "event7_enable" = "0xa1"
104 register "event8_enable" = "0x7b"
105 register "event9_enable" = "0xff"
106 register "eventa_enable" = "0x00"
107 register "eventb_enable" = "0x00"
108 register "eventc_enable" = "0xff"
109 register "eventd_enable" = "0xff"
110 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200111
112 register "has_bdc_detection" = "1"
113 register "bdc_gpio_num" = "54"
114 register "bdc_gpio_lvl" = "0"
Patrick Rudolph7d7c6312017-08-13 12:51:27 +0200115
116 register "has_wwan_detection" = "1"
117 register "wwan_gpio_num" = "70"
118 register "wwan_gpio_lvl" = "0"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100119 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200120 chip drivers/lenovo/hybrid_graphics
121 device pnp ff.f on end # dummy
122
123 register "detect_gpio" = "21"
124
125 register "has_panel_hybrid_gpio" = "1"
126 register "panel_hybrid_gpio" = "52"
127 register "panel_integrated_lvl" = "1"
128
129 register "has_backlight_gpio" = "0"
130 register "has_dgpu_power_gpio" = "0"
131
Evgeny Zinoviev01869122018-08-30 00:23:39 +0300132 register "has_thinker1" = "1"
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200133 end
Patrick Rudolph1e96ea12018-06-03 10:15:33 +0200134 chip drivers/pc80/tpm
135 device pnp 0c31.0 on end
136 end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100137 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100138 device pci 1f.2 on end # SATA Controller 1
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100139 device pci 1f.3 on # SMBus
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100140 chip drivers/i2c/at24rf08c # eeprom, 8 virtual devices, same chip
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100141 device i2c 54 on end
142 device i2c 55 on end
143 device i2c 56 on end
144 device i2c 57 on end
145 device i2c 5c on end
146 device i2c 5d on end
147 device i2c 5e on end
148 device i2c 5f on end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100149 end
150 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100151 device pci 1f.5 off end # SATA Controller 2
152 device pci 1f.6 off end # Thermal
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100153 end
Peter Lemenkov07b2fdb2019-11-27 22:56:57 +0100154 device pci 00.0 on end # Host bridge Host bridge
155 device pci 01.0 on end # PCIe Bridge for discrete graphics
156 device pci 02.0 on end # Internal graphics VGA controller
157 device pci 04.0 off end # Signal processing controller
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100158 end
159end