cfl/cml/whl mainboards: Drop superfluous cpu_cluster device
[coreboot.git] / src / mainboard / starlabs / starbook / variants / cml / devicetree.cb
blob6f800cb850c3d8b0b98c1202e65e1d0bf4eb2912
1 chip soc/intel/cannonlake
2 # CPU
3 # Enable Enhanced Intel SpeedStep
4 register "eist_enable" = "1"
6 # Graphics
7 # IGD Displays
8 register "panel_cfg" = "{
9 .up_delay_ms = 0, // T3
10 .backlight_on_delay_ms = 0, // T7
11 .backlight_off_delay_ms = 0, // T9
12 .down_delay_ms = 0, // T10
13 .cycle_delay_ms = 500, // T12
14 .backlight_pwm_hz = 200, // PWM
17 # FSP Memory
18 register "enable_c6dram" = "1"
19 register "SaGv" = "SaGv_Enabled"
21 # FSP Silicon
22 # Serial I/O
23 register "SerialIoDevMode" = "{
24 [PchSerialIoIndexI2C0] = PchSerialIoPci,
25 [PchSerialIoIndexI2C4] = PchSerialIoSkipInit,
26 [PchSerialIoIndexUART2] = PchSerialIoSkipInit,
29 # Power
30 register "PchPmSlpS3MinAssert" = "2" # 50ms
31 register "PchPmSlpS4MinAssert" = "3" # 1s
32 register "PchPmSlpSusMinAssert" = "3" # 500ms
33 register "PchPmSlpAMinAssert" = "3" # 2s
35 # PM Util
36 # GPE configuration
37 # Note that GPE events called out in ASL code rely on this
38 # route. i.e. If this route changes then the affected GPE
39 # offset bits also need to be changed.
40 # sudo devmem2 0xfe001920 (pmc_bar + GPIO_GPE_CFG)
41 register "gpe0_dw0" = "PMC_GPP_B"
42 register "gpe0_dw1" = "PMC_GPP_C"
43 register "gpe0_dw2" = "PMC_GPP_E"
45 # PCIe Clock
46 register "PcieClkSrcClkReq[0]" = "PCIE_CLK_NOTUSED"
47 register "PcieClkSrcClkReq[2]" = "PCIE_CLK_NOTUSED"
48 register "PcieClkSrcClkReq[3]" = "PCIE_CLK_NOTUSED"
49 register "PcieClkSrcClkReq[4]" = "PCIE_CLK_NOTUSED"
50 register "PcieClkSrcClkReq[5]" = "PCIE_CLK_NOTUSED"
52 # Actual device tree.
53 device domain 0 on
54 device ref system_agent on end
55 device ref igpu on end
56 device ref dptf on
57 register "Device4Enable" = "1"
58 end
59 device ref thermal off end
60 device ref ufs off end
61 device ref gspi2 off end
62 device ref xhci on
63 # Motherboard USB Type C
64 register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC_SKIP)"
65 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC_SKIP)"
67 # Motherboard USB 3.0
68 register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)"
69 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)"
71 # Daughterboard SD Card
72 register "usb2_ports[3]" = "USB2_PORT_MID(OC_SKIP)"
74 # Daughterboard USB 3.0
75 register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)"
76 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)"
78 # Webcam
79 register "usb2_ports[CONFIG_CCD_PORT]" = "USB2_PORT_MID(OC_SKIP)"
81 # Internal Bluetooth
82 register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)"
83 end
84 device ref xdci off end
85 device ref shared_sram on end
86 device ref cnvi_wifi on
87 chip drivers/wifi/generic
88 register "wake" = "GPE0_PME_B0"
89 device generic 0 on end
90 end
91 end
92 device ref sdxc off end
93 device ref i2c0 on
94 chip drivers/i2c/hid
95 register "generic.hid" = ""STAR0001""
96 register "generic.desc" = ""Touchpad""
97 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)"
98 register "generic.detect" = "1"
99 register "hid_desc_reg_offset" = "0x20"
100 device i2c 2c on end
103 device ref i2c1 off end
104 device ref i2c2 off end
105 device ref i2c3 off end
106 device ref heci1 on end
107 device ref heci2 off end
108 device ref csme_ider off end
109 device ref csme_ktr off end
110 device ref heci3 off end
111 device ref heci4 off end
112 device ref sata on
113 register "SataSalpSupport" = "1"
114 # Port 1
115 register "SataPortsEnable[1]" = "1"
116 register "SataPortsDevSlp[1]" = "1"
118 device ref i2c4 on end
119 device ref i2c5 off end
120 device ref uart2 on end
121 device ref emmc off end
122 device ref pcie_rp1 off end
123 device ref pcie_rp2 off end
124 device ref pcie_rp3 off end
125 device ref pcie_rp4 off end
126 device ref pcie_rp5 off end
127 device ref pcie_rp6 off end
128 device ref pcie_rp7 off end
129 device ref pcie_rp8 off end
130 device ref pcie_rp9 on # SSD x4
131 register "PcieRpSlotImplemented[8]" = "1"
132 register "PcieRpEnable[8]" = "1"
133 register "PcieRpLtrEnable[8]" = "1"
134 register "PcieClkSrcUsage[1]" = "0x08"
135 register "PcieClkSrcClkReq[1]" = "1"
136 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2/M 2280" "SlotDataBusWidth4X"
138 device ref pcie_rp10 off end
139 device ref pcie_rp11 off end
140 device ref pcie_rp12 off end
141 device ref uart0 off end
142 device ref uart1 off end
143 device ref gspi0 off end
144 device ref gspi1 off end
145 device ref lpc_espi on
146 register "gen1_dec" = "0x000c0681"
147 register "gen2_dec" = "0x000c1641"
148 register "gen3_dec" = "0x00fc0201"
149 register "gen4_dec" = "0x000c0081"
151 chip ec/starlabs/merlin
152 # Port pair 4Eh/4Fh
153 device pnp 4e.00 on end # IO Interface
154 device pnp 4e.01 off end # Com 1
155 device pnp 4e.02 off end # Com 2
156 device pnp 4e.04 off end # System Wake-Up
157 device pnp 4e.05 off end # PS/2 Mouse
158 device pnp 4e.06 on # PS/2 Keyboard
159 io 0x60 = 0x0060
160 io 0x62 = 0x0064
161 irq 0x70 = 1
163 device pnp 4e.0a off end # Consumer IR
164 device pnp 4e.0f off end # Shared Memory/Flash Interface
165 device pnp 4e.10 off end # RTC-like Timer
166 device pnp 4e.11 off end # Power Management Channel 1
167 device pnp 4e.12 off end # Power Management Channel 2
168 device pnp 4e.13 off end # Serial Peripheral Interface
169 device pnp 4e.14 off end # Platform EC Interface
170 device pnp 4e.17 off end # Power Management Channel 3
171 device pnp 4e.18 off end # Power Management Channel 4
172 device pnp 4e.19 off end # Power Management Channel 5
175 device ref p2sb on end
176 device ref pmc hidden end
177 device ref hda on
178 register "PchHdaAudioLinkHda" = "1"
180 device ref smbus on end
181 device ref fast_spi on end
182 device ref gbe off end
184 chip drivers/crb
185 device mmio 0xfed40000 on end