Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5039971rwi; Mon, 17 Oct 2022 14:39:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6HovcjtERx7VRh/ZG01gdMQuOThH5QszMIVqYw5fzny4DQWRP8ysRsqLUyp4MoLhm7pUKg X-Received: by 2002:a17:906:ef8f:b0:78e:28e7:6c64 with SMTP id ze15-20020a170906ef8f00b0078e28e76c64mr10583304ejb.165.1666042759986; Mon, 17 Oct 2022 14:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666042759; cv=none; d=google.com; s=arc-20160816; b=mRbyUNudZTDDxNXBqW8k1yAqDWgvTWieRtHbcDis9TBupeBG4KtA2ZaTchzYEtHLAd jA9EtJfQ362T0OxHRUrIrHOCn6jP8MaDZQAOz5cNVQHXf//0CbxzvDMnkU1gZ+KbZcLR CJ6Phx/oJjNuHYeCzPbDLN0+k40+PZsTnhmZPF92IdTNyJKSpETU7ddPQBb/qm3A9nm3 vD7YKMxZMRcbw7NP/8DW54mq/YSliJRmnEelvE+pKrhNEp8CM3Vhg2brUQdDjtfWrg+u 3wrdX+n3Ob7VmQbYgSTPA0+G8qhQL0WXFzUJI/YI612QECIKa4lLrCOA20OKRzR5LqRV HmOg== 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=7C2knDVt8QBB5N1ohiL2m4jGI5fxT9LxP3LlUa0aXp4=; b=rzvbMx48sukW3EnAR6kpDbI/LHcFtCFAYIq16g8USwyxoPiszEbvtDgiabxDHENKfV VY+JTBMdu2lJWY3r1K4SVfB6x1xWOUUtPnFCeCqs8DOYVKK69gVzOcau+Bp6p3PBRvOh fyN3ulyN7m+3GLNRV7Zq/I1B2BsgFUgeOdAmG9ltTNrXdXAa04uOjnHvxqqnKC1v0sFi 8pkPM6n245JY+lcFIAk7YCTZxa5UgLM5602pL0A9fm5nRVhC91dl7HjUs4foJvj+xfkH vsY7LKLI6t0wmUPQYIApkPibqURGr7mcV7+k/+5+HKg2cYxx7oUzULuCb0qniqyfZph3 f5xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=bciaPkiD; 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 u7-20020a50eac7000000b004580ae4abfcsi8743148edp.460.2022.10.17.14.38.53; Mon, 17 Oct 2022 14:39:19 -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=bciaPkiD; 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 S230425AbiJQVGL (ORCPT + 99 others); Mon, 17 Oct 2022 17:06:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230410AbiJQVGC (ORCPT ); Mon, 17 Oct 2022 17:06:02 -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 8F3AB647E6; Mon, 17 Oct 2022 14:05:58 -0700 (PDT) Received: from localhost (unknown [188.24.131.113]) (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 744686602388; Mon, 17 Oct 2022 22:05:56 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666040756; bh=otsKF/+v2g1BKX/jeoDOYhNievXPsQMKLPsSjeR7+5I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bciaPkiDr8chqe4cIPG3GJilW9ioy0uPx6xaIKga1q1VCqFZ6zzWAFHIejMw3WaJ4 nzd7P5dTNYYW94sDIIqfWXAKZJsIJsrZMfUKFjvtHzIrGExqZgfIY7J9ebqi5EsskU vf4M0u0g8kutia8ltXtcbjOargt+YZd4Q2tdxyufF+hw4a3O3fbx1Ve0CboOXn/J12 lrxLEi2lDkVLusuBuSJClqaXJInn9p69iItztUxf/6Ii/Il8Q15/kaiDk0kclLYm5D H2Fo/HILbGM6C10z+TnNjsXJYrpDUXjGupZOo+BBmecwk6AZGgI9BYh0zafuKwi4nh ZcDQPewncVg1A== 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 v4 3/3] riscv: dts: starfive: Add StarFive VisionFive V1 device tree Date: Tue, 18 Oct 2022 00:05:42 +0300 Message-Id: <20221017210542.979051-4-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221017210542.979051-1-cristian.ciocaltea@collabora.com> References: <20221017210542.979051-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 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.38.0