This pinout is common for every 8992-based device and
should therefore reside in the SoC device tree.

Also convert addresses into phandles.

Signed-off-by: Konrad Dybcio <konradyb...@gmail.com>
---
 .../boot/dts/qcom/msm8992-bullhead-rev-101.dts      | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts 
b/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
index 4f70681e730d..5969b5cfdc85 100644
--- a/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
+++ b/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
@@ -23,15 +23,6 @@ chosen {
                stdout-path = "serial0:115200n8";
        };
 
-       soc {
-               serial@f991e000 {
-                       status = "okay";
-                       pinctrl-names = "default", "sleep";
-                       pinctrl-0 = <&blsp1_uart2_default>;
-                       pinctrl-1 = <&blsp1_uart2_sleep>;
-               };
-       };
-
        reserved-memory {
                #address-cells = <2>;
                #size-cells = <2>;
@@ -48,6 +39,10 @@ ramoops@1ff00000 {
        };
 };
 
+&blsp1_uart2 {
+       status = "okay";
+};
+
 &rpm_requests {
        pm8994-regulators {
                compatible = "qcom,rpm-pm8994-regulators";
-- 
2.27.0

Reply via email to