Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp728753rwn; Thu, 8 Sep 2022 08:03:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR7FuZRjtLnlXk9uKLjgHU9xC9i9K+8SJo7EeoLTXiIAlMTijMnC5aX/3gzHqu55Vl+utKpt X-Received: by 2002:a17:90b:4a4b:b0:202:5bbb:b7b6 with SMTP id lb11-20020a17090b4a4b00b002025bbbb7b6mr4736284pjb.161.1662649392236; Thu, 08 Sep 2022 08:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662649392; cv=none; d=google.com; s=arc-20160816; b=T+ptsy8xvrDmTNgn1ePl87BTyuyJbs/BrnuL8Wl2Jhaqzse1KaDs9y5RYoRMVOZUmQ I5tcmwPN/ZzlndSYsd/aubG2q9Hux3nu67/BPNIsiLRA9GX+WobWunv/YLMaZw1/T/4d vRvkOet1kTHw3PEaCH8DfcclZ5lbl/gNku9vhIEhbs74lLJ1bro1NFS/5/YxvJZnKdsg JSdvM5ASJIgMWdNl+ZQOdx70vMtiveB3xZ4wjYgQO+XleKnmB9kW3cxDn1FbMuRgB+rv vwH4se5Si2KV2TcNg3RqRhcNVKTtQ+by63kCrP/rwzooVPxvkV3B/wMKtRZ0vdqM6EYX vkbg== 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 :dkim-signature; bh=5CXGW7ZdJpQQTcUIukdCyw71ShxFlgWMuCPHSudrVhw=; b=oE7tExpQAY9iH5HzVNgnQqLtmYanNySSdfYTpXEsWesez18KY4aFVjtbzByOCNzt8I 9swcG6LRhuwOrqwPyJHyMdip6SR07HM2J+0k/WnxHQc634ekM1tRg58uW5zmAhil1LvW 8mnUih1zRr5fQSLSL+Ftc2VNcYpMURs89NjFDe3kEoetc5E2MPhSp+NBaioN1rWux4K4 AObqkHy+6LGjUEQphe6XRxQ7LD33/N85pxgUCoQQ5mdU8cQShxk8exioxUjVQlIQ3D6F VhvHJqYxTRpXYZEV0tpv8q9vG/RvyfnOSF0CyfniToI/Bxq9jRlGMv4Zmd9O5J1FCLn/ G4Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="cxX/oy+d"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a63fa04000000b0042b82ff51absi20642148pgh.387.2022.09.08.08.02.57; Thu, 08 Sep 2022 08:03:12 -0700 (PDT) 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; dkim=pass header.i=@collabora.com header.s=mail header.b="cxX/oy+d"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232655AbiIHO3r (ORCPT + 99 others); Thu, 8 Sep 2022 10:29:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232229AbiIHO3b (ORCPT ); Thu, 8 Sep 2022 10:29:31 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 515E4656E; Thu, 8 Sep 2022 07:29:30 -0700 (PDT) Received: from localhost (unknown [188.27.54.142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 0D0616601F99; Thu, 8 Sep 2022 15:29:28 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1662647369; bh=pxoD8z9fXyetfYAqvgFgH+ysSfdhToJ2Wt5ieZT6vrA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cxX/oy+da1k4HNdiQCVI3ALQhOIcQVJb+MGrFu9/14eWNm3a28l+NHIp/BNc2DfzZ KrOMyZmvoFq0KviV88E0hvtAJWYTbn0iQDSH3B4f1/GIZL/UVYl9iMjrOBNJL+SxZ9 iAVhrjBcaVnuSwlG+plB2RXPg03mQ68oqBk0SV0N3R+7upTV4TobFcOse1qRMrygiP kb6lGI0+/fFGPfBdyFDH/CA866NK/Wpp8Si0Rpb8dc823Xy1ETgUDEKOOy0yG2ut+r E5Ao3OgyNne4tZxczN6srsWsDqvK81BO1mFtGdd2tnIO6s/Ln9Ozno76IUoNtiViW3 pw4G0gz3+1Huw== From: Cristian Ciocaltea To: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Michael Zhu , Drew Fustini , Emil Renner Berthing , Conor Dooley Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH v3 3/3] riscv: dts: starfive: Add StarFive VisionFive V1 device tree Date: Thu, 8 Sep 2022 17:29:14 +0300 Message-Id: <20220908142914.359777-4-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220908142914.359777-1-cristian.ciocaltea@collabora.com> References: <20220908142914.359777-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Add initial device tree for the StarFive VisionFive V1 SBC [1], which is similar with the already supported BeagleV Starlight Beta board, both being based on the StarFive JH7100 SoC. [1] https://github.com/starfive-tech/VisionFive Signed-off-by: Cristian Ciocaltea Reviewed-by: Conor Dooley --- arch/riscv/boot/dts/starfive/Makefile | 2 +- .../jh7100-starfive-visionfive-v1.dts | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts diff --git a/arch/riscv/boot/dts/starfive/Makefile b/arch/riscv/boot/dts/starfive/Makefile index 0ea1bc15ab30..039c143cba33 100644 --- a/arch/riscv/boot/dts/starfive/Makefile +++ b/arch/riscv/boot/dts/starfive/Makefile @@ -1,2 +1,2 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_SOC_STARFIVE) += jh7100-beaglev-starlight.dtb +dtb-$(CONFIG_SOC_STARFIVE) += jh7100-beaglev-starlight.dtb jh7100-starfive-visionfive-v1.dtb diff --git a/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts b/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts new file mode 100644 index 000000000000..e82af72f1aaf --- /dev/null +++ b/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (C) 2021 StarFive Technology Co., Ltd. + * Copyright (C) 2021 Emil Renner Berthing + */ + +/dts-v1/; +#include "jh7100-common.dtsi" +#include + +/ { + model = "StarFive VisionFive V1"; + compatible = "starfive,visionfive-v1", "starfive,jh7100"; + + gpio-restart { + compatible = "gpio-restart"; + gpios = <&gpio 63 GPIO_ACTIVE_HIGH>; + priority = <224>; + }; +}; -- 2.37.3