summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a7793-gose.dts
diff options
context:
space:
mode:
authorGeert Uytterhoeven2016-11-17 19:37:46 +0100
committerSimon Horman2017-01-03 10:46:21 +0100
commitc20839a36132462496f939b0d13afee009c9a547 (patch)
treee7ce19a1ce50f3f0119548fa9ea6b8c710fb31a6 /arch/arm/boot/dts/r8a7793-gose.dts
parentARM: dts: sh73a0: Use SoC-specific compat string for mmcif (diff)
downloadkernel-qcow2-linux-c20839a36132462496f939b0d13afee009c9a547.tar.gz
kernel-qcow2-linux-c20839a36132462496f939b0d13afee009c9a547.tar.xz
kernel-qcow2-linux-c20839a36132462496f939b0d13afee009c9a547.zip
ARM: dts: gose: Add da9063 PMIC device node for system restart
Enable i2c6, and 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/r8a7793-gose.dts')
-rw-r--r--arch/arm/boot/dts/r8a7793-gose.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts
index dc311eba4444..92fff07c5e2b 100644
--- a/arch/arm/boot/dts/r8a7793-gose.dts
+++ b/arch/arm/boot/dts/r8a7793-gose.dts
@@ -538,6 +538,27 @@
};
};
+&i2c6 {
+ 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";
+ };
+ };
+};
+
&rcar_sound {
pinctrl-0 = <&sound_pins &sound_clk_pins>;
pinctrl-names = "default";