mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 21:30:54 +07:00
ARM: shmobile: koelsch: Add da9063 PMIC device node for system restart
Add a device node for the da9063 PMIC, with subnodes for rtc and wdt. Regulator support is not yet included. This allows the system to be restarted when the watchdog timer times out, or when a system restart is requested. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
4be7338df3
commit
a6b4226645
@ -517,6 +517,22 @@ &i2c6 {
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
clock-frequency = <100000>;
|
clock-frequency = <100000>;
|
||||||
|
|
||||||
|
pmic@58 {
|
||||||
|
compatible = "dlg,da9063";
|
||||||
|
reg = <0x58>;
|
||||||
|
interrupt-parent = <&irqc0>;
|
||||||
|
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
interrupt-controller;
|
||||||
|
|
||||||
|
rtc {
|
||||||
|
compatible = "dlg,da9063-rtc";
|
||||||
|
};
|
||||||
|
|
||||||
|
wdt {
|
||||||
|
compatible = "dlg,da9063-watchdog";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
vdd_dvfs: regulator@68 {
|
vdd_dvfs: regulator@68 {
|
||||||
compatible = "dlg,da9210";
|
compatible = "dlg,da9210";
|
||||||
reg = <0x68>;
|
reg = <0x68>;
|
||||||
|
Loading…
Reference in New Issue
Block a user