Skip to content

Commit

Permalink
Silicon/RK3588: Route PCIe 2 l0 & l1 to the correct Combo PHYs
Browse files Browse the repository at this point in the history
  • Loading branch information
mariobalanica committed Jul 16, 2023
1 parent f85454f commit c206fdf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ InitComPhyConfig (
MmioWrite32 (PhyBaseAddr + (0xd << 2), 0x57);

if (PhyBaseAddr == COMBO_PIPE_PHY0) {
MmioWrite32 (PHP_GRF_BASE + PHP_GRF_PCIESEL_CON, BIT0 << 16);
MmioWrite32 (PHP_GRF_BASE + PHP_GRF_PCIESEL_CON, BIT1 << 16);
}

if (PhyBaseAddr == COMBO_PIPE_PHY1) {
MmioWrite32 (PHP_GRF_BASE + PHP_GRF_PCIESEL_CON, BIT1 << 16);
MmioWrite32 (PHP_GRF_BASE + PHP_GRF_PCIESEL_CON, BIT0 << 16);
}
break;

Expand Down

0 comments on commit c206fdf

Please sign in to comment.