Skip to content

Commit 945a7c8

Browse files
QSchulzmmind
authored andcommitted
arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK3399 Puma
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>
1 parent e6b1168 commit 945a7c8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,11 @@
416416
gpio1830-supply = <&vcc_1v8>;
417417
};
418418

419+
&pcie_clkreqn_cpm {
420+
rockchip,pins =
421+
<2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>;
422+
};
423+
419424
&pinctrl {
420425
pinctrl-names = "default";
421426
pinctrl-0 = <&q7_thermal_pin>;

0 commit comments

Comments
 (0)