Commit cb9d7639 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

ARM: dts: qcom: msm8960: 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.

The pre/post DTBS are the same.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220810080516.166866-1-krzysztof.kozlowski@linaro.org
parent 12e62136
This diff is collapsed.
...@@ -152,7 +152,7 @@ l2cc: clock-controller@2011000 { ...@@ -152,7 +152,7 @@ l2cc: clock-controller@2011000 {
reg = <0x2011000 0x1000>; reg = <0x2011000 0x1000>;
}; };
rpm@108000 { rpm: rpm@108000 {
compatible = "qcom,rpm-msm8960"; compatible = "qcom,rpm-msm8960";
reg = <0x108000 0x1000>; reg = <0x108000 0x1000>;
qcom,ipc = <&l2cc 0x8 2>; qcom,ipc = <&l2cc 0x8 2>;
...@@ -307,7 +307,7 @@ tcsr: syscon@1a400000 { ...@@ -307,7 +307,7 @@ tcsr: syscon@1a400000 {
reg = <0x1a400000 0x100>; reg = <0x1a400000 0x100>;
}; };
gsbi@16000000 { gsbi1: gsbi@16000000 {
compatible = "qcom,gsbi-v1.0.0"; compatible = "qcom,gsbi-v1.0.0";
cell-index = <1>; cell-index = <1>;
reg = <0x16000000 0x100>; reg = <0x16000000 0x100>;
...@@ -317,7 +317,7 @@ gsbi@16000000 { ...@@ -317,7 +317,7 @@ gsbi@16000000 {
#size-cells = <1>; #size-cells = <1>;
ranges; ranges;
spi@16080000 { gsbi1_spi: spi@16080000 {
compatible = "qcom,spi-qup-v1.1.1"; compatible = "qcom,spi-qup-v1.1.1";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment