summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2020-07-20 10:54:01 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-09-15 04:49:20 +0000
commite2f6482aff1a362f2246091f8227e8b7d9485005 (patch)
tree8206416f1f6d1774a63f5cd3c70d2fb3bb301bd5 /arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi
parent2329e5fb54d76fc28a952678e426eb7d3888631c (diff)
arm64: dts: qcom: msm8916: Use labels in board device trees
Device trees for newer SoCs avoid replicating the entire device hierarchy in the board-specific device tree part. Instead, they set additional properties only by referencing labels, sorted alphabetically. Now that we have labels for all relevant nodes, convert the MSM8916 board device trees to use the same style and remove the "soc" node entirely. Note: There is a large block of coresight nodes in apq8016-sbc.dtsi, which are enabled by setting status = "okay". I kept them grouped together (not alphabetically sorted with everything else), since that would be just unnecessarily verbose and hard to see. This commit only moves all existing properties to nodes that reference the respective label. The resulting binary DTBs are exactly the same. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Link: https://lore.kernel.org/r/20200720085406.6716-6-stephan@gerhold.net Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi14
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi b/arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi
index 0c6e81fb8c01..453e6acb5203 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi
@@ -15,13 +15,11 @@
chosen {
stdout-path = "serial0";
};
+};
- soc {
- serial@78b0000 {
- status = "okay";
- pinctrl-names = "default", "sleep";
- pinctrl-0 = <&blsp1_uart2_default>;
- pinctrl-1 = <&blsp1_uart2_sleep>;
- };
- };
+&blsp1_uart2 {
+ status = "okay";
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&blsp1_uart2_default>;
+ pinctrl-1 = <&blsp1_uart2_sleep>;
};