Skip to content

Commit 29ff4bb

Browse files
Nicolas Frattarolimmind
authored andcommitted
arm64: dts: rockchip: enable PCIe on ROCK 4D
The RADXA ROCK 4D board has a PCIe controller connected to a flat flex connector, compatible with the one the RPi5 uses. Enable the associated combphy and pcie controller node, as well as add the remaining pinctrl definition for the reset. Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com> Link: https://lore.kernel.org/r/20250621-rk3576-rock4d-pcie-v1-1-2b33c9f12955@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent f9f4529 commit 29ff4bb

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@
194194
};
195195
};
196196

197+
&combphy0_ps {
198+
status = "okay";
199+
};
200+
197201
&combphy1_psu {
198202
status = "okay";
199203
};
@@ -652,6 +656,14 @@
652656
};
653657
};
654658

659+
&pcie0 {
660+
pinctrl-names = "default";
661+
pinctrl-0 = <&pcie_reset>;
662+
reset-gpios = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
663+
vpcie3v3-supply = <&vcc_3v3_pcie>;
664+
status = "okay";
665+
};
666+
655667
&pinctrl {
656668
hym8563 {
657669
hym8563_int: hym8563-int {
@@ -678,6 +690,9 @@
678690
pcie_pwren: pcie-pwren {
679691
rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
680692
};
693+
pcie_reset: pcie-reset {
694+
rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
695+
};
681696
};
682697

683698
usb {

0 commit comments

Comments
 (0)