| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
chip soc/intel/cannonlake |
| 4 |
device domain 0 on |
| 5 |
subsystemid 0x1558 0x1401 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_TYPE_C(OC_SKIP), /* Type-C port 2 */ |
| 11 |
[2] = USB2_PORT_MID(OC_SKIP), /* Type-A port 3 */ |
| 12 |
[6] = USB2_PORT_MAX(OC_SKIP), /* Camera */ |
| 13 |
[9] = USB2_PORT_MID(OC_SKIP), /* Bluetooth */ |
| 14 |
}" |
| 15 |
register "usb3_ports" = "{ |
| 16 |
[0] = USB3_PORT_DEFAULT(OC_SKIP), /* Type-A port 1 */ |
| 17 |
[1] = USB3_PORT_DEFAULT(OC_SKIP), /* Type-C port 2 */ |
| 18 |
[2] = USB3_PORT_DEFAULT(OC_SKIP), /* Type-A port 3 */ |
| 19 |
}" |
| 20 |
end |
| 21 |
device ref i2c0 on |
| 22 |
chip drivers/i2c/hid |
| 23 |
register "generic.hid" = ""ELAN040D"" |
| 24 |
register "generic.desc" = ""ELAN Touchpad"" |
| 25 |
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)" |
| 26 |
register "generic.detect" = "1" |
| 27 |
register "hid_desc_reg_offset" = "0x01" |
| 28 |
device i2c 15 on end |
| 29 |
end |
| 30 |
end |
| 31 |
device ref sata on |
| 32 |
register "SataSalpSupport" = "1" |
| 33 |
register "SataPortsEnable" = "{ |
| 34 |
[1] = 1, /* Port 2 (J_SSD2) */ |
| 35 |
[2] = 1, /* Port 3 (J_SSD1) */ |
| 36 |
}" |
| 37 |
register "SataPortsDevSlp" = "{ |
| 38 |
[1] = 1, /* Port 2 (J_SSD2) */ |
| 39 |
[2] = 1, /* Port 3 (J_SSD1) */ |
| 40 |
}" |
| 41 |
end |
| 42 |
device ref pcie_rp6 on |
| 43 |
device pci 00.0 on end # x1 Card reader |
| 44 |
register "PcieRpLtrEnable[5]" = "true" |
| 45 |
register "PcieClkSrcUsage[3]" = "5" |
| 46 |
register "PcieClkSrcClkReq[3]" = "3" |
| 47 |
register "PcieRpSlotImplemented[5]" = "true" |
| 48 |
end |
| 49 |
device ref pcie_rp8 on |
| 50 |
device pci 00.0 on end # x1 M.2/E 2230 (J_WLAN1) |
| 51 |
register "PcieRpLtrEnable[7]" = "true" |
| 52 |
register "PcieClkSrcUsage[2]" = "7" |
| 53 |
register "PcieClkSrcClkReq[2]" = "2" |
| 54 |
register "PcieRpSlotImplemented[7]" = "true" |
| 55 |
chip drivers/wifi/generic |
| 56 |
device pci 00.0 on end |
| 57 |
end |
| 58 |
smbios_slot_desc "SlotTypeM2Socket1_SD" "SlotLengthOther" "M.2/E 2230 (J_WLAN1)" "SlotDataBusWidth1X" |
| 59 |
end |
| 60 |
device ref pcie_rp9 on |
| 61 |
device pci 00.0 on end # x4 M.2/M 2280 (J_SSD2) |
| 62 |
register "PcieRpLtrEnable[8]" = "true" |
| 63 |
register "PcieClkSrcUsage[4]" = "8" |
| 64 |
register "PcieClkSrcClkReq[4]" = "4" |
| 65 |
register "PcieRpSlotImplemented[8]" = "true" |
| 66 |
smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2/M 2280 (J_SSD2)" "SlotDataBusWidth4X" |
| 67 |
end |
| 68 |
device ref pcie_rp13 on |
| 69 |
device pci 00.0 on end # x4 M.2/M 2280 (J_SSD1) |
| 70 |
register "PcieRpLtrEnable[12]" = "true" |
| 71 |
register "PcieClkSrcUsage[5]" = "12" |
| 72 |
register "PcieClkSrcClkReq[5]" = "5" |
| 73 |
register "PcieRpSlotImplemented[12]" = "true" |
| 74 |
smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2/M 2280 (J_SSD1)" "SlotDataBusWidth4X" |
| 75 |
end |
| 76 |
end |
| 77 |
end |