payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / 51nb / x210 / devicetree.cb
blobab8787c32cdc198417737096f8eb59c13e07726c
1 chip soc/intel/skylake
3 # Enable Panel as eDP and configure power delays
4 register "panel_cfg" = "{
5 .up_delay_ms = 210, // T3
6 .down_delay_ms = 500, // T10
7 .cycle_delay_ms = 5000, // T12
8 .backlight_on_delay_ms = 1, // T7
9 .backlight_off_delay_ms = 200, // T9
12 # Enable deep Sx states
13 register "deep_s3_enable_ac" = "1"
14 register "deep_s3_enable_dc" = "1"
15 register "deep_s5_enable_ac" = "1"
16 register "deep_s5_enable_dc" = "1"
17 register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN"
19 register "eist_enable" = "1"
21 # GPE configuration
22 # Note that GPE events called out in ASL code rely on this
23 # route. i.e. If this route changes then the affected GPE
24 # offset bits also need to be changed.
25 register "gpe0_dw0" = "GPP_C"
26 register "gpe0_dw1" = "GPP_D"
27 register "gpe0_dw2" = "GPP_E"
29 register "gen1_dec" = "0x000c0681"
30 register "gen2_dec" = "0x000c1641"
32 # Disable DPTF
33 register "dptf_enable" = "0"
35 # FSP Configuration
36 register "SataSalpSupport" = "1"
38 # The X210 has 3 SATA ports: a full SATA port, mSATA, and SATA over M.2
39 register "SataPortsEnable[0]" = "1"
40 register "SataPortsEnable[1]" = "1"
41 register "SataPortsEnable[2]" = "1"
42 register "SataPortsDevSlp[0]" = "1"
43 register "SataPortsDevSlp[1]" = "1"
44 register "SataPortsDevSlp[2]" = "1"
45 register "DspEnable" = "0"
46 register "IoBufferOwnership" = "0"
47 register "SsicPortEnable" = "0"
48 register "ScsEmmcHs400Enabled" = "0"
49 register "SkipExtGfxScan" = "1"
50 register "SaGv" = "SaGv_Enabled"
51 register "PmConfigSlpS3MinAssert" = "2" # 50ms
52 register "PmConfigSlpS4MinAssert" = "1" # 1s
53 register "PmConfigSlpSusMinAssert" = "3" # 500ms
54 register "PmConfigSlpAMinAssert" = "3" # 2s
56 register "serirq_mode" = "SERIRQ_CONTINUOUS"
58 # Enable Root Ports 3, 4 and 9
59 register "PcieRpEnable[2]" = "1" # Ethernet controller
60 register "PcieRpClkReqSupport[2]" = "1"
61 register "PcieRpClkReqNumber[2]" = "0"
62 register "PcieRpClkSrcNumber[2]" = "0"
63 register "PcieRpAdvancedErrorReporting[2]" = "1"
64 register "PcieRpLtrEnable[2]" = "1"
66 register "PcieRpEnable[3]" = "1" # Wireless controller
67 register "PcieRpClkReqSupport[3]" = "1"
68 register "PcieRpClkReqNumber[3]" = "1"
69 register "PcieRpClkSrcNumber[3]" = "1"
70 register "PcieRpAdvancedErrorReporting[3]" = "1"
71 register "PcieRpLtrEnable[3]" = "1"
73 register "PcieRpEnable[8]" = "1" # NVMe controller
74 register "PcieRpClkReqSupport[8]" = "1"
75 register "PcieRpClkReqNumber[8]" = "4"
76 register "PcieRpClkSrcNumber[8]" = "4"
77 register "PcieRpAdvancedErrorReporting[8]" = "1"
78 register "PcieRpLtrEnable[8]" = "1"
80 register "usb2_ports[0]" = "USB2_PORT_MID(OC1)" # Type-A Port (left)
81 register "usb2_ports[1]" = "USB2_PORT_MID(OC1)" # Type-A Port (left)
82 register "usb2_ports[2]" = "USB2_PORT_FLEX(OC_SKIP)" # FPR
83 register "usb2_ports[3]" = "USB2_PORT_FLEX(OC_SKIP)" # SD
84 register "usb2_ports[4]" = "USB2_PORT_FLEX(OC_SKIP)" # INT
85 register "usb2_ports[5]" = "USB2_PORT_MID(OC1)" # Type-A Port (right)
86 register "usb2_ports[6]" = "USB2_PORT_FLEX(OC_SKIP)" # Webcam
87 register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # mPCIe / WiFi Port
88 register "usb2_ports[8]" = "USB2_PORT_MID(OC_SKIP)" # mSATA / WWAN Port
90 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Port (left)
91 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Port (left)
93 # PL1 override 25W
94 # PL2 override 44W
95 register "power_limits_config" = "{
96 .tdp_pl1_override = 25,
97 .tdp_pl2_override = 44,
100 # Send an extra VR mailbox command for the PS4 exit issue
101 register "SendVrMbxCmd" = "2"
103 device cpu_cluster 0 on
104 device lapic 0 on end
106 device domain 0 on
107 device pci 00.0 on end # Host Bridge
108 device pci 02.0 on end # Integrated Graphics Device
109 device pci 04.0 on end # SA thermal subsystem
110 device pci 14.0 on end # USB xHCI
111 device pci 14.1 off end # USB xDCI (OTG)
112 device pci 14.2 on end # Thermal Subsystem
113 device pci 14.3 off end # Camera
114 device pci 16.0 on end # Management Engine Interface 1
115 device pci 16.1 off end # Management Engine Interface 2
116 device pci 16.2 off end # Management Engine IDE-R
117 device pci 16.3 off end # Management Engine KT Redirection
118 device pci 16.4 off end # Management Engine Interface 3
119 device pci 17.0 on end # SATA
120 device pci 1c.0 off end # PCI Express Port 1
121 device pci 1c.1 off end # PCI Express Port 2
122 device pci 1c.2 on end # PCI Express Port 3
123 device pci 1c.3 on end # PCI Express Port 4
124 device pci 1c.4 off end # PCI Express Port 5
125 device pci 1c.5 off end # PCI Express Port 6
126 device pci 1c.6 off end # PCI Express Port 7
127 device pci 1c.7 off end # PCI Express Port 8
128 device pci 1d.0 on end # PCI Express Port 9
129 device pci 1d.1 off end # PCI Express Port 10
130 device pci 1d.2 off end # PCI Express Port 11
131 device pci 1d.3 off end # PCI Express Port 12
132 device pci 1e.6 off end # SDXC
133 device pci 1f.0 on
134 chip ec/51nb/npce985la0dx
135 device pnp 0c09.0 on end
136 device pnp 4e.5 on end
137 device pnp 4e.6 on end
138 device pnp 4e.11 on end
140 end # LPC Interface
141 device pci 1f.1 off end # P2SB
142 device pci 1f.2 on end # Power Management Controller
143 device pci 1f.3 on end # Intel HDA
144 device pci 1f.4 on end # SMBus
145 device pci 1f.5 off end # PCH SPI
146 device pci 1f.6 off end # GbE