diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2021-11-08 22:46:29 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2021-11-19 08:21:43 +0100 |
commit | dacef016c088f8f69fe1e6e5feab3543df3dab83 (patch) | |
tree | b7b8e7f9cc70b67eb5f3eeefb7ba7a0660be5a38 /arch/riscv/boot | |
parent | Linux 5.16-rc1 (diff) | |
download | linux-dacef016c088f8f69fe1e6e5feab3543df3dab83.tar.xz 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.dts | 12 |
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"; + }; }; }; |