On 10.01.2026 8:32, Emmanuel Vadot wrote:
Hello,
On Sat, 10 Jan 2026 05:05:51 +0000
Warner Losh <[email protected]> wrote:
The branch main has been updated by imp:
URL:
https://cgit.FreeBSD.org/src/commit/?id=b55d106df9785d141f9e3e1c916e921df9d877ac
commit b55d106df9785d141f9e3e1c916e921df9d877ac
Author: Martin Filla <[email protected]>
AuthorDate: 2025-09-09 14:34:38 +0000
Commit: Warner Losh <[email protected]>
CommitDate: 2026-01-10 05:05:38 +0000
ophgo: import new .dts
Signed-off-by: Martin Filla <[email protected]>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1844
---
.../include/dt-bindings/clock/cv181x-clock.h | 175 ++++
.../include/dt-bindings/dma/cv181x-dmamap.h | 48 ++
.../include/dt-bindings/reset/cv181x-resets.h | 172 ++++
.../src/riscv/sophgo/cv181x_asic_bga.dtsi | 56 ++
.../src/riscv/sophgo/cv181x_asic_emmc.dtsi | 4 +
.../src/riscv/sophgo/cv181x_asic_qfn.dtsi | 120 +++
.../src/riscv/sophgo/cv181x_asic_sd.dtsi | 4 +
.../src/riscv/sophgo/cv181x_asic_spinand.dtsi | 5 +
.../src/riscv/sophgo/cv181x_asic_spinor.dtsi | 5 +
.../device-tree/src/riscv/sophgo/cv181x_base.dtsi | 932 +++++++++++++++++++++
.../src/riscv/sophgo/cv181x_base_arm.dtsi | 320 +++++++
.../src/riscv/sophgo/cv181x_base_riscv.dtsi | 378 +++++++++
.../src/riscv/sophgo/cv181x_default_memmap.dtsi | 25 +
.../sophgo/sg2000_milkv_duos_glibc_arm64_emmc.dts | 108 +++
.../sophgo/sg2000_milkv_duos_glibc_arm64_sd.dts | 112 +++
.../sophgo/sg2000_milkv_duos_musl_riscv64_emmc.dts | 108 +++
.../sophgo/sg2000_milkv_duos_musl_riscv64_sd.dts | 108 +++
.../src/riscv/sophgo/sg2000_wevb_arm64_sd.dts | 13 +
.../src/riscv/sophgo/sg2000_wevb_riscv64_sd.dts | 10 +
sys/modules/dtb/sophgo/Makefile | 15 +
sys/riscv/conf/GENERIC | 1 +
sys/riscv/conf/std.sophgo | 8 +
sys/riscv/sophgo/files.sophgo | 2 +
23 files changed, 2729 insertions(+)
This adds a lots of files to sys/contrib/device-tree, I though we said
that this directory should be mostly pristine compared to upstream and
only contain small modifications.
I do not see those files in latest upstream too, but there is some
sophgo related stuff in there, where do those files comes from ?
+1
Vendor DTs are very rarely accepted by mainstream in compatible manner.
Importing them therefore spells nightmare for future updates.
Also, adding "sys/riscv/conf/std.sophgo" and
"sys/riscv/sophgo/files.sophgo" without any basic SoC driver (clock,
reset, pinctrl) does not sounds right.
Michal