[PATCH v4 0/2] add initial Milk-V Duo S board support

michael.opdenacker
2024-04-17T06:46:52Z

This adds an initial device tree for the Milk-V Duo S board.
Last tested on linux-next on April 17, 2024.

- Changes in V4
- Remove mmc device (&sdhci0) as not working yet with linux-next
- Use "sophgo,cv1812h" compatible as on the Huashan Pi board.
Should I call the DTS cv1812h-milkv-duos.dts instead
of sg2000-milkv-duos.dts?

- Changes in V3
- Fix enum in devicetree/bindings/riscv/sophgo.yaml

- Changes in V2:
- Add a first patch to register the new compatible string
for this board.
- Use a correct SoC compatible string
- Add "disable-wp" (disable write protect) property
to enable write access to the external SD card.

Michael Opdenacker (2):
dt-bindings: riscv: add Milk-V Duo S board compatibles
riscv: dts: sophgo: add initial Milk-V Duo S board support

.../devicetree/bindings/riscv/sophgo.yaml | 1 +
arch/riscv/boot/dts/sophgo/Makefile | 1 +
.../boot/dts/sophgo/sg2000-milkv-duos.dts | 34 +++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 100644 arch/riscv/boot/dts/sophgo/sg2000-milkv-duos.dts