Debian Codegraph @

src/mainboard/system76/cml-u/variants/darp6/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 0x1404 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 chip drivers/i2c/hid
27 register "generic.hid" = ""SYNA1202""
28 register "generic.desc" = ""Synaptics Touchpad""
29 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C23_IRQ)"
30 register "generic.detect" = "1"
31 register "hid_desc_reg_offset" = "0x20"
32 device i2c 2c on end
33 end
34 end
35 device ref sata on
36 register "SataPortsEnable" = "{
37 [0] = 1,
38 [2] = 1,
39 }"
40 end
41 device ref pcie_rp5 on
42 # PCI Express Root port #5 x4, Clock 4 (TBT)
43 register "PcieRpLtrEnable[4]" = "true"
44 register "PcieRpHotPlug[4]" = "1"
45 register "PcieClkSrcUsage[4]" = "4"
46 register "PcieClkSrcClkReq[4]" = "4"
47 end
48 device ref pcie_rp9 on
49 # PCI Express Root port #9 x1, Clock 3 (LAN)
50 register "PcieRpLtrEnable[8]" = "true"
51 register "PcieClkSrcUsage[3]" = "8"
52 register "PcieClkSrcClkReq[3]" = "3"
53 end
54 device ref pcie_rp10 on
55 # PCI Express Root port #10 x1, Clock 2 (WLAN)
56 register "PcieRpLtrEnable[9]" = "false"
57 register "PcieClkSrcUsage[2]" = "9"
58 register "PcieClkSrcClkReq[2]" = "2"
59 smbios_slot_desc "SlotTypeM2Socket1_SD" "SlotLengthOther" "M.2/E 2230 (J_WLAN1)" "SlotDataBusWidth1X"
60 end
61 device ref pcie_rp13 on
62 # PCI Express Root port #13 x4, Clock 5 (NVMe)
63 register "PcieRpLtrEnable[12]" = "true"
64 register "PcieClkSrcUsage[5]" = "12"
65 register "PcieClkSrcClkReq[5]" = "5"
66 smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2/M 2280 (J_SSD1)" "SlotDataBusWidth4X"
67 end
68 device ref hda on
69 register "PchHdaAudioLinkDmic0" = "1"
70 register "PchHdaAudioLinkDmic1" = "1"
71 end
72 end
73 end