diff options
author | Vinod Koul <vkoul@kernel.org> | 2021-03-12 10:57:34 +0530 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-03-12 11:24:29 -0600 |
commit | 58befd8f60e6291110852c7bacc7ad5d53c7e9bd (patch) | |
tree | 2aa4ba09904ac7cd4ec50b7db476fdd714b85dc1 /arch/arm64/boot/dts/qcom/pm8350c.dtsi | |
parent | 950775d9cb70e864f2c49eb8061469f1ce473cb6 (diff) | |
download | linux-58befd8f60e6291110852c7bacc7ad5d53c7e9bd.tar.gz |
arm64: dts: qcom: pm8350c: Add base dts file
Add base DTS file for PM8350C along with GPIO node
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210312052737.3558801-6-vkoul@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/pm8350c.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/pm8350c.dtsi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi new file mode 100644 index 000000000000..2b9b75ecec60 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8350c.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 { + pm8350c: pmic@2 { + compatible = "qcom,pm8350c", "qcom,spmi-pmic"; + reg = <0x2 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8350c_gpios: gpio@8800 { + compatible = "qcom,pm8350c-gpio"; + reg = <0x8800>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; |