Files
android_kernel_motorola_sm6225/qcom/pm8009.dtsi
T
Venkata Narendra Kumar Gutta eabdf1c567 ARM: dts: qcom: Add kona and lito device tree files
Add kona and lito device tree files and other related device tree
files included in them. This snapshot is taken as of
'commit f3dd4aaeb3
("Merge "platform: qpnp-revid: Add REVID support for PM7250B")' of
the kernel project.

Change-Id: I51206d16131c8c14bc9589e1770209580e8305eb
2019-05-02 16:41:25 -07:00

47 lines
1000 B
Devicetree

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h>
&spmi_bus {
#address-cells = <2>;
#size-cells = <0>;
interrupt-controller;
#interrupt-cells = <4>;
qcom,pm8009@a {
compatible ="qcom,spmi-pmic";
reg = <0xa SPMI_USID>;
#address-cells = <2>;
#size-cells = <0>;
qcom,revid@100 {
compatible = "qcom,qpnp-revid";
reg = <0x100 0x100>;
};
qcom,power-on@800 {
compatible = "qcom,qpnp-power-on";
reg = <0x800 0x100>;
};
pm8009_gpios: pinctrl@c000 {
compatible = "qcom,spmi-gpio";
reg = <0xc000 0x400>;
interrupts = <0xa 0xc0 0 IRQ_TYPE_NONE>,
<0xa 0xc1 0 IRQ_TYPE_NONE>,
<0xa 0xc2 0 IRQ_TYPE_NONE>,
<0xa 0xc3 0 IRQ_TYPE_NONE>;
interrupt-names = "pm8009_gpio1", "pm8009_gpio2",
"pm8009_gpio3", "pm8009_gpio4";
gpio-controller;
#gpio-cells = <2>;
};
};
qcom,pm8009@b {
compatible = "qcom,spmi-pmic";
reg = <0xb SPMI_USID>;
#address-cells = <2>;
#size-cells = <0>;
};
};