Tyler Wang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85293?usp=email )
Change subject: mb/google/rex/var/kanix: Update fw_config settings ......................................................................
mb/google/rex/var/kanix: Update fw_config settings
Update following fw_config settings: +-----------+----------------------- -+----------------------------+ | Bit 0-1 | DB_USB | 0 --> DB_USB_UNKNOWN | | | | 1 --> DB_2USBA | +-----------+-------------------------+----------------------------+ | Bit 2-3 | RETIMER | 0 --> INTEL_HAYDEN_BRIDGE | +-----------+-------------------------+----------------------------+ | Bit 4-6 | AUDIO | 0 --> ALC5682I_ALC1019 | +-----------+-------------------------+----------------------------+ | Bit 7-8 | FAN | 0 --> ABSENT | | | | 1 --> PRESENT | +-----------+-------------------------+----------------------------+ | Bit 9-10 | MIPI_CAM | 0 --> UF_CAM_HI556 | +-----------+-------------------------+----------------------------+ | Bit 11-12 | FP_MCU | 0 --> FP_MCU_ABSENT | | | | 1 --> FP_MCU_NUVOTON | +-----------+-------------------------+----------------------------+ | Bit 13 | WIFI_TYPE | 0 --> WIFI_CNVI | | | | 1 --> WIFI_PCIE | +-----------+-------------------------+----------------------------+ | Bit 14 | KB_TYPE | 0 --> KB_TYPE_DEFAULT | | | | 1 --> KB_TYPE_CA | +-----------+-------------------------+----------------------------+ | Bit 15 | PANEL_PWRSEQ_EC_CONTROL | 0 --> WIFI_CNVI | | | | 1 --> DISABLE | +-----------+-------------------------+----------------------------+ | Bit 16 | KB_BACKLIGHT | 0 --> KB_BACKLIGHT_ABSENT | | | | 1 --> KB_BACKLIGHT_PRESENT | +-----------+-------------------------+----------------------------+
BUG=b:377377766 TEST=emerge-rex coreboot pass
Change-Id: Ic6ab99a05cd6d995dc71b39e002c8ad5b1dafc4a Signed-off-by: Tyler Wang tyler.wang@quanta.corp-partner.google.com --- M src/mainboard/google/rex/variants/kanix/overridetree.cb 1 file changed, 70 insertions(+), 10 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/85293/1
diff --git a/src/mainboard/google/rex/variants/kanix/overridetree.cb b/src/mainboard/google/rex/variants/kanix/overridetree.cb index 012657c..bddabdf 100644 --- a/src/mainboard/google/rex/variants/kanix/overridetree.cb +++ b/src/mainboard/google/rex/variants/kanix/overridetree.cb @@ -1,3 +1,43 @@ +fw_config + field DB_USB 0 1 + option DB_USB_UNKNOWN 0 + option DB_2USBA 1 + end + field RETIMER 2 3 + option INTEL_HAYDEN_BRIDGE 0 + end + field AUDIO 4 6 + option ALC5682I_ALC1019 0 + end + field FAN 7 8 + option ABSENT 0 + option PRESENT 1 + end + field MIPI_CAM 9 10 + option UF_CAM_HI556 0 + end + field FP_MCU 11 12 + option FP_MCU_ABSENT 0 + option FP_MCU_NUVOTON 1 + end + field WIFI_TYPE 13 + option WIFI_CNVI 0 + option WIFI_PCIE 1 + end + field KB_TYPE 14 + option KB_TYPE_DEFAULT 0 + option KB_TYPE_CA 1 + end + field PANEL_PWRSEQ_EC_CONTROL 15 + option DISABLE 0 + option ENABLE 1 + end + field KB_BACKLIGHT 16 + option KB_BACKLIGHT_ABSENT 0 + option KB_BACKLIGHT_PRESENT 1 + end +end + chip soc/intel/meteorlake
register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC_SKIP)" # USB2_C1 @@ -295,14 +335,18 @@ register "type" = "UPC_TYPE_A" register "use_custom_pld" = "true" register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))" - device ref usb2_port8 on end + device ref usb2_port8 on + probe DB_USB DB_2USBA + end end chip drivers/usb/acpi register "desc" = ""USB2 Type-A Port A0 (DB)"" register "type" = "UPC_TYPE_A" register "use_custom_pld" = "true" register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))" - device ref usb2_port9 on end + device ref usb2_port9 on + probe DB_USB DB_2USBA + end end chip drivers/usb/acpi register "desc" = ""USB2 Bluetooth"" @@ -315,14 +359,18 @@ register "type" = "UPC_TYPE_USB3_A" register "use_custom_pld" = "true" register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))" - device ref usb3_port1 on end + device ref usb3_port1 on + probe DB_USB DB_2USBA + end end chip drivers/usb/acpi register "desc" = ""USB3 Type-A Port A1 (DB)"" register "type" = "UPC_TYPE_USB3_A" register "use_custom_pld" = "true" register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))" - device ref usb3_port2 on end + device ref usb3_port2 on + probe DB_USB DB_2USBA + end end end end @@ -337,7 +385,9 @@ register "cio2_lanes_used" = "{2}" # 2 CSI Camera lanes are used register "cio2_lane_endpoint[0]" = ""^I2C5.CAM0"" register "cio2_prt[0]" = "4" - device generic 0 on end + device generic 0 on + probe MIPI_CAM UF_CAM_HI556 + end end end device ref i2c0 on @@ -351,12 +401,16 @@ register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" register "property_list[0].name" = ""realtek,jd-src"" register "property_list[0].integer" = "1" - device i2c 1a on end + device i2c 1a on + probe AUDIO ALC5682I_ALC1019 + end end chip drivers/generic/alc1015 register "hid" = ""RTL1019"" register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D04)" - device generic 0 on end + device generic 0 on + probe AUDIO ALC5682I_ALC1019 + end end end #I2C0 device ref i2c1 on @@ -441,7 +495,9 @@ register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)" register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" - device i2c 20 on end + device i2c 20 on + probe MIPI_CAM UF_CAM_HI556 + end end chip drivers/intel/mipi_camera register "acpi_hid" = "ACPI_DT_NAMESPACE_HID" @@ -471,7 +527,9 @@ register "off_seq.ops_cnt" = "1" register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
- device i2c 50 on end + device i2c 50 on + probe MIPI_CAM UF_CAM_HI556 + end end end #I2C5 device ref pcie_rp5 on @@ -506,7 +564,9 @@ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C23)" register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B11)" register "enable_delay_ms" = "3" - device spi 0 on end + device spi 0 on + probe FP_MCU FP_MCU_NUVOTON + end end # FPMCU end device ref soc_espi on