mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 14:40:55 +07:00
dab8134ca0
Add configuration nodes for multi purpose pins and thermal sensor devices. Thermal sensor will report PMIC die temperature. Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> Signed-off-by: Kumar Gala <galak@codeaurora.org>
37 lines
777 B
Plaintext
37 lines
777 B
Plaintext
#include <dt-bindings/interrupt-controller/irq.h>
|
|
#include <dt-bindings/spmi/spmi.h>
|
|
|
|
&spmi_bus {
|
|
|
|
usid4: pm8841@4 {
|
|
compatible = "qcom,spmi-pmic";
|
|
reg = <0x4 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pm8841_mpps: mpps@a000 {
|
|
compatible = "qcom,pm8841-mpp";
|
|
reg = <0xa000 0x400>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
interrupts = <4 0xa0 0 IRQ_TYPE_NONE>,
|
|
<4 0xa1 0 IRQ_TYPE_NONE>,
|
|
<4 0xa2 0 IRQ_TYPE_NONE>,
|
|
<4 0xa3 0 IRQ_TYPE_NONE>;
|
|
};
|
|
|
|
temp-alarm@2400 {
|
|
compatible = "qcom,spmi-temp-alarm";
|
|
reg = <0x2400 0x100>;
|
|
interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
};
|
|
|
|
usid5: pm8841@5 {
|
|
compatible = "qcom,spmi-pmic";
|
|
reg = <0x5 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|