ipq40xx: wpj419: use existing label for PCIe node
authorRobert Marko <robimarko@gmail.com>
Tue, 7 May 2024 12:19:17 +0000 (14:19 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 9 May 2024 08:11:44 +0000 (10:11 +0200)
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@gmail.com>
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wpj419.dts

index 92b3fb399b4328c3d3d4c62190d48f2e5ed8efd3..d8977fe11749381da6916da7093be798a88640b7 100644 (file)
                        reg = <0x1957000 0x100>;
                        qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
                };
-
-               pcie0: pci@40000000 {
-                       status = "okay";
-                       perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
-                       wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
-               };
        };
 
        keys {
        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>;