ARM: shmobile: lager: Add da9063 PMIC device node for system restart
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 9 Mar 2015 20:06:57 +0000 (21:06 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 11 Mar 2015 00:52:21 +0000 (09:52 +0900)
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>
arch/arm/boot/dts/r8a7790-lager.dts

index e2f4746..2a0f895 100644 (file)
        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>;