]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: dts: fix qcom pmic gpio
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 26 Feb 2024 17:26:16 +0000 (17:26 +0000)
committerCaleb Connolly <caleb.connolly@linaro.org>
Fri, 1 Mar 2024 14:44:36 +0000 (14:44 +0000)
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>
arch/sandbox/dts/sandbox.dtsi

index 241f397ba6e711f6dd9c8c0d58f9bc66127caf04..c93ce7128942bc50342a82d6cafd27ef0ff04825 100644 (file)
                #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";
                        };
                };
        };