Jonathon Hall | a86704a | 2023-09-14 14:41:20 -0400 | [diff] [blame] | 1 | chip soc/intel/jasperlake |
| 2 | |
| 3 | register "eist_enable" = "1" |
| 4 | register "s0ix_enable" = "0" |
| 5 | |
| 6 | register "SaGv" = "SaGv_Enabled" |
| 7 | |
| 8 | register "AcousticNoiseMitigation" = "1" |
| 9 | |
| 10 | register "FastPkgCRampDisable" = "1" |
| 11 | |
| 12 | register "SlowSlewRate" = "3" |
| 13 | |
| 14 | # TCC limit of 60 C (passively cooled tablet) |
| 15 | register "tcc_offset" = "40" |
| 16 | |
| 17 | register "power_limits_config[JSL_N5100_6W_CORE]" = "{ |
| 18 | .tdp_pl1_override = 5, |
| 19 | .tdp_pl2_override = 12, |
| 20 | }" |
| 21 | |
| 22 | register "pmc_gpe0_dw0" = "PMC_GPP_F" |
| 23 | register "pmc_gpe0_dw1" = "PMC_GPP_D" |
| 24 | register "pmc_gpe0_dw2" = "PMC_GPD" |
| 25 | |
| 26 | register "SkipCpuReplacementCheck" = "1" |
| 27 | |
| 28 | device cpu_cluster 0 on end |
| 29 | |
| 30 | register "SerialIoI2cMode" = "{ |
| 31 | [PchSerialIoIndexI2C0] = PchSerialIoDisabled, |
| 32 | [PchSerialIoIndexI2C1] = PchSerialIoDisabled, |
| 33 | [PchSerialIoIndexI2C2] = PchSerialIoPci, |
| 34 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 35 | [PchSerialIoIndexI2C4] = PchSerialIoDisabled, |
| 36 | [PchSerialIoIndexI2C5] = PchSerialIoDisabled, |
| 37 | }" |
| 38 | |
| 39 | register "SerialIoUartMode[2]" = "PchSerialIoSkipInit" |
| 40 | |
| 41 | # Audio related configurations |
| 42 | register "PchHdaDspEnable" = "1" |
| 43 | register "PchHdaAudioLinkHdaEnable" = "1" |
| 44 | |
| 45 | device domain 0 on |
| 46 | device pci 00.0 on end # Host Bridge |
| 47 | device pci 02.0 on end # Integrated Graphics Device |
| 48 | device pci 04.0 on end # SA Thermal device |
| 49 | device pci 05.0 on end # IPU |
| 50 | device pci 09.0 off end # Intel Trace Hub |
| 51 | device pci 12.6 off end # GSPI 2 |
| 52 | device pci 14.0 on # USB xHCI |
| 53 | register "usb2_ports[0]" = "USB2_PORT_MID(OC_SKIP)" # Fingerprint reader |
| 54 | register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)" # microSD |
| 55 | register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # Type-C 1 |
| 56 | register "usb2_ports[3]" = "USB2_PORT_MID(OC_SKIP)" # Type-C 2 |
| 57 | register "usb2_ports[4]" = "USB2_PORT_EMPTY" |
| 58 | register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Internal hub - front and rear cameras |
| 59 | register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Dock pogo pins |
| 60 | register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # WLAN module |
| 61 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-C Port 2 |
| 62 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-C Port 1 |
| 63 | |
| 64 | chip drivers/usb/acpi |
| 65 | register "desc" = ""Root Hub"" |
| 66 | register "type" = "UPC_TYPE_HUB" |
| 67 | device usb 0.0 on |
| 68 | chip drivers/usb/acpi |
| 69 | register "desc" = ""Fingerprint Reader"" |
| 70 | register "type" = "UPC_TYPE_INTERNAL" |
| 71 | device usb 2.0 on end |
| 72 | end |
| 73 | chip drivers/usb/acpi |
| 74 | register "desc" = ""microSD Card Reader"" |
| 75 | register "type" = "UPC_TYPE_INTERNAL" |
| 76 | device usb 2.1 on end |
| 77 | end |
| 78 | chip drivers/usb/acpi |
| 79 | register "desc" = ""Type-C Port 1"" |
| 80 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 81 | register "group" = "ACPI_PLD_GROUP(0, 0)" |
| 82 | device usb 2.2 on end |
| 83 | end |
| 84 | chip drivers/usb/acpi |
| 85 | register "desc" = ""Type-C Port 2"" |
| 86 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 87 | register "group" = "ACPI_PLD_GROUP(0, 1)" |
| 88 | device usb 2.3 on end |
| 89 | end |
| 90 | chip drivers/usb/acpi |
| 91 | register "desc" = ""Cameras"" |
| 92 | register "type" = "UPC_TYPE_INTERNAL" |
| 93 | device usb 2.5 on end |
| 94 | end |
| 95 | chip drivers/usb/acpi |
| 96 | register "desc" = ""Keyboard Dock"" |
| 97 | register "type" = "UPC_TYPE_PROPRIETARY" |
| 98 | device usb 2.6 on end |
| 99 | end |
| 100 | chip drivers/usb/acpi |
| 101 | register "desc" = ""Bluetooth"" |
| 102 | register "type" = "UPC_TYPE_INTERNAL" |
| 103 | device usb 2.7 on end |
| 104 | end |
| 105 | chip drivers/usb/acpi |
| 106 | register "desc" = ""Type-C Port 2"" |
| 107 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 108 | register "group" = "ACPI_PLD_GROUP(0, 1)" |
| 109 | device usb 3.0 on end |
| 110 | end |
| 111 | chip drivers/usb/acpi |
| 112 | register "desc" = ""Type-C Port 1"" |
| 113 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 114 | register "group" = "ACPI_PLD_GROUP(0, 0)" |
| 115 | device usb 3.1 on end |
| 116 | end |
| 117 | end |
| 118 | end |
| 119 | end |
| 120 | device pci 14.1 off end # USB xDCI (OTG) |
| 121 | device pci 14.2 on end # PMC SRAM |
| 122 | device pci 14.3 on # CNVi wifi |
| 123 | chip drivers/wifi/generic |
| 124 | device generic 0 on end |
| 125 | end |
| 126 | end |
| 127 | device pci 14.5 off end # SD card |
| 128 | device pci 15.0 off end # I2C 0 |
| 129 | device pci 15.1 off end # I2C 1 |
| 130 | device pci 15.2 on # I2C 2 |
| 131 | chip drivers/i2c/hid |
| 132 | register "generic.hid" = ""GXTP7380"" |
| 133 | register "generic.cid" = ""PNP0C50"" |
| 134 | register "generic.desc" = ""Touchscreen"" |
| 135 | register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_C12)" |
| 136 | register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D6)" |
| 137 | register "hid_desc_reg_offset" = "1" |
| 138 | device i2c 5d on end |
| 139 | end |
| 140 | end |
| 141 | device pci 15.3 on # I2C 3 |
| 142 | chip drivers/i2c/generic |
| 143 | register "hid" = ""MXC6655"" |
| 144 | register "cid" = ""MXC6655"" |
| 145 | register "desc" = ""Accelerometer"" |
| 146 | register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_E1)" |
| 147 | device i2c 15 on end |
| 148 | end |
| 149 | end |
| 150 | device pci 16.0 off end # HECI 1 |
| 151 | device pci 16.1 off end # HECI 2 |
| 152 | device pci 16.4 off end # HECI 3 |
| 153 | device pci 16.5 off end # HECI 4 |
| 154 | device pci 17.0 off end # SATA |
| 155 | device pci 19.0 on end # I2C 4 |
| 156 | device pci 19.1 off end # I2C 5 |
| 157 | device pci 19.2 off end # UART 2 |
| 158 | device pci 1a.0 off end # eMMC |
| 159 | device pci 1c.0 off end # PCI Express Root Port 1 |
| 160 | device pci 1c.1 off end # PCI Express Root Port 2 |
| 161 | device pci 1c.2 on # PCI Express Root Port 3 - M.2 M-key, PCIe only |
Jonathon Hall | a86704a | 2023-09-14 14:41:20 -0400 | [diff] [blame] | 162 | register "PcieClkSrcUsage[0]" = "2" |
| 163 | register "PcieClkSrcClkReq[0]" = "0" |
| 164 | smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "M.2/M 2280" "SlotDataBusWidth2X" |
| 165 | end |
| 166 | device pci 1c.3 off end # PCI Express Root Port 4 |
| 167 | device pci 1c.4 off end # PCI Express Root Port 5 |
| 168 | device pci 1c.5 off end # PCI Express Root Port 6 |
| 169 | device pci 1c.6 off end # PCI Express Root Port 7 |
| 170 | device pci 1c.7 off end # PCI Express Root Port 8 |
| 171 | device pci 1e.0 off end # UART 0 |
| 172 | device pci 1e.1 off end # UART 1 |
| 173 | device pci 1e.2 off end # GSPI 0 |
| 174 | device pci 1e.3 off end # GSPI 1 |
| 175 | device pci 1f.0 on end # eSPI Interface |
| 176 | device pci 1f.1 off end # P2SB |
| 177 | device pci 1f.2 hidden end # Power Management Controller |
| 178 | device pci 1f.3 on end # Intel HDA/cAVS |
| 179 | device pci 1f.4 off end # SMBus |
| 180 | device pci 1f.5 on end # PCH SPI |
| 181 | device pci 1f.7 off end # Intel Trace Hub |
| 182 | end |
| 183 | end |