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>
#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";
};
};
};