soc/intel/pantherlake: Add FSP-S programming
[coreboot.git] / src / mainboard / lenovo / t410 / devicetree.cb
blob8d4ab5f6334b3f3e56c318c2c27152b4a539b37c
1 ## SPDX-License-Identifier: GPL-2.0-only
3 chip northbridge/intel/ironlake
4 # IGD Displays
5 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
7 # Enable DisplayPort Hotplug with 6ms pulse
8 register "gpu_dp_d_hotplug" = "0x06"
10 # Enable Panel as LVDS and configure power delays
11 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
12 register "gpu_panel_power_cycle_delay" = "1"
13 register "gpu_panel_power_up_delay" = "1"
14 register "gpu_panel_power_down_delay" = "600"
15 register "gpu_panel_power_backlight_on_delay" = "0"
16 register "gpu_panel_power_backlight_off_delay" = "0"
17 register "gpu_cpu_backlight" = "0x58d"
18 register "gpu_pch_backlight" = "0x061a061a"
20 chip cpu/intel/model_2065x
21 device cpu_cluster 0 on ops ironlake_cpu_bus_ops end
22 end
24 device domain 0 on
25 ops ironlake_pci_domain_ops
26 device pci 00.0 on # Host bridge
27 subsystemid 0x17aa 0x2193
28 end
29 device pci 01.0 on end # PEG
30 device pci 02.0 on # VGA controller
31 subsystemid 0x17aa 0x215a
32 end
33 chip southbridge/intel/ibexpeak
34 # GPI routing
35 # 0 No effect (default)
36 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
37 # 2 SCI (if corresponding GPIO_EN bit is also set)
38 register "gpi1_routing" = "2"
39 register "gpi13_routing" = "2"
41 # 0:HDD Bay 1:ODD Bay 4:eSATA Combo Connector
42 register "sata_port_map" = "0x13"
44 register "gpe0_en" = "0x20022046"
45 register "alt_gp_smi_en" = "0x0000"
46 register "gen1_dec" = "0x7c1601" # EC
47 register "gen2_dec" = "0x0c15e1" # PMH7
48 register "gen3_dec" = "0x1c1681" # EC ?
49 register "gen4_dec" = "0x040069" # ?
51 register "docking_supported" = "1"
53 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
55 device pci 16.0 on # MEI
56 subsystemid 0x17aa 0x215f
57 end
58 device pci 16.2 on # IDE/SATA
59 subsystemid 0x17aa 0x2161
60 end
62 device pci 19.0 on # Ethernet
63 subsystemid 0x17aa 0x2153
64 end
66 device pci 1a.0 on # USB2 EHCI
67 subsystemid 0x17aa 0x2163
68 end
70 device pci 1b.0 on # Audio Controller
71 subsystemid 0x17aa 0x215e
72 end
74 device pci 1c.0 on end # PCIe Port #1: WWAN mPCIe slot
75 device pci 1c.1 on end # PCIe Port #2: WLAN mPCIe slot
76 device pci 1c.2 on end # PCIe Port #3: WUSB mPCIe slot
77 device pci 1c.3 on end # PCIe Port #4: ExpressCard
78 device pci 1c.4 on # PCIe Port #5: Ricoh SD & FireWire
79 subsystemid 0x17aa 0x2133
80 chip drivers/ricoh/rce822
81 register "sdwppol" = "1"
82 register "disable_mask" = "0x87"
83 device pci 00.0 on
84 subsystemid 0x17aa 0x2134
85 end
86 end
87 end
88 device pci 1c.5 off end # PCIe Port #6: Intel GbE PHY (not PCIe)
89 device pci 1c.6 off end # PCIe Port #7
90 device pci 1c.7 off end # PCIe Port #8
92 device pci 1d.0 on # USB2 EHCI
93 subsystemid 0x17aa 0x2163
94 end
95 device pci 1f.0 on # PCI-LPC bridge
96 subsystemid 0x17aa 0x2166
97 chip drivers/pc80/tpm
98 device pnp 0c31.0 on end
99 end
100 chip ec/lenovo/pmh7
101 device pnp ff.1 on end # dummy
102 register "backlight_enable" = "true"
103 register "dock_event_enable" = "true"
105 chip ec/lenovo/h8
106 device pnp ff.2 on # dummy
107 io 0x60 = 0x62
108 io 0x62 = 0x66
109 io 0x64 = 0x1600
110 io 0x66 = 0x1604
113 register "config0" = "0xa6"
114 register "config1" = "0x05"
115 register "config2" = "0xa0"
116 register "config3" = "0xe0"
118 register "beepmask0" = "0xfe"
119 register "beepmask1" = "0x96"
120 register "has_power_management_beeps" = "1"
122 register "event2_enable" = "0xff"
123 register "event3_enable" = "0xff"
124 register "event4_enable" = "0xf4"
125 register "event5_enable" = "0x3c"
126 register "event6_enable" = "0x87"
127 register "event7_enable" = "0x89"
128 register "event8_enable" = "0x7b"
129 register "event9_enable" = "0xff"
130 register "eventa_enable" = "0x83"
131 register "eventb_enable" = "0x00"
132 register "eventc_enable" = "0xff"
133 register "eventd_enable" = "0xff"
134 register "evente_enable" = "0x2d"
136 chip drivers/lenovo/hybrid_graphics
137 device pnp ff.f on end # dummy
139 register "detect_gpio" = "21"
141 register "has_panel_hybrid_gpio" = "1"
142 register "panel_hybrid_gpio" = "52"
143 register "panel_integrated_lvl" = "1"
145 register "has_backlight_gpio" = "1"
146 register "backlight_gpio" = "50"
147 register "backlight_integrated_lvl" = "0"
149 register "has_dgpu_power_gpio" = "1"
150 register "dgpu_power_gpio" = "49"
151 register "dgpu_power_off_lvl" = "0"
153 register "has_thinker1" = "1"
156 device pci 1f.2 on # IDE/SATA
157 subsystemid 0x17aa 0x2168
159 device pci 1f.3 on # SMBUS
160 subsystemid 0x17aa 0x2167
161 # eeprom, 8 virtual devices, same chip
162 chip drivers/i2c/at24rf08c
163 device i2c 54 on end
164 device i2c 55 on end
165 device i2c 56 on end
166 device i2c 57 on end
167 device i2c 5c on end
168 device i2c 5d on end
169 device i2c 5e on end
170 device i2c 5f on end
173 device pci 1f.6 on # Thermal Subsystem
174 subsystemid 0x17aa 0x2190