Eric Lai | 1897a3a | 2021-09-15 12:16:06 +0800 | [diff] [blame] | 1 | fw_config |
| 2 | field DB_USB 0 2 |
| 3 | option USB_ABSENT 0 |
| 4 | option USB3_PS8815 1 |
| 5 | option USB4_KB8001 2 |
| 6 | end |
| 7 | end |
| 8 | |
Ian Feng | 583a546 | 2021-08-03 14:50:40 +0800 | [diff] [blame] | 9 | chip soc/intel/alderlake |
Eric Lai | d94c935 | 2021-08-26 17:02:58 +0800 | [diff] [blame] | 10 | register "SaGv" = "SaGv_Disabled" |
Ian Feng | 583a546 | 2021-08-03 14:50:40 +0800 | [diff] [blame] | 11 | |
Eric Lai | d94c935 | 2021-08-26 17:02:58 +0800 | [diff] [blame] | 12 | # FIVR configurations for brya are disabled since the board doesn't have V1p05 and Vnn |
| 13 | # bypass rails implemented. |
| 14 | register "ext_fivr_settings" = "{ |
| 15 | .configure_ext_fivr = 1, |
| 16 | }" |
Ian Feng | 583a546 | 2021-08-03 14:50:40 +0800 | [diff] [blame] | 17 | |
Eric Lai | d94c935 | 2021-08-26 17:02:58 +0800 | [diff] [blame] | 18 | register "usb2_ports[3]" = "USB2_PORT_EMPTY" |
| 19 | register "usb3_ports[3]" = "USB3_PORT_EMPTY" |
| 20 | |
| 21 | register "tcss_ports[0]" = "TCSS_PORT_EMPTY" |
| 22 | |
| 23 | register "SerialIoI2cMode" = "{ |
| 24 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 25 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 26 | [PchSerialIoIndexI2C2] = PchSerialIoDisabled, |
| 27 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 28 | [PchSerialIoIndexI2C4] = PchSerialIoDisabled, |
| 29 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
| 30 | }" |
| 31 | |
| 32 | register "SerialIoGSpiMode" = "{ |
| 33 | [PchSerialIoIndexGSPI0] = PchSerialIoDisabled, |
| 34 | [PchSerialIoIndexGSPI1] = PchSerialIoDisabled, |
| 35 | }" |
| 36 | |
| 37 | device domain 0 on |
| 38 | device ref dtt on end |
| 39 | device ref tbt_pcie_rp0 off end |
| 40 | device ref cnvi_wifi on |
| 41 | chip drivers/wifi/generic |
| 42 | register "wake" = "GPE0_PME_B0" |
| 43 | device generic 0 on end |
| 44 | end |
| 45 | end |
| 46 | device ref tcss_dma0 on |
| 47 | chip drivers/intel/usb4/retimer |
| 48 | register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)" |
| 49 | use tcss_usb3_port2 as dfp[0].typec_port |
| 50 | device generic 0 on end |
| 51 | end |
| 52 | end |
| 53 | device ref tcss_dma1 on |
| 54 | chip drivers/intel/usb4/retimer |
| 55 | register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)" |
| 56 | use tcss_usb3_port3 as dfp[0].typec_port |
Eric Lai | 1897a3a | 2021-09-15 12:16:06 +0800 | [diff] [blame] | 57 | device generic 0 on |
| 58 | probe DB_USB USB4_KB8001 |
| 59 | end |
Eric Lai | d94c935 | 2021-08-26 17:02:58 +0800 | [diff] [blame] | 60 | end |
| 61 | end |
| 62 | device ref pcie_rp8 on |
| 63 | chip soc/intel/common/block/pcie/rtd3 |
| 64 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)" |
| 65 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)" |
| 66 | register "srcclk_pin" = "3" |
| 67 | device generic 0 on end |
| 68 | end |
| 69 | end #PCIE8 SD card |
| 70 | device ref i2c0 on |
| 71 | chip drivers/i2c/generic |
| 72 | register "hid" = ""10EC5682"" |
| 73 | register "name" = ""RT58"" |
| 74 | register "desc" = ""Headset Codec"" |
| 75 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 76 | # Set the jd_src to RT5668_JD1 for jack detection |
| 77 | register "property_count" = "1" |
| 78 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 79 | register "property_list[0].name" = ""realtek,jd-src"" |
| 80 | register "property_list[0].integer" = "1" |
| 81 | device i2c 1a on end |
| 82 | end |
| 83 | end #I2C0 |
| 84 | device ref i2c1 on |
| 85 | chip drivers/i2c/hid |
| 86 | register "generic.hid" = ""ELAN9050"" |
| 87 | register "generic.desc" = ""ELAN Touchscreen"" |
| 88 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" |
| 89 | register "generic.probed" = "1" |
| 90 | register "generic.reset_gpio" = |
| 91 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" |
| 92 | register "generic.reset_delay_ms" = "300" |
| 93 | register "generic.reset_off_delay_ms" = "1" |
| 94 | register "generic.enable_gpio" = |
| 95 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" |
| 96 | register "generic.enable_delay_ms" = "6" |
| 97 | register "generic.stop_gpio" = |
| 98 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)" |
| 99 | register "generic.stop_off_delay_ms" = "1" |
| 100 | register "generic.has_power_resource" = "1" |
| 101 | register "hid_desc_reg_offset" = "0x01" |
| 102 | device i2c 10 on end |
| 103 | end |
| 104 | end |
| 105 | device ref i2c3 on end |
| 106 | device ref i2c5 on |
| 107 | chip drivers/i2c/generic |
| 108 | register "hid" = ""ELAN0000"" |
| 109 | register "desc" = ""ELAN Touchpad"" |
| 110 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 111 | register "wake" = "GPE0_DW2_14" |
| 112 | register "probed" = "1" |
| 113 | device i2c 15 on end |
| 114 | end |
| 115 | end |
| 116 | device ref hda on |
| 117 | chip drivers/generic/max98357a |
| 118 | register "hid" = ""MX98360A"" |
| 119 | register "sdmode_gpio" = |
| 120 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)" |
| 121 | register "sdmode_delay" = "5" |
| 122 | device generic 0 on end |
| 123 | end |
| 124 | end |
| 125 | device ref pch_espi on |
Eric Lai | d94c935 | 2021-08-26 17:02:58 +0800 | [diff] [blame] | 126 | chip ec/google/chromeec |
| 127 | use conn1 as mux_conn[1] |
Eric Lai | d74f6f5 | 2021-11-04 12:03:50 +0800 | [diff] [blame^] | 128 | use conn2 as mux_conn[0] |
Eric Lai | d94c935 | 2021-08-26 17:02:58 +0800 | [diff] [blame] | 129 | device pnp 0c09.0 on end |
| 130 | end |
| 131 | end |
| 132 | device ref pmc hidden |
| 133 | chip drivers/intel/pmc_mux |
| 134 | device generic 0 on |
| 135 | chip drivers/intel/pmc_mux/conn |
| 136 | register "usb2_port_number" = "2" |
| 137 | register "usb3_port_number" = "2" |
| 138 | device generic 1 alias conn1 on end |
| 139 | end |
| 140 | chip drivers/intel/pmc_mux/conn |
| 141 | register "usb2_port_number" = "3" |
| 142 | register "usb3_port_number" = "3" |
| 143 | device generic 2 alias conn2 on end |
| 144 | end |
| 145 | end |
| 146 | end |
| 147 | end |
| 148 | device ref tcss_xhci on |
| 149 | chip drivers/usb/acpi |
| 150 | device ref tcss_root_hub on |
| 151 | chip drivers/usb/acpi |
| 152 | register "desc" = ""USB3 Type-C Port C1 (DB)"" |
| 153 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 154 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
| 155 | device ref tcss_usb3_port2 on end |
| 156 | end |
| 157 | chip drivers/usb/acpi |
| 158 | register "desc" = ""USB3 Type-C Port C2 (MLB)"" |
| 159 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 160 | register "group" = "ACPI_PLD_GROUP(3, 1)" |
| 161 | device ref tcss_usb3_port3 on end |
| 162 | end |
| 163 | end |
| 164 | end |
| 165 | end |
| 166 | device ref xhci on |
| 167 | chip drivers/usb/acpi |
| 168 | device ref xhci_root_hub on |
| 169 | chip drivers/usb/acpi |
| 170 | register "desc" = ""USB2 Type-C Port C1 (DB)"" |
| 171 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 172 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
| 173 | device ref usb2_port2 on end |
| 174 | end |
| 175 | chip drivers/usb/acpi |
| 176 | register "desc" = ""USB2 Type-C Port C2 (MLB)"" |
| 177 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 178 | register "group" = "ACPI_PLD_GROUP(3, 1)" |
| 179 | device ref usb2_port3 on end |
| 180 | end |
| 181 | chip drivers/usb/acpi |
| 182 | register "desc" = ""USB2 Camera"" |
| 183 | register "type" = "UPC_TYPE_INTERNAL" |
| 184 | device ref usb2_port6 on end |
| 185 | end |
| 186 | chip drivers/usb/acpi |
| 187 | register "desc" = ""USB2 Type-A Port A0 (DB)"" |
| 188 | register "type" = "UPC_TYPE_A" |
| 189 | register "group" = "ACPI_PLD_GROUP(1, 2)" |
| 190 | device ref usb2_port9 on end |
| 191 | end |
| 192 | chip drivers/usb/acpi |
| 193 | register "desc" = ""USB2 Bluetooth"" |
| 194 | register "type" = "UPC_TYPE_INTERNAL" |
| 195 | register "reset_gpio" = |
| 196 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" |
| 197 | device ref usb2_port10 on end |
| 198 | end |
| 199 | chip drivers/usb/acpi |
| 200 | register "desc" = ""USB3 Type-A Port A0 (DB)"" |
| 201 | register "type" = "UPC_TYPE_USB3_A" |
| 202 | register "group" = "ACPI_PLD_GROUP(1, 2)" |
| 203 | device ref usb3_port1 on end |
| 204 | end |
| 205 | end |
| 206 | end |
| 207 | end |
| 208 | end |
Ian Feng | 583a546 | 2021-08-03 14:50:40 +0800 | [diff] [blame] | 209 | end |