summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2024-02-26 17:26:16 +0000
committerCaleb Connolly <caleb.connolly@linaro.org>2024-03-01 14:44:36 +0000
commitcc18d5486b2cb520d50d2154fc2e9fe2566f480c (patch)
tree452cf4dbcc0fa3550f3e0c507d36884de9d5f56a
parenteb2393d7d5443750b8ab61912ead78eb54b42fb9 (diff)
sandbox: dts: fix qcom pmic gpio
Adjust the DT to match upstream bindings. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
-rw-r--r--arch/sandbox/dts/sandbox.dtsi9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi
index 241f397ba6e..c93ce712894 100644
--- a/arch/sandbox/dts/sandbox.dtsi
+++ b/arch/sandbox/dts/sandbox.dtsi
@@ -419,17 +419,16 @@
#size-cells = <0x1>;
pm8916@0 {
compatible = "qcom,spmi-pmic";
- reg = <0x0 0x1>;
+ reg = <0x0 0x0>;
#address-cells = <0x1>;
- #size-cells = <0x1>;
+ #size-cells = <0x0>;
spmi_gpios: gpios@c000 {
compatible = "qcom,pm8916-gpio";
- reg = <0xc000 0x400>;
+ reg = <0xc000>;
gpio-controller;
- gpio-count = <4>;
+ gpio-ranges = <&spmi_gpios 0 0 4>;
#gpio-cells = <2>;
- gpio-bank-name="spmi";
};
};
};