opensbi/platform
Nikita Shubin f3744967c6 platform: sifive_fu740: add platform reset driver
da9063 PMIC can be used to reset/shutdown the
Sifive Unmatched board.

shutdown is done simply by writing SHUTDOWN bit to
DA9063_REG_CONTROL_F register.

reset via setting WAKEUP bit in DA9063_REG_CONTROL_F
register followed by masking POWER and POWER1 domains
and setting STANDBY bit in DA9063_REG_CONTROL_A,
originally discovered by Alexandre Ghiti on linux-riscv
maillists.

Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Tested-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Signed-off-by: Nikita Shubin <n.shubin@yadro.com>
2021-11-12 10:29:20 +05:30
..
andes/ae350 include: sbi_utils: Introduce an helper to get fdt base address 2021-11-02 11:23:16 +05:30
fpga include: sbi_utils: Introduce an helper to get fdt base address 2021-11-02 11:23:16 +05:30
generic platform: sifive_fu740: add platform reset driver 2021-11-12 10:29:20 +05:30
kendryte/k210 include: sbi_utils: Introduce an helper to get fdt base address 2021-11-02 11:23:16 +05:30
nuclei/ux600 include: sbi_utils: Introduce an helper to get fdt base address 2021-11-02 11:23:16 +05:30
template lib: sbi: Add timer frequency to struct sbi_timer_device 2021-09-26 19:52:10 +05:30