diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-04-02 21:28:59 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-04-19 12:41:53 -0500 |
commit | 2a80a66f68e37ce19dee7fdb3d3e946859712b53 (patch) | |
tree | 0db4498ed39cc184262eb0e539163ef16ed5bbbb /arch/arm64/boot/dts/qcom/msm8996-mtp.dts | |
parent | c46e3c4bdfaca1595b898bb58b112fd683fe0c11 (diff) | |
download | linux-2a80a66f68e37ce19dee7fdb3d3e946859712b53.tar.gz linux-2a80a66f68e37ce19dee7fdb3d3e946859712b53.tar.bz2 linux-2a80a66f68e37ce19dee7fdb3d3e946859712b53.zip |
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
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8996-mtp.dts')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8996-mtp.dts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8996-mtp.dts b/arch/arm64/boot/dts/qcom/msm8996-mtp.dts index 6a1699a96c99..596ad4c896f5 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 { |