diff options
author | Vinod Koul <vkoul@kernel.org> | 2021-03-12 10:57:32 +0530 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-03-12 11:24:21 -0600 |
commit | 094da73ff0e5701e42ee14d2f4c36b8958096c4e (patch) | |
tree | 6443b992d0155578fcb97c05243f91f5e0d6ead3 /arch/arm64/boot/dts/qcom/pm8350.dtsi | |
parent | 712d68d128bc7353aa00b2b8616cb42f053f423c (diff) | |
download | lwn-094da73ff0e5701e42ee14d2f4c36b8958096c4e.tar.gz lwn-094da73ff0e5701e42ee14d2f4c36b8958096c4e.zip |
arm64: dts: qcom: pm8350: Add base dts file
Add base DTS file for PM8350 along with GPIO node
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210312052737.3558801-4-vkoul@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/pm8350.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/pm8350.dtsi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/pm8350.dtsi b/arch/arm64/boot/dts/qcom/pm8350.dtsi new file mode 100644 index 000000000000..308f9ca7c744 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8350.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Linaro Limited + */ + +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/spmi/spmi.h> + +&spmi_bus { + pm8350: pmic@1 { + compatible = "qcom,pm8350", "qcom,spmi-pmic"; + reg = <0x1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8350_gpios: gpio@8800 { + compatible = "qcom,pm8350-gpio"; + reg = <0x8800>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; |