Skip to content

Commit

Permalink
src/mainboard/protectli/vault_adl_n/devicetree.cb: Add PMC mux defini…
Browse files Browse the repository at this point in the history
…tions

Signed-off-by: Michał Żygowski <[email protected]>
  • Loading branch information
miczyg1 committed Dec 5, 2024
1 parent abd99f5 commit 3bb58ef
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions src/mainboard/protectli/vault_adl_n/devicetree.cb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ chip soc/intel/alderlake
device ref tcss_root_hub on
chip drivers/usb/acpi
register "desc" = ""USB3 Type-A Port 1 (USB1)""
register "type" = "UPC_TYPE_USB3_A"
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_A(FRONT, RIGHT, ACPI_PLD_GROUP(2, 1))"
register "custom_pld.vertical_position" = "PLD_VERTICAL_POSITION_UPPER"
Expand Down Expand Up @@ -120,14 +120,14 @@ chip soc/intel/alderlake

chip drivers/usb/acpi
register "desc" = ""USB2 Type-C Port""
register "type" = "UPC_TYPE_C_USB2_SS"
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(FRONT, RIGHT, ACPI_PLD_GROUP(2, 1))"
device ref usb2_port5 on end
end
chip drivers/usb/acpi
register "desc" = ""USB2 Type-C Port""
register "type" = "UPC_TYPE_C_USB2_SS"
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(FRONT, RIGHT, ACPI_PLD_GROUP(3, 1))"
device ref usb2_port6 on end
Expand Down Expand Up @@ -224,6 +224,21 @@ chip soc/intel/alderlake
register "pmc_gpe0_dw0" = "PMC_GPP_A"
register "pmc_gpe0_dw1" = "PMC_GPP_R"
register "pmc_gpe0_dw2" = "PMC_GPD"

chip drivers/intel/pmc_mux
device generic 0 on
chip drivers/intel/pmc_mux/conn
use usb2_port5 as usb2_port
use tcss_usb3_port1 as usb3_port
device generic 0 alias conn0 on end
end
chip drivers/intel/pmc_mux/conn
use usb2_port6 as usb2_port
use tcss_usb3_port2 as usb3_port
device generic 1 alias conn1 on end
end
end
end
end
device ref hda on
register "pch_hda_audio_link_hda_enable" = "1"
Expand Down

0 comments on commit 3bb58ef

Please sign in to comment.