.../sifive,plic-1.0.0.yaml | 1 + .../bindings/soc/sophgo/sophgo.yaml | 4 + .../bindings/timer/sifive,clint.yaml | 1 + arch/arm64/boot/dts/sophgo/Makefile | 1 + .../boot/dts/sophgo/sg2000-milkv-duo-s.dts | 85 +++++++++++++++++++ arch/riscv/boot/dts/sophgo/Makefile | 1 + .../boot/dts/sophgo/sg2000-milkv-duo-s.dts | 85 +++++++++++++++++++ arch/riscv/boot/dts/sophgo/sg2000.dtsi | 53 ++++++++++++ 8 files changed, 231 insertions(+) create mode 100644 arch/arm64/boot/dts/sophgo/sg2000-milkv-duo-s.dts create mode 100644 arch/riscv/boot/dts/sophgo/sg2000-milkv-duo-s.dts create mode 100644 arch/riscv/boot/dts/sophgo/sg2000.dtsi
This adds an initial device tree for the Milk-V Duo S board with support for reading from the SD card and network over Ethernet. This is continued work from Michael Opdenacker's v6 series [1] on the ARM64 and RISCV side. It has been tested with ARM64 and RISCV64 to boot from an SD card, have networking, and read I2C slave devices over i2c4. --- v5 - Fixes spaces at beginning of line in &usb node of DTS v4: https://lore.kernel.org/sophgo/20260328173450.219664-2-josh.milas@gmail.com/ - Rebased to latest sophogo/for-next - Added usb node to arm64 and riscv DTS - Removed sg200x link in commit messages - Added missing change to v3 and removed link from v2 v3: https://lore.kernel.org/sophgo/20251029001052.36774-1-josh.milas@gmail.com/ - Added sg2000 interrupt controller and timer to documentation - Added sg2000.dtsi for RISCV and moved DTS over to use it - remove devices from DTS's to match what is available in the default pinmux config. spi0-2, i2c0-3, uart1-4 - Added i2c4 and spi3 aliases - Removed milkv,duo-s from sophgo,cv1812h in documentation v2: https://lore.kernel.org/sophgo/20251011014811.28521-1-josh.milas@gmail.com/ - Made new entry in docs to avoid DTC error - "Milk-V DuoS" -> "Milk-V Duo S" - Sorting of aliases - Added uart*, emmc, mdio, gmac0, i2c*, spi*, dmac, saradc to device tree matching what is available on the pinout - Removal of 'no-mmc' and 'no-sdio' for sdhci0 as it works without - Added riscv device tree v1: https://lore.kernel.org/sophgo/20250927173619.89768-1-josh.milas@gmail.com/ Link: https://lore.kernel.org/linux-riscv/20240421055710.143617-1-michael.opdenacker@bootlin.com/ [1] Joshua Milas (5): dt-bindings: soc: sophgo: add Milk-V Duo S board compatibles arm64: dts: sophgo: add initial Milk-V Duo S board support dt-bindings: soc: sophgo: add sg2000 plic and clint documentation riscv64: dts: sophgo: add SG2000 dtsi riscv64: dts: sophgo: add initial Milk-V Duo S board support .../sifive,plic-1.0.0.yaml | 1 + .../bindings/soc/sophgo/sophgo.yaml | 4 + .../bindings/timer/sifive,clint.yaml | 1 + arch/arm64/boot/dts/sophgo/Makefile | 1 + .../boot/dts/sophgo/sg2000-milkv-duo-s.dts | 85 +++++++++++++++++++ arch/riscv/boot/dts/sophgo/Makefile | 1 + .../boot/dts/sophgo/sg2000-milkv-duo-s.dts | 85 +++++++++++++++++++ arch/riscv/boot/dts/sophgo/sg2000.dtsi | 53 ++++++++++++ 8 files changed, 231 insertions(+) create mode 100644 arch/arm64/boot/dts/sophgo/sg2000-milkv-duo-s.dts create mode 100644 arch/riscv/boot/dts/sophgo/sg2000-milkv-duo-s.dts create mode 100644 arch/riscv/boot/dts/sophgo/sg2000.dtsi base-commit: 9aa6068586a9b4cd34cf04f8dee72a7283ab4ae4 -- 2.53.0
On Sat, May 30, 2026 at 01:33:42PM -0400, Joshua Milas wrote: > This adds an initial device tree for the Milk-V Duo S board > with support for reading from the SD card and network over > Ethernet. This is continued work from Michael Opdenacker's > v6 series [1] on the ARM64 and RISCV side. It has been tested > with ARM64 and RISCV64 to boot from an SD card, have networking, > and read I2C slave devices over i2c4. > > --- > > v5 > - Fixes spaces at beginning of line in &usb node of DTS > > v4: https://lore.kernel.org/sophgo/20260328173450.219664-2-josh.milas@gmail.com/ > - Rebased to latest sophogo/for-next > - Added usb node to arm64 and riscv DTS > - Removed sg200x link in commit messages > - Added missing change to v3 and removed link from v2 > > v3: https://lore.kernel.org/sophgo/20251029001052.36774-1-josh.milas@gmail.com/ > - Added sg2000 interrupt controller and timer to documentation > - Added sg2000.dtsi for RISCV and moved DTS over to use it > - remove devices from DTS's to match what is available in the > default pinmux config. spi0-2, i2c0-3, uart1-4 > - Added i2c4 and spi3 aliases > - Removed milkv,duo-s from sophgo,cv1812h in documentation > > v2: https://lore.kernel.org/sophgo/20251011014811.28521-1-josh.milas@gmail.com/ > - Made new entry in docs to avoid DTC error > - "Milk-V DuoS" -> "Milk-V Duo S" > - Sorting of aliases > - Added uart*, emmc, mdio, gmac0, i2c*, spi*, dmac, saradc > to device tree matching what is available on the pinout > - Removal of 'no-mmc' and 'no-sdio' for sdhci0 as it works without > - Added riscv device tree > > v1: https://lore.kernel.org/sophgo/20250927173619.89768-1-josh.milas@gmail.com/ > > Link: https://lore.kernel.org/linux-riscv/20240421055710.143617-1-michael.opdenacker@bootlin.com/ [1] > > Joshua Milas (5): > dt-bindings: soc: sophgo: add Milk-V Duo S board compatibles > arm64: dts: sophgo: add initial Milk-V Duo S board support > dt-bindings: soc: sophgo: add sg2000 plic and clint documentation > riscv64: dts: sophgo: add SG2000 dtsi > riscv64: dts: sophgo: add initial Milk-V Duo S board support > > .../sifive,plic-1.0.0.yaml | 1 + > .../bindings/soc/sophgo/sophgo.yaml | 4 + > .../bindings/timer/sifive,clint.yaml | 1 + > arch/arm64/boot/dts/sophgo/Makefile | 1 + > .../boot/dts/sophgo/sg2000-milkv-duo-s.dts | 85 +++++++++++++++++++ > arch/riscv/boot/dts/sophgo/Makefile | 1 + > .../boot/dts/sophgo/sg2000-milkv-duo-s.dts | 85 +++++++++++++++++++ > arch/riscv/boot/dts/sophgo/sg2000.dtsi | 53 ++++++++++++ > 8 files changed, 231 insertions(+) > create mode 100644 arch/arm64/boot/dts/sophgo/sg2000-milkv-duo-s.dts > create mode 100644 arch/riscv/boot/dts/sophgo/sg2000-milkv-duo-s.dts > create mode 100644 arch/riscv/boot/dts/sophgo/sg2000.dtsi > > > base-commit: 9aa6068586a9b4cd34cf04f8dee72a7283ab4ae4 > -- > 2.53.0 > You resend drop all the tags, always send a new version with all tags applied in this case. Regards, Inochi
On Sat, 30 May 2026 13:33:42 -0400, Joshua Milas wrote:
> This adds an initial device tree for the Milk-V Duo S board
> with support for reading from the SD card and network over
> Ethernet. This is continued work from Michael Opdenacker's
> v6 series [1] on the ARM64 and RISCV side. It has been tested
> with ARM64 and RISCV64 to boot from an SD card, have networking,
> and read I2C slave devices over i2c4.
>
> [...]
Applied to for-next, thanks!
[1/5] dt-bindings: soc: sophgo: add Milk-V Duo S board compatibles
https://github.com/sophgo/linux/commit/eeec80c3ce36ead24e2f53d88a24dac1e3de8041
[4/5] riscv64: dts: sophgo: add SG2000 dtsi
https://github.com/sophgo/linux/commit/2145cd2f0082c11177b062e1ecbce121c3b50b43
Thanks,
Inochi
On Tue, Jun 02, 2026 at 04:19:05PM +0800, Inochi Amaoto wrote: > On Sat, 30 May 2026 13:33:42 -0400, Joshua Milas wrote: > > This adds an initial device tree for the Milk-V Duo S board > > with support for reading from the SD card and network over > > Ethernet. This is continued work from Michael Opdenacker's > > v6 series [1] on the ARM64 and RISCV side. It has been tested > > with ARM64 and RISCV64 to boot from an SD card, have networking, > > and read I2C slave devices over i2c4. > > > > [...] > > Applied to for-next, thanks! > > [1/5] dt-bindings: soc: sophgo: add Milk-V Duo S board compatibles > https://github.com/sophgo/linux/commit/eeec80c3ce36ead24e2f53d88a24dac1e3de8041 > [4/5] riscv64: dts: sophgo: add SG2000 dtsi > https://github.com/sophgo/linux/commit/2145cd2f0082c11177b062e1ecbce121c3b50b43 > > Thanks, > Inochi > Please ignore this, I apply the wrong patch, A new thanks will be sent after I fix this. Sorry for the noise. Regards, Inochi
On Sat, 30 May 2026 13:33:42 -0400, Joshua Milas wrote:
> This adds an initial device tree for the Milk-V Duo S board
> with support for reading from the SD card and network over
> Ethernet. This is continued work from Michael Opdenacker's
> v6 series [1] on the ARM64 and RISCV side. It has been tested
> with ARM64 and RISCV64 to boot from an SD card, have networking,
> and read I2C slave devices over i2c4.
>
> [...]
Applied to for-next, thanks!
[1/5] dt-bindings: soc: sophgo: add Milk-V Duo S board compatibles
https://github.com/sophgo/linux/commit/efe66eed43ef507a5b3784d988842d2e621806e1
[3/5] dt-bindings: soc: sophgo: add sg2000 plic and clint documentation
https://github.com/sophgo/linux/commit/972e8823d93866bc39cf6270bd5ec26d055b9d6f
Thanks,
Inochi
© 2016 - 2026 Red Hat, Inc.