Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1297299rwe; Thu, 1 Sep 2022 16:18:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ZQ4QG9glpaB953C0Qf5khi6eFyItziAcjiT/cjW1NL3LI1KkSjcYAXZal0iaNt7/VVFb3 X-Received: by 2002:a17:907:2ccd:b0:741:4343:80d1 with SMTP id hg13-20020a1709072ccd00b00741434380d1mr18400414ejc.572.1662074331259; Thu, 01 Sep 2022 16:18:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662074331; cv=none; d=google.com; s=arc-20160816; b=Sy2dBCdctn06Otu0g8eWC3/B97cgRMS8WTsYG5i4m60+RLRM3f4MCiW8eFNMNpV6te RLJ4nBz6NSzYZ1WcEfm+71n65OMQdDqtB05KzytYunt+qxF3bA7QbVz7ue+prZCWT7dj oWYruThcJWgK6Bs4XEjnXng1P9pPIPn2+/LI15yxnMe9rsMY5e9PEY6qyIpBqpUAA0VV /iLW7jP0puZ+8g7gihZjw8aq3C3iPGWhenv7yvVfmoOyMkuqR5Ujt5PNNmgc7qVc9/Ze euqQJ2J8S3CpuOhcAl8+QcvczP1lWxqmqitacsxCmtGsJauEhneEqNjwJt9pBrP8gj4k oEHA== 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=62IJ3eXmrsn0SRNfSz28qfyjH5fXw5k+81NwRLSi7cc=; b=hNlHXJhRcnSy9aIm4Qs1vlHrwiAtHVEPpfGpFUYC73l8v3zWFC+7jbw803QMdVkNtO 4lMqOeQWqsXQszFGC2fJjt1B1kynOZQLcWsxhPjNqRg+tjxZ0QXSPyjR7H5NEThbbyRc LTX6sJOB6HbDyb7RMqOx/m4PN3M8UWMYxLe3ttYiFLjgKet3tAGtL5UHkJSwQhU4AbwQ kmUFUkVAsk0dsf5LrgYeSRZ4tpWj+xW8UlE4SJaMqXcc9etkLXyb8l1F1nw/eFJn0rFp qzx988zrGN3X4BLbHEDC0+UHxz07uFlPZZtuAn1UENRrIlV4vFQi82H4ybf826unqV2O pyhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YGTkAEqx; 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 qa35-20020a17090786a300b00734b66a6d0dsi453347ejc.3.2022.09.01.16.18.25; Thu, 01 Sep 2022 16:18:51 -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=YGTkAEqx; 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 S235219AbiIAWnw (ORCPT + 99 others); Thu, 1 Sep 2022 18:43:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235202AbiIAWnl (ORCPT ); Thu, 1 Sep 2022 18:43:41 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F254D6B655; Thu, 1 Sep 2022 15:43:40 -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 A66776601EBD; Thu, 1 Sep 2022 23:43:39 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1662072219; bh=qSEp5SybsWViAzv/VCOFJkSqNKS5KKyfvzLsd6XpWQ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YGTkAEqx1Ndy6V+y1dADJlyc6v+uWY0JXsIUthW+1otCWlyGinNnuKJ5D/3gJ2p85 UCmBqEZjbt2SLFVvCwuVJ85VZnGtG1blrWmhiB6lopH0CxWnU0nvXEyGzbXrWsl5aD oEN9RihYRularyWLORY6LYkpFhXn/upsB3PjeCMnToyBLqzzjD/uKyopuhrz18rQq8 RmQ3r6FA7EWan0KzxOn68M+7ujxYq/gVimEHEwSEQyJIZwHGXIrySbJ9EljqYuZI/+ p/kMH9Xgt4+hnCCTguDKLh2DJNsNyapYmzkX7i3515wtvZJaKvfdzVyy6icFyZKXZw hRW4n584VNwng== From: Cristian Ciocaltea To: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Michael Zhu , Drew Fustini , Emil Renner Berthing Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH 3/3] riscv: dts: starfive: Add StarFive VisionFive V1 device tree Date: Fri, 2 Sep 2022 01:42:53 +0300 Message-Id: <20220901224253.2353071-4-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901224253.2353071-1-cristian.ciocaltea@collabora.com> References: <20220901224253.2353071-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 --- 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.2