arm64: dts: qcom: bullhead: Move UART pinctrl to SoC
authorKonrad Dybcio <konradybcio@gmail.com>
Thu, 25 Jun 2020 18:21:08 +0000 (20:21 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 28 Jul 2020 06:43:04 +0000 (23:43 -0700)
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 <konradybcio@gmail.com>
Link: https://lore.kernel.org/r/20200625182118.131476-5-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts

index 4f70681..5969b5c 100644 (file)
                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>;
        };
 };
 
+&blsp1_uart2 {
+       status = "okay";
+};
+
 &rpm_requests {
        pm8994-regulators {
                compatible = "qcom,rpm-pm8994-regulators";