diff options
| author | Nicolas Frattaroli <nicolas.frattaroli@collabora.com> | 2025-06-21 16:37:55 +0200 |
|---|---|---|
| committer | Heiko Stuebner <heiko@sntech.de> | 2025-06-30 11:35:51 +0200 |
| commit | 29ff4bbff793334d6aff2238fdc3ccf3859d60da (patch) | |
| tree | f7f3d02a15e8be8f9491b599a6e0cef961657ef4 | |
| parent | f9f45293f0d8bdc5e2d0d255cafa0acdb2c94616 (diff) | |
| download | linux-29ff4bbff793334d6aff2238fdc3ccf3859d60da.tar.gz linux-29ff4bbff793334d6aff2238fdc3ccf3859d60da.zip | |
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>
| -rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts b/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts index 6756403111e7..0388d72076bf 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts +++ b/arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts @@ -194,6 +194,10 @@ }; }; +&combphy0_ps { + status = "okay"; +}; + &combphy1_psu { status = "okay"; }; @@ -652,6 +656,14 @@ }; }; +&pcie0 { + pinctrl-names = "default"; + pinctrl-0 = <&pcie_reset>; + reset-gpios = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>; + vpcie3v3-supply = <&vcc_3v3_pcie>; + status = "okay"; +}; + &pinctrl { hym8563 { hym8563_int: hym8563-int { @@ -678,6 +690,9 @@ pcie_pwren: pcie-pwren { rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; }; + pcie_reset: pcie-reset { + rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; + }; }; usb { |
