mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

The new Qualcomm PMIC GPIO bindings require gpio-ranges property: sm8250-sony-xperia-edo-pdx203.dtb: gpio@c000: 'gpio-ranges' is a required property Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220508135932.132378-3-krzysztof.kozlowski@linaro.org
39 lines
799 B
Plaintext
39 lines
799 B
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2020, Linaro Limited
|
|
*/
|
|
|
|
#include <dt-bindings/spmi/spmi.h>
|
|
|
|
&spmi_bus {
|
|
pmic@a {
|
|
compatible = "qcom,pm8009", "qcom,spmi-pmic";
|
|
reg = <0xa SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pm8009_pon: pon@800 {
|
|
compatible = "qcom,pm8916-pon";
|
|
reg = <0x0800>;
|
|
};
|
|
|
|
pm8009_gpios: gpio@c000 {
|
|
compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
|
|
reg = <0xc000>;
|
|
gpio-controller;
|
|
gpio-ranges = <&pm8009_gpios 0 0 4>;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
};
|
|
|
|
pmic@b {
|
|
compatible = "qcom,pm8009", "qcom,spmi-pmic";
|
|
reg = <0xb SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|