ipq40xx: use existing labels for UART nodes
authorRobert Marko <robimarko@gmail.com>
Tue, 7 May 2024 11:53:23 +0000 (13:53 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 9 May 2024 08:11:43 +0000 (10:11 +0200)
Some boards are still defininig UART nodes under soc instead of using the
existing upstream labels to reference them so convert them.

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-e2600ac.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wpj419.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-insect-common.dtsi

index 80f187c89c2218fd62a841cc8f71721e9c2fb737..42648c9b0017890047a41b17f97c8dad05377aff 100644 (file)
                        qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
                };
 
-               serial@78af000 {
-                       pinctrl-0 = <&serial_0_pins>;
-                       pinctrl-names = "default";
-                       status = "okay";
-               };
-
-               serial@78b0000 {
-                       pinctrl-0 = <&serial_1_pins>;
-                       pinctrl-names = "default";
-                       status = "okay";
-               };
-
                i2c@78b7000 { /* BLSP1 QUP2 */
                        pinctrl-0 = <&i2c_0_pins>;
                        pinctrl-names = "default";
        };
 };
 
+&blsp1_uart1 {
+       pinctrl-0 = <&serial_0_pins>;
+       pinctrl-names = "default";
+       status = "okay";
+};
+
+&blsp1_uart2 {
+       pinctrl-0 = <&serial_1_pins>;
+       pinctrl-names = "default";
+       status = "okay";
+};
+
 &usb3 {
        status = "okay";
 };
index 23dbf9f991a1e64636d60bce26e9e6e7be83c444..082b209bf8e56796baf21bae300b6b7e633cd848 100644 (file)
                        status = "okay";
                };
 
-               serial@78af000 {
-                       pinctrl-0 = <&serial_0_pins>;
-                       pinctrl-names = "default";
-                       status = "okay";
-               };
-
-               serial@78b0000 {
-                       pinctrl-0 = <&serial_1_pins>;
-                       pinctrl-names = "default";
-                       status = "okay";
-               };
-
                pcie0: pci@40000000 {
                        status = "okay";
                        perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
        status = "okay";
 };
 
+&blsp1_uart1 {
+       pinctrl-0 = <&serial_0_pins>;
+       pinctrl-names = "default";
+       status = "okay";
+};
+
+&blsp1_uart2 {
+       pinctrl-0 = <&serial_1_pins>;
+       pinctrl-names = "default";
+       status = "okay";
+};
+
 &watchdog {
        status = "okay";
 };
index 0aee1716d6b669048266d5f9654d0bfd78de2cf0..bebad6f1e6ec61f1fc62cc02dc86209be878b028 100644 (file)
                        reg = <0x1957000 0x100>;
                        qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
                };
-
-               serial@78b0000 {
-                       pinctrl-0 = <&serial_1_pins>;
-                       pinctrl-names = "default";
-                       status = "okay";
-
-                       bluetooth {
-                               compatible = "ti,cc2650";
-                               enable-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
-                       };
-               };
        };
 
        keys {
        status = "okay";
 };
 
+&blsp1_uart2 {
+       pinctrl-0 = <&serial_1_pins>;
+       pinctrl-names = "default";
+       status = "okay";
+
+       bluetooth {
+               compatible = "ti,cc2650";
+               enable-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
+       };
+};
+
 &cryptobam {
        status = "okay";
 };