Matt DeVillier | 0d58e64 | 2020-03-31 13:12:22 -0500 | [diff] [blame^] | 1 | chip soc/intel/skylake |
| 2 | |
| 3 | register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC0)" # Type-C Port 1 |
| 4 | register "usb2_ports[1]" = "USB2_PORT_MID(OC2)" # Card Reader |
| 5 | register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth |
| 6 | register "usb2_ports[4]" = "USB2_PORT_MID(OC2)" # Type-A Port (board) |
| 7 | register "usb2_ports[6]" = "USB2_PORT_FLEX(OC_SKIP)" # Camera |
| 8 | register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # PIC MCU |
| 9 | register "usb2_ports[8]" = "USB2_PORT_LONG(OC3)" # Type-A Port (board) |
| 10 | |
| 11 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 1 |
| 12 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Card Reader |
| 13 | register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC2)" # Type-A Port (board) |
| 14 | register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC3)" # Type-A Port (board) |
| 15 | |
| 16 | device domain 0 on |
| 17 | device pci 15.0 on |
| 18 | chip drivers/i2c/generic |
| 19 | register "hid" = ""ELAN0001"" |
| 20 | register "desc" = ""ELAN Touchscreen"" |
| 21 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E7_IRQ)" |
| 22 | device i2c 10 on end |
| 23 | end |
| 24 | end # I2C #0 |
| 25 | device pci 15.1 on |
| 26 | chip drivers/i2c/generic |
| 27 | register "hid" = ""ELAN0000"" |
| 28 | register "desc" = ""ELAN Touchpad"" |
| 29 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)" |
| 30 | register "wake" = "GPE0_DW0_05" |
| 31 | device i2c 15 on end |
| 32 | end |
| 33 | end # I2C #1 |
| 34 | device pci 19.2 on |
| 35 | chip drivers/i2c/nau8825 |
| 36 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_F10_IRQ)" |
| 37 | register "jkdet_enable" = "1" |
| 38 | register "jkdet_pull_enable" = "0" # R389 |
| 39 | register "jkdet_polarity" = "1" # ActiveLow |
| 40 | register "vref_impedance" = "2" # 125kOhm |
| 41 | register "micbias_voltage" = "6" # 2.754 |
| 42 | register "sar_threshold_num" = "4" |
| 43 | register "sar_threshold[0]" = "0x08" |
| 44 | register "sar_threshold[1]" = "0x12" |
| 45 | register "sar_threshold[2]" = "0x26" |
| 46 | register "sar_threshold[3]" = "0x73" |
| 47 | register "sar_hysteresis" = "0" |
| 48 | register "sar_voltage" = "6" |
| 49 | register "sar_compare_time" = "1" # 1us |
| 50 | register "sar_sampling_time" = "1" # 4us |
| 51 | register "short_key_debounce" = "3" # 30ms |
| 52 | register "jack_insert_debounce" = "7" # 512ms |
| 53 | register "jack_eject_debounce" = "0" |
| 54 | device i2c 1a on end |
| 55 | end |
| 56 | end # I2C #4 |
| 57 | device pci 1f.3 on |
| 58 | chip drivers/generic/max98357a |
| 59 | register "hid" = ""MX98357A"" |
| 60 | register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E3)" |
| 61 | register "sdmode_delay" = "5" |
| 62 | device generic 0 on end |
| 63 | end |
| 64 | end # Intel HDA |
| 65 | end |
| 66 | end |