[linux-riscv][J][PATCH 09/17] riscv: dts: sifive unmatched: Expose the PMIC sub-functions

Dimitri John Ledkov dimitri.ledkov at canonical.com
Fri Feb 25 20:32:53 UTC 2022


From: Vincent Pelletier <plr.vincent at gmail.com>

These sub-functions are available in the chip revision on this board, so
expose them.

Signed-off-by: Vincent Pelletier <plr.vincent at gmail.com>
Signed-off-by: Palmer Dabbelt <palmer at rivosinc.com>
(cherry picked from commit cd29cc8ad2540a4f9a0a3e174394d39e648ef941)
BugLink: https://bugs.launchpad.net/bugs/1960420
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
---
 arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
index e545b2b6d2..5557ded959 100644
--- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
+++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
@@ -117,6 +117,18 @@ pmic at 58 {
 		interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
 		interrupt-controller;
 
+		onkey {
+			compatible = "dlg,da9063-onkey";
+		};
+
+		rtc {
+			compatible = "dlg,da9063-rtc";
+		};
+
+		wdt {
+			compatible = "dlg,da9063-watchdog";
+		};
+
 		regulators {
 			vdd_bcore1: bcore1 {
 				regulator-min-microvolt = <1050000>;
-- 
2.32.0




More information about the kernel-team mailing list