Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
Signed-off-by: Kongyang Liu
---
(no changes since v1)
doc/board/index.rst| 1 +
doc/board/spacemit/bananapi_f3.rst | 78 ++
doc/board/spacemit/index.rst | 8 +++
3
Add basic support for SpacemiT's Banana Pi F3 board
Signed-off-by: Kongyang Liu
---
Changes in v2:
- Change license to GPL-2.0-or-later
- Add memory node for dts
- Add ft_board_setup function for kernel memory init
- Use default prompt
arch/riscv/Kconfig | 5 +
default prompt
Kongyang Liu (2):
riscv: spacemit: bananapi_f3: initial support added
doc: spacemit: bananapi_f3: document Banana Pi F3 board
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/riscv/cpu/k1/Makefile | 6 +
arch
Heinrich Schuchardt 于2024年7月14日周日 23:48写道:
>
> On 7/14/24 17:08, Kongyang Liu wrote:
> > Add basic support for SpacemiT's Banana Pi F3 board
> >
> > Signed-off-by: Kongyang Liu
> >
> > ---
> >
> > arch/riscv/Kconfig | 5
Heinrich Schuchardt 于2024年7月14日周日 23:19写道:
>
> On 7/14/24 17:08, Kongyang Liu wrote:
> > Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
> >
> > Signed-off-by: Kongyang Liu
> > ---
> >
> > doc/board/index.rst
Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
Signed-off-by: Kongyang Liu
---
doc/board/index.rst| 1 +
doc/board/spacemit/bananapi_f3.rst | 78 ++
doc/board/spacemit/index.rst | 8 +++
3 files changed, 87 inser
Add basic support for SpacemiT's Banana Pi F3 board
Signed-off-by: Kongyang Liu
---
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/riscv/cpu/k1/Makefile | 6 +
arch/riscv/cpu/k1/cpu.c| 9 +
arch/risc
introduces fundamental support for the Banana Pi F3 board,
encompassing UART, CPU, and PLIC support. This ensures that U-Boot can
operate in serial console mode.
Kongyang Liu (2):
riscv: spacemit: bananapi_f3: initial support added
doc: spacemit: bananapi_f3: document Banana Pi F3 board
arch
Marek Vasut 于2024年6月23日周日 07:49写道:
>
> On 5/22/24 4:22 PM, Kongyang Liu wrote:
>
> Hi,
>
> sorry for the late reply.
>
> > diff --git a/drivers/usb/common/dwc2_core.c b/drivers/usb/common/dwc2_core.c
> > new file mode 100644
> > index 00..2fa11fd59d
Replace device clocks with real clocks from the clock controller, and
remove dummy clocks.
Signed-off-by: Kongyang Liu
---
(no changes since v1)
arch/riscv/dts/cv18xx.dtsi | 40 +++---
1 file changed, 16 insertions(+), 24 deletions(-)
diff --git a/arch/riscv
Add configs to enable clock controller for Sophgo Milk-V Duo board
Signed-off-by: Kongyang Liu
---
(no changes since v1)
configs/milkv_duo_defconfig | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig
index
Add clock controller driver for sophgo cv1800b SoC
Signed-off-by: Kongyang Liu
---
Changes in v2:
- Fix compilation error
- Remove unused code
drivers/clk/Kconfig | 1 +
drivers/clk/Makefile | 1 +
drivers/clk/sophgo/Kconfig | 14 +
drivers/clk/sophgo
Import header file of sophgo cv1800b clock controller from kernel
Signed-off-by: Kongyang Liu
Link:
https://lore.kernel.org/all/ia1pr20mb4953637e7a6c121d7a700f1cbb...@ia1pr20mb4953.namprd20.prod.outlook.com/
---
(no changes since v1)
include/dt-bindings/clock/sophgo,cv1800.h | 176
Kongyang Liu (4):
dt-bindings: clk: import header for clock controller of sophgo CV1800B
clk: sophgo: cv1800b: Add clock controller driver for cv1800b SoC
configs: milkv_duo: Enable clock controller
riscv: dts: sophgo: Replace device clocks with real clocks.
arch/riscv/dts/cv18xx.dtsi
Heinrich Schuchardt 于2024年6月8日周六 00:31写道:
>
> On 23.05.24 08:40, Kongyang Liu wrote:
> > Add detailed steps for compiling U-Boot and OpenSBI, generating the
> > firmware package with fiptool, and booting the board.
> >
> > Signed-off-by: Kongyang Liu
>
Add detailed steps for compiling U-Boot and OpenSBI, generating the
firmware package with fiptool, and booting the board.
Signed-off-by: Kongyang Liu
---
doc/board/sophgo/milkv_duo.rst | 41 +-
1 file changed, 30 insertions(+), 11 deletions(-)
diff --git a/doc
Yixun Lan 于2024年5月23日周四 07:39写道:
>
> Hi Kongyang:
>
> I've got one compiling error
>
> On 23:07 Sun 19 May , Kongyang Liu wrote:
> > Add clock controller driver for sophgo cv1800b SoC
> >
> > Signed-off-by: Kongyang Liu
> > ---
> >
>
Extract the register definitions and their bit definitions from the USB
DWC2 driver host and device into a common file.
Signed-off-by: Kongyang Liu
---
drivers/usb/common/Makefile| 2 +
drivers/usb/common/dwc2_core.c | 53 ++
drivers/usb/common/dwc2_core.h
/9be2bb0c728da3dabf634c894f77e0e9709edeaa.1590040892.git.hmi...@synopsys.com/
Signed-off-by: Kongyang Liu
---
drivers/usb/common/dwc2_core.c| 50 +++
drivers/usb/common/dwc2_core.h| 1 +
drivers/usb/gadget/dwc2_udc_otg.c | 2 +-
drivers/usb/host/dwc2.c | 36
This series improves the USB DWC2 driver by extracting register definitions
into a common file for better readability and updating the reset method to
reflect changes in version 4.20a, including the new GRSTCTL_CSFTRST_DONE
bit for reset completion indication.
Kongyang Liu (2):
usb: dwc2
Replace device clocks with real clocks from the clock controller, and
remove dummy clocks.
Signed-off-by: Kongyang Liu
---
arch/riscv/dts/cv18xx.dtsi | 40 +++---
1 file changed, 16 insertions(+), 24 deletions(-)
diff --git a/arch/riscv/dts/cv18xx.dtsi b/arch
Add clock controller driver for sophgo cv1800b SoC
Signed-off-by: Kongyang Liu
---
drivers/clk/Kconfig | 1 +
drivers/clk/Makefile | 1 +
drivers/clk/sophgo/Kconfig | 14 +
drivers/clk/sophgo/Makefile | 6 +
drivers/clk/sophgo/clk-common.h | 74
Add configs to enable clock controller for Sophgo Milk-V Duo board
Signed-off-by: Kongyang Liu
---
configs/milkv_duo_defconfig | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig
index 0cb2922de4..1186763a73
Import header file of sophgo cv1800b clock controller from kernel
Signed-off-by: Kongyang Liu
Link:
https://lore.kernel.org/all/ia1pr20mb4953637e7a6c121d7a700f1cbb...@ia1pr20mb4953.namprd20.prod.outlook.com/
---
include/dt-bindings/clock/sophgo,cv1800.h | 176 ++
1 file
This series of patches introduces the clock controller driver for the Sophgo
CV1800B SoC, updates the device tree sources to use the new clock controller,
and enables the clock controller in the configuration for the Milk-V Duo board.
Kongyang Liu (4):
dt-bindings: clk: import header for clock
Marek Vasut 于2024年4月22日周一 04:45写道:
>
> On 3/28/24 2:14 PM, Kongyang Liu wrote:
>
> [...]
>
> > @@ -464,12 +464,26 @@ static void reconfig_usbd(struct dwc2_udc *dev)
> > {
> > /* 2. Soft-reset OTG Core and then unreset again. */
> > int i
Add configs related to spi nor flash for Sophgo Milk-V Duo board
Signed-off-by: Kongyang Liu
---
configs/milkv_duo_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig
index e8413d7aa9..c69eab5fad 100644
--- a/configs
Add spi nor flash controller node for cv18xx SoCs
Signed-off-by: Kongyang Liu
---
arch/riscv/dts/cv1800b-milkv-duo.dts | 13 +
arch/riscv/dts/cv18xx.dtsi | 17 +
2 files changed, 30 insertions(+)
diff --git a/arch/riscv/dts/cv1800b-milkv-duo.dts
b/arch
Add spi nor flash controller driver for cv1800b SoC
Signed-off-by: Kongyang Liu
---
drivers/spi/Kconfig| 8 +
drivers/spi/Makefile | 1 +
drivers/spi/cv1800b_spif.c | 321 +
3 files changed, 330 insertions(+)
create mode 100644 drivers
This series add spi nor flash controller driver for cv1800b SoC and enable it
for Sophgo Milk-V Duo board.
Kongyang Liu (3):
spi: cv1800b: Add spi nor flash controller driver for cv1800b SoC
riscv: dts: sophgo: Add spi nor flash controller node
configs: milkv_duo: Add spi nor configs
Add configs related to ethernet and ethernet boot command for Sophgo Milk-V
Duo board
Signed-off-by: Kongyang Liu
Reviewed-by: Leo Yu-Chi Liang
---
(no changes since v1)
configs/milkv_duo_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/milkv_duo_defconfig b/configs
Add ethernet node for cv1800b SoC
Signed-off-by: Kongyang Liu
---
Changes in v2:
- Change compatible
- Add clocks and interrupt properties.
arch/riscv/dts/cv1800b-milkv-duo.dts | 7 ++-
arch/riscv/dts/cv18xx.dtsi | 23 +++
2 files changed, 29 insertions
Initialize register in cv1800b ethernet phy to make it compatible with
generic phy driver
Signed-off-by: Kongyang Liu
Reviewed-by: Leo Yu-Chi Liang
---
(no changes since v1)
board/sophgo/milkv_duo/Makefile | 3 +-
board/sophgo/milkv_duo/board.c| 4 ++
board/sophgo/milkv_duo
to the kernel.
Changes in v2:
- Change compatible
- Add clocks and interrupt properties.
Kongyang Liu (3):
board: milkv_duo: Add init code for Milk-V Duo ethernet
riscv: dts: sophgo: Add ethernet node
configs: milkv_duo: Add ethernet configs
arch/riscv/dts/cv1800b-milkv-duo.dts | 7
Add sysreset configs as well as poweroff and reset commands for Sophgo
Milk-V Duo board.
Signed-off-by: Kongyang Liu
---
configs/milkv_duo_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig
index e8413d7aa9..28bd4b53d3
Bind cv1800b sysreset driver for Sophgo Milk-V Duo board in board_init
function.
Signed-off-by: Kongyang Liu
---
board/sophgo/milkv_duo/board.c | 4
1 file changed, 4 insertions(+)
diff --git a/board/sophgo/milkv_duo/board.c b/board/sophgo/milkv_duo/board.c
index eaa47be173..e7e28fe248
Add sysreset driver for cv1800b SoC
Signed-off-by: Kongyang Liu
---
drivers/sysreset/Kconfig| 5 +++
drivers/sysreset/Makefile | 1 +
drivers/sysreset/sysreset_cv1800b.c | 64 +
3 files changed, 70 insertions(+)
create mode 100644 drivers
This series add sysreset driver for cv1800b SoC and enable poweroff and
reset commands for Sophgo Milk-V Duo board.
Kongyang Liu (3):
sysreset: cv1800b: Add sysreset driver for cv1800b SoC
board: sophgo: milkv_duo: Bind sysreset driver
configs: milkv_duo: Add sysreset configs
board
Currently, only the receive delay is configured while the transmit delay
is not set, which may result in errors when writing to the file. This issue
can be resolved by setting PHY_TX_SRC_INVERT to SDHCI_PHY_TX_RX_DLY.
Signed-off-by: Kongyang Liu
---
drivers/mmc/cv1800b_sdhci.c | 4 +++-
1 file
Starting from version 4.20a, there has been a change in the reset method.
A new bit, GRSTCTL_CSFTRST_DONE, has been introduced in the GRSTCTL
register to indicate whether the reset has been completed.
Signed-off-by: Kongyang Liu
---
drivers/usb/gadget/dwc2_udc_otg.c | 18
Conor Dooley 于2024年3月12日周二 21:20写道:
>
> On Tue, Mar 12, 2024 at 05:59:44PM +0800, Leo Liang wrote:
> > On Sun, Mar 10, 2024 at 01:56:45PM +0800, Kongyang Liu wrote:
> > > Add ethernet node for cv1800b SoC
> > >
> > > Signed-off-by: Kongyang Liu
> >
Leo Liang 于2024年3月12日周二 17:59写道:
>
> On Sun, Mar 10, 2024 at 01:56:45PM +0800, Kongyang Liu wrote:
> > Add ethernet node for cv1800b SoC
> >
> > Signed-off-by: Kongyang Liu
> > ---
> >
> > arch/riscv/dts/cv18xx.dtsi | 6 ++
> > 1 file ch
Add configs related to ethernet and ethernet boot command for Sophgo Milk-V
Duo board
Signed-off-by: Kongyang Liu
---
configs/milkv_duo_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig
index e8413d7aa9..f66c4c5358
Add ethernet node for cv1800b SoC
Signed-off-by: Kongyang Liu
---
arch/riscv/dts/cv18xx.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/riscv/dts/cv18xx.dtsi b/arch/riscv/dts/cv18xx.dtsi
index ec99c4deeb..013372a40c 100644
--- a/arch/riscv/dts/cv18xx.dtsi
+++ b/arch/riscv
Initialize register in cv1800b ethernet phy to make it compatible with
generic phy driver
Signed-off-by: Kongyang Liu
---
board/sophgo/milkv_duo/Makefile | 3 +-
board/sophgo/milkv_duo/board.c| 4 ++
board/sophgo/milkv_duo/ethernet.c | 79 +++
board/sophgo
placed in the board_init function.
Duo to modification of dts and defconfig, This series depends on the series:
https://lore.kernel.org/all/20240309175330.79267-1-seashell11234...@gmail.com/
Kongyang Liu (3):
board: milkv_duo: Add init code for Milk-V Duo ethernet
riscv: dts: sophgo: Add
Add configs related to sdhci and mmc for Sophgo Milk-V Duo board
Signed-off-by: Kongyang Liu
---
(no changes since v1)
configs/milkv_duo_defconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig
index 548adf174c
: Kongyang Liu
---
Changes in v2:
- Sync device tree with ptaches from Linux kernel
arch/riscv/dts/cv1800b-milkv-duo.dts | 8
arch/riscv/dts/cv1800b.dtsi | 4
arch/riscv/dts/cv18xx.dtsi | 22 ++
3 files changed, 34 insertions(+)
diff --git a/arch
Add sdhci driver for cv1800b SoC.
Signed-off-by: Kongyang Liu
---
Changes in v2:
- Refactored and simplified some of the code.
drivers/mmc/Kconfig | 13
drivers/mmc/Makefile| 1 +
drivers/mmc/cv1800b_sdhci.c | 116
3 files changed
This series add sdhci driver for cv1800b SoC and enable SD card support for
Sophgo Milk-V Duo board.
Changes in v2:
- Refactored and simplified some of the code.
- Sync device tree with ptaches from Linux kernel
Kongyang Liu (3):
mmc: cv1800b: Add sdhci driver support for cv1800b SoC
riscv
Add dcache operations invalidate_dcache_range and flush_dcache_range for
cv1800b.
Signed-off-by: Kongyang Liu
---
(no changes since v1)
arch/riscv/cpu/cv1800b/Makefile | 1 +
arch/riscv/cpu/cv1800b/cache.c | 45 +
2 files changed, 46 insertions(+)
create
Add Sophgo cv1800b SoC to support RISC-V arch.
Signed-off-by: Kongyang Liu
---
Changes in v2:
- Remove duplicate code in function cleanup_before_linux
arch/riscv/Kconfig | 1 +
arch/riscv/cpu/cv1800b/Kconfig | 12
arch/riscv/cpu/cv1800b/Makefile | 6 ++
arch
Kongyang Liu (2):
riscv: cpu: cv1800b: Add support for cv1800b SoC
riscv: cache: Implement dcache for cv1800b
arch/riscv/Kconfig | 1 +
arch/riscv/cpu/cv1800b/Kconfig | 12 +
arch/riscv/cpu/cv1800b/Makefile | 7 +
arch/riscv/cpu/cv1800b/cache.c | 45
Heinrich Schuchardt 于2024年2月2日周五 19:11写道:
>
> On 02.02.24 10:37, Kongyang Liu wrote:
> > Add Sophgo cv1800b SoC to support RISC-V arch.
> >
> > Signed-off-by: Kongyang Liu
> >
> > ---
> >
> > arch/riscv/Kconfig |
Add configs related to sdhci and mmc for Sophgo Milk-V Duo board
Signed-off-by: Kongyang Liu
---
configs/milkv_duo_defconfig | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig
index 9eca6abfbc
Add sdhci node for cv1800b SoC.
Signed-off-by: Kongyang Liu
---
arch/riscv/dts/cv1800b.dtsi | 23 +++
1 file changed, 23 insertions(+)
diff --git a/arch/riscv/dts/cv1800b.dtsi b/arch/riscv/dts/cv1800b.dtsi
index baf641829e..11b84b5e79 100644
--- a/arch/riscv/dts
Add clk node for cv18xx SoCs according to patch from Linux kernel.
Link:
https://lore.kernel.org/all/ia1pr20mb4953355805f79abdd7fe9129bb...@ia1pr20mb4953.namprd20.prod.outlook.com/
Signed-off-by: Kongyang Liu
---
arch/riscv/dts/cv1800b.dtsi | 4
arch/riscv/dts/cv18xx.dtsi | 6 ++
2
Add sdhci driver for cv1800b SoC.
Signed-off-by: Kongyang Liu
---
drivers/mmc/Kconfig | 13 ++
drivers/mmc/Makefile| 1 +
drivers/mmc/cv1800b_sdhci.c | 243
3 files changed, 257 insertions(+)
create mode 100644 drivers/mmc
This series add sdhci driver for cv1800b SoC and enable SD card support for
Sophgo Milk-V Duo board.
Kongyang Liu (4):
mmc: cv1800b: Add sdhci driver support for cv1800b SoC
riscv: dts: sophgo: Add clk node
riscv: dts: sophgo: Add sdhci node
configs: milkv_duo: Add SD card configs
arch
Add dcache operations invalidate_dcache_range and flush_dcache_range for
cv1800b.
Signed-off-by: Kongyang Liu
---
arch/riscv/cpu/cv1800b/Makefile | 1 +
arch/riscv/cpu/cv1800b/cache.c | 45 +
2 files changed, 46 insertions(+)
create mode 100644 arch/riscv/cpu
Add Sophgo cv1800b SoC to support RISC-V arch.
Signed-off-by: Kongyang Liu
---
arch/riscv/Kconfig | 1 +
arch/riscv/cpu/cv1800b/Kconfig | 12
arch/riscv/cpu/cv1800b/Makefile | 6 ++
arch/riscv/cpu/cv1800b/cpu.c| 22 ++
arch/riscv/cpu
(first stage bootloader) provided by the vendor, and the U-Boot running in
S-Mode is unable to manipulate CSR registers, support for operations related
to enabling, disabling, or checking the status of the cache is not provided.
Kongyang Liu (2):
riscv: cpu: cv1800b: Add support for cv1800b SoC
Heinrich Schuchardt 于2024年1月28日周日 17:16写道:
>
> On 1/28/24 08:05, Kongyang Liu wrote:
> > Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC.
> >
> > Signed-off-by: Kongyang Liu
> >
> > ---
> >
> > (no changes since v3)
>
Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC.
Signed-off-by: Kongyang Liu
---
(no changes since v3)
Changes in v3:
- Add brief description of the procedure to run u-boot-dtb.bin
doc/board/index.rst| 1 +
doc/board/sophgo/index.rst | 8 +
Add support for Sophgo's Milk-V Duo board, only minimal device tree and
serial console are enabled, and it can boot via vendor first stage
bootloader.
Signed-off-by: Kongyang Liu
---
(no changes since v3)
Changes in v3:
- Enable EFI loader
Changes in v2:
- Fold the defconfig patch to
Import device tree from Linux kernel to add basic support for CPU, PLIC,
UART and Timer. The name cv1800b in the filename represent the chip used
on Milk-V Duo board.
Signed-off-by: Kongyang Liu
---
Changes in v4:
- Sync dts files with Linux kernel
Changes in v3:
- Swap patch 1 and 2 duo to
emove unnecessary environment settings of consoledev and baudrate in
config
Kongyang Liu (3):
riscv: dts: sophgo: add basic device tree for Milk-V Duo board
riscv: sophgo: milkv_duo: initial support added
doc: sophgo: milkv_duo: document Milk-V Duo board
arch/riscv/Kconfig
Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC.
Signed-off-by: Kongyang Liu
---
Changes in v3:
- Add brief description of the procedure to run u-boot-dtb.bin
doc/board/index.rst| 1 +
doc/board/sophgo/index.rst | 8 +
doc/board/s
Add support for Sophgo's Milk-V Duo board, only minimal device tree and
serial console are enabled, and it can boot via vendor first stage
bootloader.
Signed-off-by: Kongyang Liu
---
Changes in v3:
- Enable EFI loader
Changes in v2:
- Fold the defconfig patch to first patch
- R
Import device tree from Linux kernel to add basic support for CPU, PLIC,
UART and Timer. The name cv1800b in the filename represent the chip used
on Milk-V Duo board.
Signed-off-by: Kongyang Liu
---
Changes in v3:
- Swap patch 1 and 2 duo to dependency of defconfig and device tree
arch/riscv
v and baudrate in
config
Kongyang Liu (3):
riscv: dts: sophgo: add basic device tree for Milk-V Duo board
riscv: sophgo: milkv_duo: initial support added
doc: sophgo: milkv_duo: document Milk-V Duo board
arch/riscv/Kconfig | 4 +
arch/riscv/dts/Makefile | 1 +
Heinrich Schuchardt 于2024年1月15日周一 05:27写道:
>
> On 1/14/24 19:07, Kongyang Liu wrote:
> > Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC.
> >
> > Signed-off-by: Kongyang Liu
> > ---
> >
> > (no changes since v1)
> >
Heinrich Schuchardt 于2024年1月15日周一 05:57写道:
>
> On 1/14/24 19:07, Kongyang Liu wrote:
> > Add support for Sophgo's Milk-V Duo board, only minimal device tree and
> > serial console are enabled, and it can boot via vendor first stage
> > bootloader.
> >
>
Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC.
Signed-off-by: Kongyang Liu
---
(no changes since v1)
doc/board/index.rst| 1 +
doc/board/sophgo/index.rst | 8 ++
doc/board/sophgo/milkv_duo.rst | 50 ++
3
Import device tree from Linux kernel to add basic support for CPU, PLIC,
UART and Timer. The name cv1800b in the filename represent the chip used
on Milk-V Duo board.
Signed-off-by: Kongyang Liu
---
(no changes since v1)
arch/riscv/dts/Makefile | 1 +
arch/riscv/dts/cv1800b
Add support for Sophgo's Milk-V Duo board, only minimal device tree and
serial console are enabled, and it can boot via vendor first stage
bootloader.
Signed-off-by: Kongyang Liu
---
Changes in v2:
- Fold the defconfig patch to first patch
- Remove unnecessary environment settin
erial console mode.
Changes in v2:
- Fold the defconfig patch to first patch
- Remove unnecessary environment settings of consoledev and baudrate in
config
Kongyang Liu (3):
riscv: sophgo: milkv_duo: initial support added
riscv: dts: sophgo: Add basic device tree for Milk-V Duo board
doc: s
Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC.
Signed-off-by: Kongyang Liu
---
doc/board/index.rst| 1 +
doc/board/sophgo/index.rst | 8 ++
doc/board/sophgo/milkv_duo.rst | 50 ++
3 files changed, 59 inser
Add basic config for Milk-V Duo board which make it capable of booting into
serial console.
Signed-off-by: Kongyang Liu
---
configs/milkv_duo_defconfig | 24
1 file changed, 24 insertions(+)
create mode 100644 configs/milkv_duo_defconfig
diff --git a/configs
Import device tree from Linux kernel to add basic support for CPU, PLIC,
UART and Timer. The name cv1800b in the filename represent the chip used
on Milk-V Duo board.
Signed-off-by: Kongyang Liu
---
arch/riscv/dts/Makefile | 1 +
arch/riscv/dts/cv1800b-milkv-duo.dts | 38
Add support for Sophgo's Milk-V Duo board, only minimal device tree and
serial console are enabled, and it can boot via vendor first stage
bootloader.
Signed-off-by: Kongyang Liu
---
arch/riscv/Kconfig | 4
board/sophgo/milkv_duo/Kconfig
erial console mode.
Kongyang Liu (4):
riscv: sophgo: milkv_duo: initial support added
riscv: dts: sophgo: Add basic device tree for Milk-V Duo board
configs: milkv_duo_defconfig: Add initial config
doc: sophgo: milkv_duo: document Milk-V Duo board
arch/riscv/Kconfig | 4 +
82 matches
Mail list logo