
The Unmatched board comes with the da9063 PMIC that is used to reset the board: add this driver in its config and a corresponding entry to its device-tree.
Signed-off-by: Alexandre Ghiti alexandre.ghiti@canonical.com --- arch/riscv/dts/hifive-unmatched-a00.dts | 4 ++++ configs/sifive_unmatched_defconfig | 2 ++ 2 files changed, 6 insertions(+)
diff --git a/arch/riscv/dts/hifive-unmatched-a00.dts b/arch/riscv/dts/hifive-unmatched-a00.dts index b44e8c160d..9c30a5c938 100644 --- a/arch/riscv/dts/hifive-unmatched-a00.dts +++ b/arch/riscv/dts/hifive-unmatched-a00.dts @@ -76,6 +76,10 @@ interrupts = <1 IRQ_TYPE_LEVEL_LOW>; interrupt-controller;
+ reset { + compatible = "dlg,da9063-reset"; + }; + regulators { vdd_bcore1: bcore1 { regulator-min-microvolt = <1050000>; diff --git a/configs/sifive_unmatched_defconfig b/configs/sifive_unmatched_defconfig index 38b7acd536..a4bcf0fae6 100644 --- a/configs/sifive_unmatched_defconfig +++ b/configs/sifive_unmatched_defconfig @@ -37,3 +37,5 @@ CONFIG_DM_RESET=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_PCI=y +CONFIG_DM_PMIC=y +CONFIG_DM_PMIC_DA9063=y