-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: qcom: msm8998: Add pmi8998 file
Add new dtsi file for the PMI8998, with its gpios and include all three PMICs in the MSM8998 MTP dts. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
- Loading branch information
Bjorn Andersson
authored and
Andy Gross
committed
Sep 13, 2018
1 parent
4449b6f
commit b122723
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
#include <dt-bindings/spmi/spmi.h> | ||
|
||
&spmi_bus { | ||
pmi8998_lsid0: pmic@2 { | ||
compatible = "qcom,pmi8998", "qcom,spmi-pmic"; | ||
reg = <0x2 SPMI_USID>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
pmi8998_gpio: gpios@c000 { | ||
compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio"; | ||
reg = <0xc000>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, | ||
<0 0xc1 0 IRQ_TYPE_NONE>, | ||
<0 0xc2 0 IRQ_TYPE_NONE>, | ||
<0 0xc3 0 IRQ_TYPE_NONE>, | ||
<0 0xc4 0 IRQ_TYPE_NONE>, | ||
<0 0xc5 0 IRQ_TYPE_NONE>, | ||
<0 0xc6 0 IRQ_TYPE_NONE>, | ||
<0 0xc7 0 IRQ_TYPE_NONE>, | ||
<0 0xc8 0 IRQ_TYPE_NONE>, | ||
<0 0xc9 0 IRQ_TYPE_NONE>, | ||
<0 0xca 0 IRQ_TYPE_NONE>, | ||
<0 0xcb 0 IRQ_TYPE_NONE>, | ||
<0 0xcc 0 IRQ_TYPE_NONE>, | ||
<0 0xcd 0 IRQ_TYPE_NONE>; | ||
}; | ||
}; | ||
|
||
pmi8998_lsid1: pmic@3 { | ||
compatible = "qcom,pmi8998", "qcom,spmi-pmic"; | ||
reg = <0x3 SPMI_USID>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; | ||
}; |