• Christoph Hellwig's avatar
    riscv: Add Kendryte K210 SoC support · c48c4a4c
    Christoph Hellwig authored
    Add support for the Kendryte K210 RISC-V SoC. For now, this support
    only provides a simple sysctl driver allowing to setup the CPU and
    uart clock. This support is enabled through the new Kconfig option
    SOC_KENDRYTE and defines the config option CONFIG_K210_SYSCTL
    to enable the K210 SoC sysctl driver compilation.
    
    The sysctl driver also registers an early SoC initialization function
    allowing enabling the general purpose use of the 2MB of SRAM normally
    reserved for the SoC AI engine. This initialization function is
    automatically called before the dt early initialization using the flat
    dt root node compatible property matching the value "kendryte,k210".
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
    [Palmer: Add missing endmenu in Kconfig.socs]
    Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
    c48c4a4c
Makefile 890 Bytes