linux-stable/arch/arm64/boot/dts/qcom/msm8996-mtp.dts
Krzysztof Kozlowski 2a80a66f68 arm64: dts: qcom: msm8996: override nodes by label
Using node paths to extend or override a device tree node is error
prone.  If there was a typo error, a new node will be created instead of
extending the existing node.  This will lead to run-time errors that
could be hard to detect.

A mistyped label on the other hand, will cause a dtc compile error
(during build time).  This also reduces the indentation making the code
easier to read.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220402192859.154977-2-krzysztof.kozlowski@linaro.org
2022-04-19 12:41:53 -05:00

33 lines
451 B
Text

// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*/
/dts-v1/;
#include "msm8996.dtsi"
/ {
model = "Qualcomm Technologies, Inc. MSM 8996 MTP";
compatible = "qcom,msm8996-mtp", "qcom,msm8996";
aliases {
serial0 = &blsp2_uart2;
};
chosen {
stdout-path = "serial0";
};
};
&blsp2_uart2 {
status = "okay";
};
&hdmi {
status = "okay";
};
&hdmi_phy {
status = "okay";
};