mirror of
https://github.com/torvalds/linux.git
synced 2026-08-02 13:22:02 +02:00
arm64: dts: qcom: pm8009: Add base dts file
Add base DTS file for pm8009 along with GPIOs and power-on nodes. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20200621192824.2069145-1-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
cbc142c895
commit
380af2b7d1
37
arch/arm64/boot/dts/qcom/pm8009.dtsi
Normal file
37
arch/arm64/boot/dts/qcom/pm8009.dtsi
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
// 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";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
#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>;
|
||||
};
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user