[PATCH v2 2/7] dt-bindings: soc: sophgo: Move SoCs/boards from riscv into soc, add SG2000
Chen Wang
unicorn_wang at outlook.com
Mon Feb 10 17:29:56 PST 2025
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 at gmail.com>
Reviewed-by: Chen Wang <unicorn_wang at 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
More information about the linux-riscv
mailing list