ARM: dts: qcom: apq8060-dragonboard: use labels to patch device tree

Use labels to add device-specific properties to DT nodes rather than
duplicating SoC DT structure in the device DT.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-22-dmitry.baryshkov@linaro.org
This commit is contained in:
Dmitry Baryshkov
2022-09-30 21:52:34 +03:00
committed by Bjorn Andersson
parent cdaf1f1180
commit be60ae9be7
2 changed files with 923 additions and 926 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -316,7 +316,7 @@ gsbi12_i2c: i2c@19c80000 {
};
};
external-bus@1a100000 {
ebi2: external-bus@1a100000 {
compatible = "qcom,msm8660-ebi2";
#address-cells = <2>;
#size-cells = <1>;
@@ -359,12 +359,6 @@ pm8058_gpio: gpio@150 {
};
pm8058_led48: led@48 {
compatible = "qcom,pm8058-keypad-led";
reg = <0x48>;
status = "disabled";
};
pm8058_mpps: mpps@50 {
compatible = "qcom,pm8058-mpp",
"qcom,ssbi-mpp";
@@ -385,24 +379,6 @@ pwrkey@1c {
pull-up;
};
pm8058_led131: led@131 {
compatible = "qcom,pm8058-led";
reg = <0x131>;
status = "disabled";
};
pm8058_led132: led@132 {
compatible = "qcom,pm8058-led";
reg = <0x132>;
status = "disabled";
};
pm8058_led133: led@133 {
compatible = "qcom,pm8058-led";
reg = <0x133>;
status = "disabled";
};
pm8058_keypad: keypad@148 {
compatible = "qcom,pm8058-keypad";
reg = <0x148>;
@@ -468,6 +444,31 @@ vibrator@4a {
compatible = "qcom,pm8058-vib";
reg = <0x4a>;
};
pm8058_led48: led@48 {
compatible = "qcom,pm8058-keypad-led";
reg = <0x48>;
status = "disabled";
};
pm8058_led131: led@131 {
compatible = "qcom,pm8058-led";
reg = <0x131>;
status = "disabled";
};
pm8058_led132: led@132 {
compatible = "qcom,pm8058-led";
reg = <0x132>;
status = "disabled";
};
pm8058_led133: led@133 {
compatible = "qcom,pm8058-led";
reg = <0x133>;
status = "disabled";
};
};
};