[PATCH 1/3] arm64: dts: rockchip: Add modem to the Pinephone Pro
From: Rudraksha Gupta via B4 Relay <devnull+guptarud.gmail.com@kernel.org>
Date: 2026-01-13 06:42:25
Also in:
b4-sent, linux-devicetree, linux-rockchip, lkml
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Rudraksha Gupta <redacted> This adds the Quectel EG25-G modem to the Pinephone Pro. Co-developed-by: Martijn Braam <redacted> Signed-off-by: Martijn Braam <redacted> Co-developed-by: Kamil Trzciński <redacted> Signed-off-by: Kamil Trzciński <redacted> Co-developed-by: Ondrej Jirman <megi@xff.cz> Signed-off-by: Ondrej Jirman <megi@xff.cz> Co-developed-by: Danct12 <redacted> Signed-off-by: Danct12 <redacted> Signed-off-by: Rudraksha Gupta <redacted> --- .../boot/dts/rockchip/rk3399-pinephone-pro.dts | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
index 6b35f59cd58e..97d0bf455258 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts@@ -97,6 +97,46 @@ multi-led { leds = <&led_red>, <&led_green>, <&led_blue>; }; + vcc_4g_5v: regulator-vcc-4g-5v { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc_4g_5v_en>; + regulator-name = "vcc_4g_5v"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc5v0_sys>; + regulator-always-on; + }; + + vcc_4g: regulator-vcc-4g { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio4 RK_PC7 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc_4g_en>; + regulator-name = "vcc_4g"; + regulator-min-microvolt = <3800000>; + regulator-max-microvolt = <3800000>; + vin-supply = <&vcc_sys>; + regulator-always-on; + }; + + vcc5v0_sys: regulator-vcc5v0-host { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&boost_otg>; + + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + vcc_sys: regulator-vcc-sys { compatible = "regulator-fixed"; regulator-name = "vcc_sys";
@@ -274,6 +314,17 @@ rk818: pmic@1c { vcc9-supply = <&vcc3v3_sys>; regulators { + boost_otg: DCDC_BOOST { + regulator-name = "boost_otg"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + vdd_cpu_l: DCDC_REG1 { regulator-name = "vdd_cpu_l"; regulator-always-on;
@@ -702,6 +753,16 @@ blue_led_pin: blue-led-pin { }; }; + modem { + vcc_4g_5v_en: vcc-4g-5v-en-pin { + rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + vcc_4g_en: vcc-4g-en-pin { + rockchip,pins = <4 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + pmic { pmic_int_l: pmic-int-l { rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
@@ -827,6 +888,16 @@ &tsadc { status = "okay"; }; + +&u2phy1 { + status = "okay"; +}; + +&u2phy1_host { + status = "okay"; + phy-supply = <&vcc5v0_sys>; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
@@ -852,6 +923,18 @@ &uart2 { status = "okay"; }; +&uart3 { + status = "okay"; +}; + +&usb_host1_ehci { + status = "okay"; +}; + +&usb_host1_ohci { + status = "okay"; +}; + &vopb { status = "okay"; assigned-clocks = <&cru DCLK_VOP0_DIV>, <&cru DCLK_VOP0>,
--
2.52.0