summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r8a7791-koelsch.dts
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-03-09 23:06:55 +0300
committerSimon Horman <horms+renesas@verge.net.au>2015-03-11 03:52:21 +0300
commita6b422664597d7b9ca6cf441bc48cfe1a707cd3a (patch)
tree5afdb081a493587b4106af937a92bec20246ccd2 /arch/arm/boot/dts/r8a7791-koelsch.dts
parent4be7338df39037266da832f6598557cc4ca3de10 (diff)
downloadlinux-a6b422664597d7b9ca6cf441bc48cfe1a707cd3a.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/r8a7791-koelsch.dts')
-rw-r--r--arch/arm/boot/dts/r8a7791-koelsch.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 213a643c27ae..b2dcf640d583 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -517,6 +517,22 @@
status = "okay";
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 {
compatible = "dlg,da9210";
reg = <0x68>;