From patchwork Mon Oct 17 21:05:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 238 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1643560wrs; Mon, 17 Oct 2022 14:11:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7wl5i6CAyJHIOQfQ7IhEki8xlCd0xvv5Fb2fd+r7Dzc3lnuEihy4u9dYs2ueWfPLxRraCo X-Received: by 2002:a05:6a00:4093:b0:563:2d96:8f44 with SMTP id bw19-20020a056a00409300b005632d968f44mr14588230pfb.4.1666041074276; Mon, 17 Oct 2022 14:11:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666041074; cv=none; d=google.com; s=arc-20160816; b=Tj9qm9aQfY0PnnncO6mZP10rr4TMEKiUH1NWPGQ6pZJNf9ZQlxgrgfUfo8pyKPYl/v lzHnyevKIELSfudTsJ8aKukd2OiMrWFAFPXvRq7SD0axbaFd2Vi5H/cWCyuSln0gS/In R9YUaaziwhXBdLYVKOfsQeLuE47sIV5CwpgfLXSVY3YkB5BxNF6R/UhUrxZLOwcmckwN vAZqhhBc1J4jYMBnFIMIUBJgfBL8QVmevlTSh6bb52lXuBwvgGNCUvQ/Y1WHbwhT2EcR NukhZW84U/Qkd0IK187V40FU9q8LbuSkRCZ3nnm0yPixQN/Jh6kMRrxSRwAV/Rh5rqfr Rv8A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=KUUHvCYqorRKTLVxmZkKYEiNhtdMDRGuBucHgcfyIMM=; b=Kvobn2+4GnUa+J8/uehgf0TamDNwz3g3N4Gq6pjTzKxqnmnEUjexF6PTJrnHd54e1h s/T9aalBDJqjkoIVboNuBxcodE3tSu54bSaQJ3OdbESe9MIILsNeSc4vygyZ8zmzMylP TYHNkaQsKvYz/LMjA2xNrmSHcLI3F9oNdJNeGxz1/qcGT1I7cCTwgV3NDO2fTUKo0TiG lzfiUu4mLNllmuSJB7nYNMNxzW6upGnrvvyuS5CA2VuNM7MtgQo+0Gy8hf6DA6A9487M 9abvHkBb/quD9it0bjWQEWdKZY08kDfiI5kVjIc4tmHfLbNP68pybdSykT2M0Qw7vi3S aruQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=dTR9uYje; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b6-20020a170902d88600b00178af7f1832si12246247plz.216.2022.10.17.14.11.01; Mon, 17 Oct 2022 14:11:14 -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=dTR9uYje; 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 S230291AbiJQVFz (ORCPT + 99 others); Mon, 17 Oct 2022 17:05:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230159AbiJQVFv (ORCPT ); Mon, 17 Oct 2022 17:05:51 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EF4458DFE; Mon, 17 Oct 2022 14:05:49 -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 74FE0660229A; Mon, 17 Oct 2022 22:05:47 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666040747; bh=T9SO0KJzI7t9t5kHCa7qShjSy9PVO9xpWQIv8eD/WbY=; h=From:To:Cc:Subject:Date:From; b=dTR9uYjecKkmtUW+D9wQ7+Cr+YRiXo/t87DUK/2JZ6Q/MaU8pGkGSPgt1dJie1ElZ 3UAUDhyEo39kbkYstLTm8F024Ht7QAQb9/ZfAvM3+Ek++qVRSpk4mnjqA6rlowFPt9 m6JVloC3B6DtwICTS4IPRqoZHJwvNaIaYUhWNcn+ijc0IZ/cdA/PqJIX3DtLgGKtU4 qMlt3FnJoxMZBqRzvxlmhELbHR7/wJIyqq6b+WDIbATO23dK+xwBWcepWURiPLetiS LDjEAmZFyLdacoRCS7L2/LCj+9SznAfQtUC3x62uybOjQWsNoBg+sxKC0a7hlKT87+ YZ3kqRof1EN+Q== 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 0/3] Enable initial support for StarFive VisionFive V1 SBC Date: Tue, 18 Oct 2022 00:05:39 +0300 Message-Id: <20221017210542.979051-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746970685720190109?= X-GMAIL-MSGID: =?utf-8?q?1746970685720190109?= The StarFive VisionFive V1 SBC [1] is similar with the already supported BeagleV Starlight Beta board, both being based on the StarFive JH7100 SoC. In addition to documenting the necessary compatibles, this patch series moves most of the content from jh7100-beaglev-starlight.dts to a new file jh7100-common.dtsi, to be shared between the two boards. No other changes are required in order to successfully boot the board. [1] https://github.com/starfive-tech/VisionFive Changes in v4: - Rebased onto v6.1.0-rc1 - Fixed a conflict in patch 2/3 as pinctrl-starfive.h has been renamed to pinctrl-starfive-jh7100.h Changes in v3: - Added Reviewed-by tag from Krzysztof in patch 1/3 - Optimized patch 2/3 by enabling copy detection on "git format-patch", as indicated by Krzysztof Changes in v2: - Simplified documentation by using 'enum' instead of 'const' in patch 1/3, according to Conor's review - Added Reviewed-by tags from Conor Cristian Ciocaltea (3): dt-bindings: riscv: starfive: Add StarFive VisionFive V1 board riscv: dts: starfive: Add common DT for JH7100 based boards riscv: dts: starfive: Add StarFive VisionFive V1 device tree .../devicetree/bindings/riscv/starfive.yaml | 4 +- arch/riscv/boot/dts/starfive/Makefile | 2 +- .../dts/starfive/jh7100-beaglev-starlight.dts | 153 +----------------- ...aglev-starlight.dts => jh7100-common.dtsi} | 3 - .../jh7100-starfive-visionfive-v1.dts | 20 +++ 5 files changed, 25 insertions(+), 157 deletions(-) copy arch/riscv/boot/dts/starfive/{jh7100-beaglev-starlight.dts => jh7100-common.dtsi} (96%) create mode 100644 arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780