summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boot
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2021-11-08 22:46:29 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2021-11-18 23:21:43 -0800
commitdacef016c088f8f69fe1e6e5feab3543df3dab83 (patch)
treeb7b8e7f9cc70b67eb5f3eeefb7ba7a0660be5a38 /arch/riscv/boot
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
downloadlinux-dacef016c088f8f69fe1e6e5feab3543df3dab83.tar.gz
linux-dacef016c088f8f69fe1e6e5feab3543df3dab83.tar.bz2
linux-dacef016c088f8f69fe1e6e5feab3543df3dab83.zip
riscv: dts: enable more DA9063 functions for the SiFive HiFive Unmatched
The DA9063 PMIC found on the SiFive HiFive Unmatched also provides an RTC, a watchdog and the power button input. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/boot')
-rw-r--r--arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
index 4f66919215f6..6d69edfd96b4 100644
--- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
+++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
@@ -65,6 +65,10 @@
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
+ onkey {
+ compatible = "dlg,da9063-onkey";
+ };
+
regulators {
vdd_bcore1: bcore1 {
regulator-min-microvolt = <900000>;
@@ -200,6 +204,14 @@
regulator-always-on;
};
};
+
+ rtc {
+ compatible = "dlg,da9063-rtc";
+ };
+
+ wdt {
+ compatible = "dlg,da9063-watchdog";
+ };
};
};