-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ROCK5ITX: DTS: Remove "pcie30_refclk" gated-fixed-clock
This is to maintain compatibility with kernels older than v6.13-rc1. The clock is backed by a GPIO regulator anyway, so simply referencing it in vpcie3v3-supply also addresses the potential issue where pcie3x2 might probe earlier than pcie3x4 and hang on DBI access because the clock didn't have a chance to be enabled. Signed-off-by: Mario Bălănică <[email protected]>
- Loading branch information
1 parent
76d4032
commit b789894
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
|
||
#include "rk3588-rock-5-itx.dts" | ||
|
||
/ { | ||
/delete-node/ pcie-oscillator; | ||
}; | ||
|
||
/* | ||
* Remove the "pcie30_refclk" gated-fixed-clock to maintain compatibility | ||
* with kernels older than v6.13-rc1. It is backed by a GPIO regulator | ||
* anyway, so simply referencing it in vpcie3v3-supply also addresses | ||
* the potential issue where pcie3x2 might probe earlier than pcie3x4 and | ||
* hang on DBI access because the clock didn't have a chance to be enabled. | ||
*/ | ||
&pcie3x2 { | ||
clocks = <&cru ACLK_PCIE_2L_MSTR>, <&cru ACLK_PCIE_2L_SLV>, | ||
<&cru ACLK_PCIE_2L_DBI>, <&cru PCLK_PCIE_2L>, | ||
<&cru CLK_PCIE_AUX1>, <&cru CLK_PCIE2L_PIPE>; | ||
clock-names = "aclk_mst", "aclk_slv", | ||
"aclk_dbi", "pclk", | ||
"aux", "pipe"; | ||
vpcie3v3-supply = <&vcc3v3_pi6c_05>; | ||
}; | ||
|
||
&pcie3x4 { | ||
clocks = <&cru ACLK_PCIE_4L_MSTR>, <&cru ACLK_PCIE_4L_SLV>, | ||
<&cru ACLK_PCIE_4L_DBI>, <&cru PCLK_PCIE_4L>, | ||
<&cru CLK_PCIE_AUX0>, <&cru CLK_PCIE4L_PIPE>; | ||
clock-names = "aclk_mst", "aclk_slv", | ||
"aclk_dbi", "pclk", | ||
"aux", "pipe"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters