[PATCH v2 2/2] riscv: dts: spacemit: Add OrangePi RV2 board device tree
Yixun Lan
dlan at gentoo.org
Fri Jul 18 03:07:32 PDT 2025
Hi Vivian,
On 17:10 Fri 18 Jul , Vivian Wang wrote:
> Hi Hendrik,
>
> On 7/18/25 16:43, Hendrik Hamerlinck wrote:
> > Add initial device tree support for the OrangePi RV2 board [1], which is
> > marketed as using the Ky X1 SoC but has been confirmed to be
> > identical to the SpacemiT K1 [2].
> >
> > The device tree is adapted from the OrangePi vendor tree [3], and similar
> > integration can be found in the Banana Pi kernel tree [4], confirming SoC
> > compatibility.
>
> This isn't particularly crucial, but I wonder if we can do something
> similar to a jh7110-common.dtsi arrangement, where most of the boards
> sharing similar designs can also share devicetree source files.
>
> Easier said than done, probably, but I think it should be possible by
> just comparing the vendor dts files.
>
> Again this doesn't need to block this patch.
>
Sure
> Yixun: I'm assuming you'll be handling this. What do you think about a
> k1-common.dtsi?
>
Sharing dtsi file for similar boards is generally fine, I saw a few
other SoC maintainers have done the same..
In the practical cases, we have to evaluate and plan carefully, it
should be manageable to support fixed number of boards for one file,
but would be nasty if expect one common dts file to cover all boards..
Anyhow, I think we can revisit this idea and having incremental patch
later, it's not the problem for now
Thanks for the suggestion
--
Yixun Lan (dlan)
More information about the linux-riscv
mailing list