From patchwork Tue Dec 20 01:12:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Feng X-Patchwork-Id: 34863 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2708443wrn; Mon, 19 Dec 2022 17:14:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5locYIqiDfFjZgqAAtlX/pWX+hEN3OoxoyamPj6LQ75zLF5etf8Y9o6jeAjrXur57L9wHA X-Received: by 2002:a05:6a00:21c1:b0:56d:dd2a:c906 with SMTP id t1-20020a056a0021c100b0056ddd2ac906mr54339195pfj.5.1671498847707; Mon, 19 Dec 2022 17:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671498847; cv=none; d=google.com; s=arc-20160816; b=Q7FzWwgFLIzMGy6P1m2/PkeQlkfwf73xDNlK0vFvzCnb3P/2dUQigFL36r+fw4z5kY 2pTQ85Jd1R7em7XVGjcy9Qs3aki3zdJIE1SyG6k2zROYGvnAfmUfp/R1yHj4K4sIujF8 Y5V/aTrAs0uG7267j3BpoRM4PPXFOP0JZz6+F/uuFXt0k1SQk9Jch+5mNX0cnIOMGq4x 4gCxN7qPIzbwTIuO4fNAiKeLrXkUFwmZw6iig6Hg3TXC+seJEi3B0/RNCOxxwudyiyv1 uQymBWPJiCG8O/VqP/uwo6VvBB5jCL2K8BrdUFCTlO5HQ7iP1vg41CugyLdu4l2AxmzA rYVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=krBHXRB+0m1lWrjVglK8Eo6pZWfkhqfutloe3l/Iy9c=; b=jY3Unb0FscdS3RVhf4COodM8uOUbgu9k6ELlu09gV3uAgAOr8jc1Wz2qWaPiDlLrOR FFLdxdnFtu0BcO2xlsQ6gX0cVaJT844e+CI3TP+uRYNt0YfjQLxtQqlFQy6Cy3GRPSnK mZdaaXQstOivzLC6vrjk+PXS5dLgLZZRmcq2g9QM3CTjonO+2Cv+bvlLdHvX5Nf28onx QuS6J3iO3Tcoz+CTqh9hIe8ntdlalKAQTXA+N4sMe/b8EDfJMi921g5mttbEfoNC3IKg x8JRfemlv9crTHvmsdl8RCh1BKbbc7083PSxIyot2r+OtI688qD1hcyl+yebORKuu/SB GW5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a62d101000000b005752602f950si11560587pfg.208.2022.12.19.17.13.55; Mon, 19 Dec 2022 17:14:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232256AbiLTBMz convert rfc822-to-8bit (ORCPT + 99 others); Mon, 19 Dec 2022 20:12:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiLTBMx (ORCPT ); Mon, 19 Dec 2022 20:12:53 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC17A11C15; Mon, 19 Dec 2022 17:12:51 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 711C624DF03; Tue, 20 Dec 2022 09:12:50 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 20 Dec 2022 09:12:50 +0800 Received: from ubuntu.localdomain (183.27.97.120) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 20 Dec 2022 09:12:49 +0800 From: Hal Feng To: , CC: Conor Dooley , Palmer Dabbelt , "Rob Herring" , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Ben Dooks , Daniel Lezcano , "Thomas Gleixner" , Marc Zyngier , Stephen Boyd , Michael Turquette , "Philipp Zabel" , Linus Walleij , Emil Renner Berthing , Hal Feng , Subject: [PATCH v3 1/7] dt-bindings: riscv: Add StarFive JH7110 SoC and VisionFive 2 board Date: Tue, 20 Dec 2022 09:12:41 +0800 Message-ID: <20221220011247.35560-2-hal.feng@starfivetech.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220011247.35560-1-hal.feng@starfivetech.com> References: <20221220011247.35560-1-hal.feng@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [183.27.97.120] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752693575647295560?= X-GMAIL-MSGID: =?utf-8?q?1752693575647295560?= From: Emil Renner Berthing Add device tree bindings for the StarFive JH7110 RISC-V SoC and the VisionFive 2 board equipped with it. VisionFive 2 board has version A and version B, which are different in gmac and phy chip. The version A board has one 1000Mbps and one 100Mbps Ethernet ports while the version B board has two 1000Mbps Ethernet ports. Link: https://doc-en.rvspace.org/Doc_Center/jh7110.html Link: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html Signed-off-by: Emil Renner Berthing Signed-off-by: Hal Feng Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/riscv/starfive.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml index 5b36243fd674..fbe3c012dadf 100644 --- a/Documentation/devicetree/bindings/riscv/starfive.yaml +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml @@ -22,6 +22,12 @@ properties: - const: beagle,beaglev-starlight-jh7100-r0 - const: starfive,jh7100 + - items: + - enum: + - starfive,visionfive-2-va + - starfive,visionfive-2-vb + - const: starfive,jh7110 + additionalProperties: true ...