Debian Codegraph @

src/mainboard/system76/cml-u/variants/galp4/overridetree.cb

raw
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 chip soc/intel/cannonlake
4 device domain 0 on
5 subsystemid 0x1558 0x1403 inherit
6
7 device ref xhci on
8 register "usb2_ports" = "{
9 [0] = USB2_PORT_MID(OC_SKIP), /* Type-A port 1 */
10 [1] = USB2_PORT_MID(OC_SKIP), /* 3G / LTE */
11 [2] = USB2_PORT_TYPE_C(OC_SKIP), /* Type-C port 3 */
12 [3] = USB2_PORT_MID(OC_SKIP), /* USB Board port 4 */
13 [6] = USB2_PORT_MAX(OC_SKIP), /* Camera */
14 [9] = USB2_PORT_MID(OC_SKIP), /* Bluetooth */
15 }"
16 register "usb3_ports" = "{
17 [0] = USB3_PORT_DEFAULT(OC_SKIP), /* Type-A port 1 */
18 [1] = USB3_PORT_DEFAULT(OC_SKIP), /* 4G */
19 [2] = USB3_PORT_DEFAULT(OC_SKIP), /* Type-C port 3 */
20 [3] = USB3_PORT_DEFAULT(OC_SKIP), /* USB Board port 4 */
21 [4] = USB3_PORT_EMPTY, /* Used by TBT */
22 [5] = USB3_PORT_EMPTY, /* Used by TBT */
23 }"
24 end
25 device ref i2c0 on
26 # I2C HID not supported on galp4
27 end
28 device ref sata on
29 register "SataPortsEnable" = "{
30 [0] = 1,
31 [2] = 1,
32 }"
33 end
34 device ref pcie_rp5 on
35 # PCI Express Root port #5 x4, Clock 4 (TBT)
36 register "PcieRpLtrEnable[4]" = "true"
37 register "PcieRpHotPlug[4]" = "1"
38 register "PcieClkSrcUsage[4]" = "4"
39 register "PcieClkSrcClkReq[4]" = "4"
40 end
41 device ref pcie_rp9 on
42 # PCI Express Root port #9 x1, Clock 3 (LAN)
43 register "PcieRpLtrEnable[8]" = "true"
44 register "PcieClkSrcUsage[3]" = "8"
45 register "PcieClkSrcClkReq[3]" = "3"
46 end
47 device ref pcie_rp10 on
48 # PCI Express Root port #10 x1, Clock 2 (WLAN)
49 register "PcieRpLtrEnable[9]" = "false"
50 register "PcieClkSrcUsage[2]" = "9"
51 register "PcieClkSrcClkReq[2]" = "2"
52 smbios_slot_desc "SlotTypeM2Socket1_SD" "SlotLengthOther" "M.2/E 2230 (J_WLAN1)" "SlotDataBusWidth1X"
53 end
54 device ref pcie_rp13 on
55 # PCI Express Root port #13 x4, Clock 5 (NVMe)
56 register "PcieRpLtrEnable[12]" = "true"
57 register "PcieClkSrcUsage[5]" = "12"
58 register "PcieClkSrcClkReq[5]" = "5"
59 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2/M 2280 (J_SSD1)" "SlotDataBusWidth4X"
60 end
61 device ref hda on
62 register "PchHdaAudioLinkDmic0" = "1"
63 register "PchHdaAudioLinkDmic1" = "1"
64 end
65 end
66 end