Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1661027rdb; Wed, 31 Jan 2024 05:38:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGF7Acf0EJgaNE0nZC37IAJmiEhU0cZw+ru9glKR2nHRixPqajFl9QRk8Q3y9MaZ5LHMIIV X-Received: by 2002:a05:620a:198e:b0:785:3ffa:68a5 with SMTP id bm14-20020a05620a198e00b007853ffa68a5mr573288qkb.5.1706708339652; Wed, 31 Jan 2024 05:38:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706708339; cv=pass; d=google.com; s=arc-20160816; b=BpyctGztyNnR1/PWRpn4VcU07bEAxP9QNCrlLQCjxv2Qcw58fBLRJjeau+uMN/5cOR wXOrqLncC0QFASEvr4YOFZMzvaFWyzw9bVowUi/2UG/3fsaRw2lNWyLgzm4HTyLzBXJX TNbAWUTM24EX4pI5yuH0TkEYcmZuYmmqiJIFSGgwWIy0+nIj+5847khxpewgBtx66+ie FQ7nY/b2HgXMxJt/FW4wxpQSBO2Zhc8/UxRsDEktQVB/cNdYsQRQjhpvJw+B7PlkKOVx dbYwG6GmjBiSOqu7p1A8sXmZ1/aeCeMxfkWrIuplwNseMzt3NWxAb6kokcLs+7IcBym6 mOXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=GXS8RzudnHTje8camTAaW83B54LloLXmYmp0pKdcjs8=; fh=MZ3njn94Z13au5oGnPaMXRAsGLgmeT0yRnoYa8i9ga8=; b=Gx5+2ubXebGy5K3xa1ntYq2X8vA7eQGNDWHDOYxrdcnbbMw2bPBO1dbMHsNxr5P2Vp DOqirRv8A1Oak2LVuAbDVaGwi4AL5+ZqZP47VZztAB2MZaruglDepwfzjAcJ2VtIkMld Ox9Pz/7D+HuygzojHosuJzTACRO9V+L1rRyqRWGgRLRJrw3EFLLuhbZX/Te4G6q46vVu Vv8KM5LRi0rRvBsU23zkSIYK1Y8JPVf+b5LbtGMLtktYmNqr7L5xITR655rXl4D+YpLO Fi3RDO23cr8EBWy6PgDPzZxYdMThVuUASmsVrejophkg+uRDkAdUZONyvcuA7dcO4JbU wFLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N7wOeWfN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46510-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46510-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWKJLQtQUSspa3tli5qLXpOqvMej9NhXXjMg9LiW/WmYhGch9/dk802BJSD0VtLGxY8of9Jdp1ptyDvoB0eY+NLBXipTI+lh6Kb/KzxgQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t21-20020a05620a451500b00784045f93d9si6022369qkp.665.2024.01.31.05.38.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 05:38:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46510-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N7wOeWfN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46510-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46510-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 583191C21F9A for ; Wed, 31 Jan 2024 13:38:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0684F7FBBC; Wed, 31 Jan 2024 13:38:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N7wOeWfN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27AB97BB03; Wed, 31 Jan 2024 13:38:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706708333; cv=none; b=EDrqPhYEbI8vl+3VMhBTI5DazOW8LLBBkW5hBZZ6pCVxNsVbOtneNofC0vno5hVd87wnFYnlfycBk9HAWwp043K47FOq3ULLhuGlvt+9RvidHwDWP5DaJ4YpvhRAhdJvJuJsxcQ4AJJonVjRvm64upTbk+s5iOfKFRDgiAvzaP4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706708333; c=relaxed/simple; bh=CPLp+9AYzGX3pEeWi3wlU4ZtwP5lMB44GA9+1lDqg0Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NmUHIj3fRm2144wh5f1U8pQaNh7M4/c1nXhWbshMV8hygCTN7htY55JajIRjATpH2ynh8hdnYJe4GYZcLmLTweQi+5rvq1gl0zs37Jx5JH1w1Ll3Wjek/DI+VlLjOcYyUEkR+/Ve33KAd0k1TVfviyLPky38rVjfyMscAaGwM1U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=N7wOeWfN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94E8DC43390; Wed, 31 Jan 2024 13:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706708332; bh=CPLp+9AYzGX3pEeWi3wlU4ZtwP5lMB44GA9+1lDqg0Q=; h=From:To:Cc:Subject:Date:From; b=N7wOeWfNFJ1SeWiKk+cAW/43kh5X4RTcseKgUBBaK7HVu8FeyNgcglzNeEXM2iNbt /ER/FBSdTbD8zxzkp1m6hGF1ZbEtJSt7LAvN2RjY2ZHhsrsNdnZHICJU+dntMNj7Kt +bLM6GbahqHupXQ7NAX9OsINU4u47fu2bsiiphcj6GOc8UdGxxor1JYAuTz7gx6rcs FhgUs3L3O5eFGUyU/cWIHpOxgcVw+mLwH1L/2Aek4/sHOodoDgoCWjByU2tar/oc/z aRKNv5zBHnxLe7jwzcZLyvci/++PNsc4zB8TtQyQPxkFeSjQZOUqTewp7WxDy9MBBR MeDQYGadFcmHg== From: Jisheng Zhang To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Emil Renner Berthing Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/6] riscv: dts: starfive: add Milkv Mars board device tree Date: Wed, 31 Jan 2024 21:25:54 +0800 Message-ID: <20240131132600.4067-1-jszhang@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Milkv Mars is a development board based on the Starfive JH7110 SoC. The board features: - JH7110 SoC - 1/2/4/8 GiB LPDDR4 DRAM - AXP15060 PMIC - 40 pin GPIO header - 3x USB 3.0 host port - 1x USB 2.0 host port - 1x M.2 E-Key - 1x eMMC slot - 1x MicroSD slot - 1x QSPI Flash - 1x 1Gbps Ethernet port - 1x HDMI port - 1x 2-lane DSI and 1x 4-lane DSI - 1x 2-lane CSI patch1 adds 'cpus' label patch2 adds "milkv,mars" board dt-binding patch3 ~ patch4 adopt Krzysztof's suggestions to DT node names patch5 introduces a board common dtsi for visionfive2 and mars patch3 adds the mars board dts file describing the currently supported features: Namely PMIC, UART, I2C, GPIO, SD card, QSPI Flash, eMMC and Ethernet. Since v2: - add a common board file which can be used by vf2 and mars Since v1: - add two new patches which add "cpus" label and board dt-binding - adopt Krzysztof's suggestions, thanks Jisheng Zhang (6): riscv: dts: starfive: add 'cpus' label to jh7110 and jh7100 soc dtsi dt-bindings: riscv: starfive: add Milkv Mars board riscv: dts: starfive: visionfive 2: update sound and codec dt node name riscv: dts: starfive: visionfive 2: use cpus label for timebase freq riscv: dts: starfive: introduce a common board dtsi for jh7110 based boards riscv: dts: starfive: add Milkv Mars board device tree .../devicetree/bindings/riscv/starfive.yaml | 1 + arch/riscv/boot/dts/starfive/Makefile | 1 + arch/riscv/boot/dts/starfive/jh7100.dtsi | 2 +- .../boot/dts/starfive/jh7110-milkv-mars.dts | 35 + .../jh7110-starfive-visionfive-2.dtsi | 600 +---------------- .../jh7110-visionfive2-mars-common.dtsi | 617 ++++++++++++++++++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 2 +- 7 files changed, 657 insertions(+), 601 deletions(-) create mode 100644 arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dts create mode 100644 arch/riscv/boot/dts/starfive/jh7110-visionfive2-mars-common.dtsi -- 2.43.0