diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-11-17 19:37:46 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-01-03 10:46:21 +0100 |
commit | c20839a36132462496f939b0d13afee009c9a547 (patch) | |
tree | e7ce19a1ce50f3f0119548fa9ea6b8c710fb31a6 /arch/arm/boot/dts/r8a7793-gose.dts | |
parent | 5ff43b37ce967ffbcc4a93c76a9b270e441a72e6 (diff) | |
download | talos-op-linux-c20839a36132462496f939b0d13afee009c9a547.tar.gz talos-op-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.dts | 21 |
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"; |