riscv: dts: enable more DA9063 functions for the SiFive HiFive Unmatched
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 8 Nov 2021 21:46:29 +0000 (22:46 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 19 Nov 2021 07:21:43 +0000 (23:21 -0800)
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>
arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts

index 4f66919..6d69edf 100644 (file)
                interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
                interrupt-controller;
 
+               onkey {
+                       compatible = "dlg,da9063-onkey";
+               };
+
                regulators {
                        vdd_bcore1: bcore1 {
                                regulator-min-microvolt = <900000>;
                                regulator-always-on;
                        };
                };
+
+               rtc {
+                       compatible = "dlg,da9063-rtc";
+               };
+
+               wdt {
+                       compatible = "dlg,da9063-watchdog";
+               };
        };
 };