3 config SOC_MICROCHIP_POLARFIRE
4 bool "Microchip PolarFire SoCs"
8 This enables support for Microchip PolarFire SoC platforms.
12 select SERIAL_SIFIVE if TTY
13 select SERIAL_SIFIVE_CONSOLE if TTY
15 select CLK_SIFIVE_PRCI
17 select RISCV_ERRATA_ALTERNATIVE
20 This enables support for SiFive SoC platform hardware.
25 select OF_RESERVED_MEM
27 select SIFIVE_L2_FLUSH
28 select DW_AXI_DMAC_STARFIVE
30 StarFive JH SOC platform
33 prompt "StarFive JH SOCs"
35 choice StarFive JH SOC platform
37 config SOC_STARFIVE_VIC7100
39 select HW_RANDOM_STARFIVE_VIC
40 depends on SOC_STARFIVE
42 This enables support for StarFive VIC7100 SoC Platform Hardware.
44 config SOC_STARFIVE_JH7110
46 select HW_RANDOM_STARFIVE_TRNG
47 depends on SOC_STARFIVE
49 This enables support for StarFive JH7110 SoC Platform Hardware.
52 menu "StarFive JH SoC Debug Option"
53 depends on SOC_STARFIVE
56 prompt "JH SOC GMAC Speed"
57 depends on SOC_STARFIVE
58 default FPGA_GMAC_SPEED_AUTO
60 choice VIC7100 GMAC speed.
61 (GMAC only works well on 10M/duple, for FPGA board.)
63 config FPGA_GMAC_SPEED10
64 bool "GMAC works on 10M mode"
65 config FPGA_GMAC_SPEED100
66 bool "GMAC works on 100M mode"
67 config FPGA_GMAC_SPEED_AUTO
68 bool "GMAC works on auto mode"
71 config FPGA_GMAC_FLUSH_DDR
72 bool "VIC7100 SOC GMAC description and packet buffer flush"
73 depends on SOC_STARFIVE_VIC7100
75 default y if SOC_STARFIVE_VIC7100
77 enable VIC7100 GMAC description and packet buffer flush
79 config MMC_DW_FLUSH_DDR
80 bool "VIC7100 SOC DW MMC buffer flush"
81 depends on SOC_STARFIVE_VIC7100
83 default y if SOC_STARFIVE_VIC7100
85 enable VIC7100 DW MMC description and data buffer flush
87 config USB_CDNS3_HOST_FLUSH_DMA
88 bool "Cadence USB3 host controller flush dma memery"
91 depends on SOC_STARFIVE_VIC7100
92 default y if SOC_STARFIVE_VIC7100
94 enable VIC7100 DW USB CDNS3 driver data buffer flush
99 bool "QEMU Virt Machine"
100 select CLINT_TIMER if RISCV_M_MODE
102 select POWER_RESET_SYSCON
103 select POWER_RESET_SYSCON_POWEROFF
105 select RTC_DRV_GOLDFISH if RTC_CLASS
108 This enables support for QEMU Virt Machine.
111 bool "Canaan Kendryte K210 SoC"
113 select CLINT_TIMER if RISCV_M_MODE
114 select SERIAL_SIFIVE if TTY
115 select SERIAL_SIFIVE_CONSOLE if TTY
117 select ARCH_HAS_RESET_CONTROLLER
120 select COMMON_CLK_K210
122 This enables support for Canaan Kendryte K210 SoC platform hardware.
126 config SOC_CANAAN_K210_DTB_BUILTIN
127 bool "Builtin device tree for the Canaan Kendryte K210"
128 depends on SOC_CANAAN
133 Build a device tree for the Kendryte K210 into the Linux image.
134 This option should be selected if no bootloader is being used.
137 config SOC_CANAAN_K210_DTB_SOURCE
138 string "Source file for the Canaan Kendryte K210 builtin DTB"
139 depends on SOC_CANAAN
140 depends on SOC_CANAAN_K210_DTB_BUILTIN
141 default "k210_generic"
143 Base name (without suffix, relative to arch/riscv/boot/dts/canaan)
144 for the DTS file that will be used to produce the DTB linked into the