summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a7790-lager.dts
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-03-09 21:06:57 +0100
committerSimon Horman <horms+renesas@verge.net.au>2015-03-11 01:52:21 +0100
commit46dd8a809effdc7ebe6ec760e3e421d5ac2a40f1 (patch)
tree6de693e997bc87380d39d8b7113ca419ac7f1ec9 /arch/arm/boot/dts/r8a7790-lager.dts
parentARM: shmobile: lager dts: Add da9210 regulator interrupt (diff)
downloadlinux-46dd8a809effdc7ebe6ec760e3e421d5ac2a40f1.tar.xz
linux-46dd8a809effdc7ebe6ec760e3e421d5ac2a40f1.zip
ARM: shmobile: lager: 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/r8a7790-lager.dts')
-rw-r--r--arch/arm/boot/dts/r8a7790-lager.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index e2f47464f023..2a0f895c48d0 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -513,6 +513,22 @@
pinctrl-0 = <&iic3_pins>;
status = "okay";
+ 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>;