[PATCH 2/3] arm64: dts: sophgo: add initial Milk-V Duo S board support

Inochi Amaoto inochiama at gmail.com
Sun Oct 12 17:43:20 PDT 2025


On Sat, Oct 11, 2025 at 03:19:19PM -0400, Joshua Milas wrote:
> Hi Inochi,
> 
> > Only enable device that can be accessed directly. These devices share
> > some pins and only one of them can be used. I suggest enabling devices
> > that are accessed by default (which means it is compatible with the
> > vendor kernel).
> 
> I decompiled the vendor device tree and will match what is in that.
> Surprisingly most of these are enabled there. 

Yeah, the vendor enable almost all, but it can not access at
the same time. The pinmux control which device can be accessed
IIRC, milkv already provides a tool, named duo-pinmux, for you
to check the pinmux.

> I also tried to check the pinouts [1] but didnt really get anything
> out of it.
> 
> Link: https://github.com/milkv-duo/duo-files/raw/refs/heads/main/duo-s/hardware/SG2000-PINOUT.xlsx [1]

You need to dump the pinconf register and check the configuration
with the document (the link you mentioned).

Regards,
Inochi



More information about the linux-riscv mailing list