Debian Codegraph @

src/mainboard/intel/coffeelake_rvp/variants/cml_u/overridetree.cb

raw
1 chip soc/intel/cannonlake
2
3 # Enable eDP device
4 register "DdiPortEdp" = "1"
5 # Enable HPD for DDI ports B/C
6 register "DdiPortBHpd" = "1"
7 register "DdiPortCHpd" = "1"
8 register "DdiPortDHpd" = "1"
9 register "DdiPortFHpd" = "1"
10 # Enable DDC for DDI ports B/C
11 register "DdiPortBDdc" = "1"
12 register "DdiPortCDdc" = "1"
13 register "DdiPortDDdc" = "1"
14 register "DdiPortFDdc" = "1"
15
16 register "SerialIoDevMode" = "{
17 [PchSerialIoIndexI2C0] = PchSerialIoPci,
18 [PchSerialIoIndexI2C1] = PchSerialIoPci,
19 [PchSerialIoIndexI2C2] = PchSerialIoPci,
20 [PchSerialIoIndexI2C3] = PchSerialIoPci,
21 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
22 [PchSerialIoIndexI2C5] = PchSerialIoPci,
23 [PchSerialIoIndexSPI0] = PchSerialIoPci,
24 [PchSerialIoIndexSPI1] = PchSerialIoPci,
25 [PchSerialIoIndexSPI2] = PchSerialIoDisabled,
26 [PchSerialIoIndexUART0] = PchSerialIoSkipInit,
27 [PchSerialIoIndexUART1] = PchSerialIoDisabled,
28 [PchSerialIoIndexUART2] = PchSerialIoSkipInit,
29 }"
30
31 register "SataSalpSupport" = "1"
32 register "SataPortsEnable[0]" = "1"
33 register "SataPortsEnable[1]" = "1"
34 register "SataPortsEnable[2]" = "1"
35 register "SataPortsEnable[3]" = "1"
36 register "SataPortsEnable[4]" = "1"
37 register "SataPortsEnable[5]" = "1"
38 register "SataPortsEnable[6]" = "1"
39 register "SataPortsEnable[7]" = "1"
40
41 register "PchHdaDspEnable" = "true"
42 register "PchHdaAudioLinkHda" = "1"
43
44 register "PcieClkSrcUsage[0]" = "1"
45 register "PcieClkSrcUsage[1]" = "8"
46 register "PcieClkSrcUsage[2]" = "PCIE_CLK_LAN"
47 register "PcieClkSrcUsage[3]" = "13"
48 register "PcieClkSrcUsage[4]" = "4"
49 register "PcieClkSrcUsage[5]" = "14"
50
51 register "PcieClkSrcClkReq[0]" = "0"
52 register "PcieClkSrcClkReq[1]" = "1"
53 register "PcieClkSrcClkReq[2]" = "2"
54 register "PcieClkSrcClkReq[3]" = "3"
55 register "PcieClkSrcClkReq[4]" = "4"
56 register "PcieClkSrcClkReq[5]" = "5"
57
58 # GPIO for SD card detect
59 register "sdcard_cd_gpio" = "GPP_G5"
60
61 device domain 0 on
62 device ref cnvi_wifi on
63 chip drivers/wifi/generic
64 register "wake" = "PME_B0_EN_BIT"
65 device generic 0 on end
66 end
67 end
68 device ref sdxc on end
69 device ref i2c0 on end
70 device ref i2c1 on end
71 device ref sata on end
72 device ref i2c4 on end
73 device ref uart2 on end
74 device ref emmc on end
75 device ref pcie_rp1 on # x4 SLOT1
76 register "PcieRpSlotImplemented[0]" = "true"
77 end
78 device ref pcie_rp5 on # x1 SLOT2/LAN
79 register "PcieRpSlotImplemented[4]" = "true"
80 end
81 device ref pcie_rp9 on
82 register "PcieRpSlotImplemented[8]" = "true"
83 end
84 device ref gbe on end
85 end
86 end