[openwrt/openwrt] ipq40xx: wpj419: use existing label for PCIe node

LEDE Commits lede-commits at lists.infradead.org
Thu May 9 01:11:58 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1f3fe4662e84120aff393decf56875fcaa106543

commit 1f3fe4662e84120aff393decf56875fcaa106543
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Tue May 7 14:19:17 2024 +0200

    ipq40xx: wpj419: use existing label for PCIe node
    
    WPJ419 is still manually defining PCIe node, so lets
    convert it to use the existing upstream labels for PCIe node and while we
    are here use the -gpios suffix instead.
    
    Link: https://github.com/openwrt/openwrt/pull/15415
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wpj419.dts | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wpj419.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wpj419.dts
index 92b3fb399b..d8977fe117 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wpj419.dts
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wpj419.dts
@@ -269,12 +269,6 @@
 			reg = <0x1957000 0x100>;
 			qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
 		};
-
-		pcie0: pci at 40000000 {
-			status = "okay";
-			perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
-			wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
-		};
 	};
 
 	keys {
@@ -352,6 +346,12 @@
 	status = "okay";
 };
 
+&pcie0 {
+	status = "okay";
+	perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
+	wake-gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
+};
+
 &mdio {
 	status = "okay";
 	pinctrl-0 = <&mdio_pins>;




More information about the lede-commits mailing list