diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2023-10-22 18:59:40 -0500 |
---|---|---|
committer | Matt DeVillier <matt.devillier@gmail.com> | 2023-10-30 13:48:38 +0000 |
commit | 1fd4d76043ca66be134dad16a8ba67ae75645ee6 (patch) | |
tree | 25efb085b1f3825e9f803b7ffebfd6c9bd251cba /src | |
parent | b0b659adf18b0779c864f18ea265d11e7a604151 (diff) |
mb/google/hatch/var/palkia: Use chipset devicetree references
Switch palkia overridetree to use chipset devicetree references.
Change-Id: Ic5fd2d139d22824d3ada09325022c37e69b5e2a9
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78572
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/hatch/variants/palkia/overridetree.cb | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/src/mainboard/google/hatch/variants/palkia/overridetree.cb b/src/mainboard/google/hatch/variants/palkia/overridetree.cb index 36656ce12f..bac387d5ee 100644 --- a/src/mainboard/google/hatch/variants/palkia/overridetree.cb +++ b/src/mainboard/google/hatch/variants/palkia/overridetree.cb @@ -59,47 +59,46 @@ chip soc/intel/cannonlake }" device domain 0 on - device pci 02.0 on # Integrated Graphics Device + device ref igpu on register "gfx" = "GMA_DEFAULT_PANEL(0)" end - device pci 14.0 on + device ref xhci on chip drivers/usb/acpi - device usb 0.0 on + device ref xhci_root_hub on chip drivers/usb/acpi register "desc" = ""Micro SD Card"" register "type" = "UPC_TYPE_INTERNAL" - device usb 2.2 on end + device ref usb2_port3 on end end chip drivers/usb/acpi register "desc" = ""Left Type-A Port"" register "type" = "UPC_TYPE_A" register "group" = "ACPI_PLD_GROUP(1, 2)" - device usb 2.3 on end + device ref usb2_port4 on end end chip drivers/usb/acpi # No WWAN - device usb 2.5 off end + device ref usb2_port6 off end end chip drivers/usb/acpi # No Right Tpype-C port - device usb 3.1 off end + device ref usb3_port2 off end end chip drivers/usb/acpi register "desc" = ""Micro SD card"" register "type" = "UPC_TYPE_INTERNAL" - device usb 3.2 on end + device ref usb3_port3 on end end chip drivers/usb/acpi register "desc" = ""Left Type-A Port 1"" register "type" = "UPC_TYPE_A" register "group" = "ACPI_PLD_GROUP(1, 2)" - device usb 3.3 on end + device ref usb3_port4 on end end end end end - - device pci 15.0 on + device ref i2c0 on chip drivers/i2c/generic register "hid" = ""ELAN0000"" register "desc" = ""ELAN Touchpad"" @@ -108,8 +107,7 @@ chip soc/intel/cannonlake device i2c 15 on end end end - - device pci 15.1 on + device ref i2c1 on chip drivers/i2c/hid register "generic.hid" = ""ELAN9008"" register "generic.desc" = ""ELAN Touchscreen USI"" @@ -128,9 +126,8 @@ chip soc/intel/cannonlake register "hid_desc_reg_offset" = "0x01" device i2c 10 on end end - end # I2C 1 - - device pci 15.2 on + end + device ref i2c2 on chip drivers/i2c/hid register "generic.hid" = ""ELAN9009"" register "generic.desc" = ""ELAN Touchscreen USI"" @@ -149,8 +146,8 @@ chip soc/intel/cannonlake register "hid_desc_reg_offset" = "0x01" device i2c 10 on end end - end #I2C 2 - device pci 19.0 on + end + device ref i2c4 on chip drivers/i2c/generic register "hid" = ""10EC5682"" register "name" = ""RT58"" @@ -177,15 +174,14 @@ chip soc/intel/cannonlake register "name" = ""TR"" device i2c 39 on end end - end #I2C #4 - - device pci 1f.3 on + end + device ref hda on chip drivers/generic/max98357a register "hid" = ""MX98357A"" register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H3)" register "sdmode_delay" = "5" device generic 0 on end end - end # Intel I2S + end end end |