Skip to content

Commit

Permalink
arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK339…
Browse files Browse the repository at this point in the history
…9 Puma

[ Upstream commit 945a7c8 ]

The PCIE_WAKE# has a diode used as a level-shifter, and is used as an
input pin. While the SoC default is to enable the pull-up, the core
rk3399 pinconf for this pin opted for pull-none. So as to not disturb
the behaviour of other boards which may rely on pull-none instead of
pull-up, set the needed pull-up only for RK3399 Puma.

Fixes: 60fd9f7 ("arm64: dts: rockchip: add Haikou baseboard with RK3399-Q7 SoM")
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240308-puma-diode-pu-v2-2-309f83da110a@theobroma-systems.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
QSchulz authored and gregkh committed May 2, 2024
1 parent 6eb4c12 commit 11c51d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,11 @@
gpio1830-supply = <&vcc_1v8>;
};

&pcie_clkreqn_cpm {
rockchip,pins =
<2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>;
};

&pinctrl {
i2c8 {
i2c8_xfer_a: i2c8-xfer {
Expand Down

0 comments on commit 11c51d2

Please sign in to comment.