Message ID | 20250210220951.1248533-1-alexander.sverdlin@gmail.com |
---|---|
Headers | show |
Series | arm64 support for Milk-V Duo Module 01 EVB | expand |
On 2025/2/11 6:09, Alexander Sverdlin wrote: > Move sophgo.yaml from riscv into soc/sophgo so that it can be shared for > all SoCs containing ARM cores as well. This already applies to SG2002. > > Add SG2000 SoC, Milk-V Duo Module 01 and Milk-V Module 01 EVB. > > Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Reviewed-by: Chen Wang <unicorn_wang@outlook.com> > --- > .../devicetree/bindings/{riscv => soc/sophgo}/sophgo.yaml | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > rename Documentation/devicetree/bindings/{riscv => soc/sophgo}/sophgo.yaml (80%) > > diff --git a/Documentation/devicetree/bindings/riscv/sophgo.yaml b/Documentation/devicetree/bindings/soc/sophgo/sophgo.yaml > similarity index 80% > rename from Documentation/devicetree/bindings/riscv/sophgo.yaml > rename to Documentation/devicetree/bindings/soc/sophgo/sophgo.yaml > index a14cb10ff3f0..5d73d0ccc547 100644 > --- a/Documentation/devicetree/bindings/riscv/sophgo.yaml > +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo.yaml > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > %YAML 1.2 > --- > -$id: http://devicetree.org/schemas/riscv/sophgo.yaml# > +$id: http://devicetree.org/schemas/soc/sophgo/sophgo.yaml# > $schema: http://devicetree.org/meta-schemas/core.yaml# > > title: Sophgo SoC-based boards > @@ -26,6 +26,11 @@ properties: > - enum: > - sophgo,huashan-pi > - const: sophgo,cv1812h > + - items: > + - enum: > + - milkv,duo-module-01-evb > + - const: milkv,duo-module-01 > + - const: sophgo,sg2000 > - items: > - enum: > - sipeed,licheerv-nano-b
On Mon, Feb 10, 2025 at 11:09:40PM +0100, Alexander Sverdlin wrote: > This series adds very basic support for Milk-V Duo Module 01 EVB [1] in > arm64 mode. The SoC (SG2000) is dual-arch, RiscV and ARM64, the latter has > been chosen because the upstream toolchain can be utilized. > .../{riscv => soc/sophgo}/sophgo.yaml | 7 +- > arch/arm64/Kconfig.platforms | 6 ++ > arch/arm64/boot/dts/Makefile | 1 + > arch/arm64/boot/dts/sophgo/Makefile | 2 + I'd expect this to be maintained alongside the riscv support, how come there's no maintainers entry change here? > .../sophgo/sg2000-milkv-duo-module-01-evb.dts | 31 +++++++ > .../sophgo/sg2000-milkv-duo-module-01.dtsi | 85 +++++++++++++++++ > arch/arm64/boot/dts/sophgo/sg2000.dtsi | 75 +++++++++++++++ > arch/arm64/configs/defconfig | 5 + > arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 64 ++++++++++--- > arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 64 ++++++++++--- > arch/riscv/boot/dts/sophgo/cv181x.dtsi | 2 +- > arch/riscv/boot/dts/sophgo/cv18xx-cpu.dtsi | 57 ++++++++++++ > arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 91 +++++-------------- > arch/riscv/boot/dts/sophgo/sg2002.dtsi | 64 ++++++++++--- > 14 files changed, 451 insertions(+), 103 deletions(-) > rename Documentation/devicetree/bindings/{riscv => soc/sophgo}/sophgo.yaml (80%) > create mode 100644 arch/arm64/boot/dts/sophgo/Makefile > create mode 100644 arch/arm64/boot/dts/sophgo/sg2000-milkv-duo-module-01-evb.dts > create mode 100644 arch/arm64/boot/dts/sophgo/sg2000-milkv-duo-module-01.dtsi > create mode 100644 arch/arm64/boot/dts/sophgo/sg2000.dtsi > create mode 100644 arch/riscv/boot/dts/sophgo/cv18xx-cpu.dtsi
On Mon, Feb 10, 2025 at 11:09:42PM +0100, Alexander Sverdlin wrote: > Move sophgo.yaml from riscv into soc/sophgo so that it can be shared for > all SoCs containing ARM cores as well. This already applies to SG2002. > > Add SG2000 SoC, Milk-V Duo Module 01 and Milk-V Module 01 EVB. > > Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> > --- > .../devicetree/bindings/{riscv => soc/sophgo}/sophgo.yaml | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > rename Documentation/devicetree/bindings/{riscv => soc/sophgo}/sophgo.yaml (80%) > > diff --git a/Documentation/devicetree/bindings/riscv/sophgo.yaml b/Documentation/devicetree/bindings/soc/sophgo/sophgo.yaml > similarity index 80% > rename from Documentation/devicetree/bindings/riscv/sophgo.yaml > rename to Documentation/devicetree/bindings/soc/sophgo/sophgo.yaml > index a14cb10ff3f0..5d73d0ccc547 100644 > --- a/Documentation/devicetree/bindings/riscv/sophgo.yaml > +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo.yaml > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > %YAML 1.2 > --- > -$id: http://devicetree.org/schemas/riscv/sophgo.yaml# > +$id: http://devicetree.org/schemas/soc/sophgo/sophgo.yaml# > $schema: http://devicetree.org/meta-schemas/core.yaml# > > title: Sophgo SoC-based boards > @@ -26,6 +26,11 @@ properties: > - enum: > - sophgo,huashan-pi > - const: sophgo,cv1812h > + - items: > + - enum: > + - milkv,duo-module-01-evb > + - const: milkv,duo-module-01 > + - const: sophgo,sg2000 > - items: > - enum: > - sipeed,licheerv-nano-b > -- > 2.48.1 >