[PATCH] arm64: dts: qcom: x1-dell-thena: Move PERST and Wake GPIOs to PCIe port nodes

Val Packett posted 1 patch 3 weeks, 2 days ago
arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
[PATCH] arm64: dts: qcom: x1-dell-thena: Move PERST and Wake GPIOs to PCIe port nodes
Posted by Val Packett 3 weeks, 2 days ago
A recent commit, 960609b22be5 ("arm64: dts: qcom: hamoa: Move PHY, PERST,
and Wake GPIOs to PCIe port nodes and add port Nodes for all PCIe ports")
has modified the DTs for most Hamoa-based devices, but skipped the Thena
dtsi (common for Dell Latitude and Inspiron SKUs). Apply the change to it.

Signed-off-by: Val Packett <val@packett.cool>
---
 arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi b/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi
index bf04a12b16bc..fcf2845beb3c 100644
--- a/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi
@@ -1081,9 +1081,6 @@ &mdss_dp3_phy {
 };
 
 &pcie4 {
-	perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
-	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
-
 	pinctrl-0 = <&pcie4_default>;
 	pinctrl-names = "default";
 
@@ -1098,6 +1095,9 @@ &pcie4_phy {
 };
 
 &pcie4_port0 {
+	perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
+	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
+
 	wifi@0 {
 		compatible = "pci17cb,1107";
 		reg = <0x10000 0x0 0x0 0x0 0x0>;
@@ -1115,9 +1115,6 @@ wifi@0 {
 };
 
 &pcie6a {
-	perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
-	wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
-
 	vddpe-3v3-supply = <&vreg_nvme>;
 
 	pinctrl-0 = <&pcie6a_default>;
@@ -1133,6 +1130,11 @@ &pcie6a_phy {
 	status = "okay";
 };
 
+&pcie6a_port0 {
+	perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
+	wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
+};
+
 &pm8550_gpios {
 	rtmr0_default: rtmr0-reset-n-active-state {
 		pins = "gpio10";
-- 
2.51.2
Re: [PATCH] arm64: dts: qcom: x1-dell-thena: Move PERST and Wake GPIOs to PCIe port nodes
Posted by Dmitry Baryshkov 3 weeks, 2 days ago
On Wed, Jan 14, 2026 at 05:33:32PM -0300, Val Packett wrote:
> A recent commit, 960609b22be5 ("arm64: dts: qcom: hamoa: Move PHY, PERST,
> and Wake GPIOs to PCIe port nodes and add port Nodes for all PCIe ports")
> has modified the DTs for most Hamoa-based devices, but skipped the Thena
> dtsi (common for Dell Latitude and Inspiron SKUs). Apply the change to it.
> 
> Signed-off-by: Val Packett <val@packett.cool>
> ---
>  arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)

Fixes: 960609b22be5 ("arm64: dts: qcom: hamoa: Move PHY, PERST, and Wake GPIOs to PCIe port nodes and add port Nodes for all PCIe ports")

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry