]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: Enable PCIe controller on Radxa E20C
authorYao Zi <ziyao@disroot.org>
Thu, 18 Sep 2025 15:30:57 +0000 (15:30 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 20 Oct 2025 11:03:18 +0000 (13:03 +0200)
Radxa E20C provides one of its GbE ports through RTL8111H connected to
SoC's PCIe controller. Let's enable the controller and the PHY used by
it to allow usage of the port.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Link: https://patch.msgid.link/20250918153057.56023-4-ziyao@disroot.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts

index 12eec2c1db22a97308b37082a7bbed3a92c5195a..b32452756155867aa6a447f22460fafadb42a4a3 100644 (file)
        };
 };
 
+&combphy {
+       status = "okay";
+};
+
 &cpu0 {
        cpu-supply = <&vdd_arm>;
 };
        };
 };
 
+&pcie {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pciem1_pins>;
+       reset-gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>;
+       vpcie3v3-supply = <&vcc_3v3>;
+       status = "okay";
+};
+
 &pinctrl {
        ethernet {
                gmac1_rstn_l: gmac1-rstn-l {