Skip to content

Commit

Permalink
riscv: dts: enable more DA9063 functions for the SiFive HiFive Unmatched
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aurelien Jarno authored and Palmer Dabbelt committed Nov 19, 2021
1 parent fa55b7d commit dacef01
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down Expand Up @@ -200,6 +204,14 @@
regulator-always-on;
};
};

rtc {
compatible = "dlg,da9063-rtc";
};

wdt {
compatible = "dlg,da9063-watchdog";
};
};
};

Expand Down

0 comments on commit dacef01

Please sign in to comment.