From 0b1030e494945ab0070f1c23ac044e69ce813999 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sun, 22 Oct 2023 17:31:19 -0500 Subject: mb/google/hatch/var/helios: Use chipset devicetree references Switch helios overridetree to use chipset devicetree references. Change-Id: If7901066a0c77231779eb298dc40962d8ac62814 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/78558 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- .../google/hatch/variants/helios/overridetree.cb | 31 ++++++++++------------ 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/hatch/variants/helios/overridetree.cb b/src/mainboard/google/hatch/variants/helios/overridetree.cb index 5caefc328d..385e268067 100644 --- a/src/mainboard/google/hatch/variants/helios/overridetree.cb +++ b/src/mainboard/google/hatch/variants/helios/overridetree.cb @@ -60,33 +60,32 @@ 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 # No Type-A port - device usb 2.2 off end + device ref usb2_port3 off end end chip drivers/usb/acpi # No Type-A Port - device usb 2.3 off end + device ref usb2_port4 off 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 WWAN - device usb 3.4 off end + device ref usb3_port5 off 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"" @@ -95,8 +94,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" = ""GDIX0000"" register "generic.desc" = ""Goodix Touchscreen"" @@ -132,8 +130,7 @@ chip soc/intel/cannonlake device generic 0 on end end end # I2C 1 - - device pci 19.0 on + device ref i2c4 on chip drivers/i2c/generic register "hid" = ""10EC5682"" register "name" = ""RT58"" @@ -179,7 +176,7 @@ chip soc/intel/cannonlake device i2c 3b on end end end #I2C #4 - device pci 1e.3 on + device ref gspi1 on chip drivers/spi/acpi register "name" = ""CRFP"" register "hid" = "ACPI_DT_NAMESPACE_HID" @@ -189,14 +186,14 @@ chip soc/intel/cannonlake register "wake" = "GPE0_DW0_23" device spi 1 on end end # FPMCU - end # GSPI #1 - device pci 1f.3 on + end + device ref hda on chip drivers/sof register "spkr_tplg" = "rt1011" register "jack_tplg" = "rt5682" register "mic_tplg" = "_2ch_pdm0" device generic 0 on end end - end # Intel HDA + end end end -- cgit v1.2.3