From: Krzysztof Kozlowski Date: Sat, 2 Apr 2022 19:28:59 +0000 (+0200) Subject: arm64: dts: qcom: msm8996: override nodes by label X-Git-Tag: v6.1-rc5~1259^2~12^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a80a66f68e37ce19dee7fdb3d3e946859712b53;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220402192859.154977-2-krzysztof.kozlowski@linaro.org --- diff --git a/arch/arm64/boot/dts/qcom/msm8996-mtp.dts b/arch/arm64/boot/dts/qcom/msm8996-mtp.dts index 6a1699a..596ad4c 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-mtp.dts +++ b/arch/arm64/boot/dts/qcom/msm8996-mtp.dts @@ -18,12 +18,10 @@ chosen { stdout-path = "serial0"; }; +}; - soc { - serial@75b0000 { - status = "okay"; - }; - }; +&blsp2_uart2 { + status = "okay"; }; &hdmi {