[PATCH 05/15] arm64: dts: rockchip: add PCIe network controller to opi5max
Jimmy Hon
honyuenkwun at gmail.com
Sat Oct 26 02:48:21 PDT 2024
Enable the RTL8125 network controller, which is connected via
PCIe 2.0x1.
Signed-off-by: Jimmy Hon <honyuenkwun at gmail.com>
---
.../dts/rockchip/rk3588-orangepi-5-max.dts | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts
index 961f9271d0f0..591ba2af25d7 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts
@@ -53,6 +53,18 @@ vcc_1v1_nldo_s3: vcc-1v1-ndlo-s3-regulator {
vin-supply = <&vcc5v0_sys>;
};
+ /* pcie eth. not a real regulator. 33VAUX */
+ vcc_3v3_aux: vcc-3v3-aux-regulator {
+ compatible = "regulator-fixed";
+ /* Ethernet_power_en */
+ gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_LOW>;
+ regulator-name = "33vaux";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ startup-delay-us = <50000>;
+ vin-supply = <&vcc_3v3_s3>;
+ };
+
/* Regulator is enabled whenever vcc_1v8_s0 is on */
vcc_3v3_s0: vcc-3v3-s0-regulator {
compatible = "regulator-fixed";
@@ -78,6 +90,10 @@ vcc5v0_sys: vcc5v0-sys-regulator {
};
};
+&combphy2_psu {
+ status = "okay";
+};
+
&cpu_b0 {
cpu-supply = <&vdd_cpu_big0_s0>;
};
@@ -168,6 +184,13 @@ hym8563: rtc at 51 {
};
};
+/* phy2 */
+&pcie2x1l1 {
+ reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>;
+ vpcie3v3-supply = <&vcc_3v3_aux>;
+ status = "okay";
+};
+
&pinctrl {
hym8563 {
hym8563_int: hym8563-int {
--
2.47.0
More information about the Linux-rockchip
mailing list