Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1064592lqa; Sun, 28 Apr 2024 17:26:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUuQ6oW6y0mkE+5nY8oi1zff9BfTSayiiK+tJ6bt7qvasQRozCEa4hflSDX2buIJT+ScyIVxcI4x9mk3GCk59jPgUojeBvl5RizzfX/Ew== X-Google-Smtp-Source: AGHT+IFYOMKqqSSE5F4YDrmc2wwjcwQ2l9pjU6avYhWjK3qc5ddDaouL52/KnufxF4OnqSPseQzo X-Received: by 2002:a05:620a:118b:b0:790:a508:ede0 with SMTP id b11-20020a05620a118b00b00790a508ede0mr9296982qkk.64.1714350416550; Sun, 28 Apr 2024 17:26:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714350416; cv=pass; d=google.com; s=arc-20160816; b=N+4BVFMOvxHzAWnLb4EuyZQDED+pNjpFlQ5RDsWUlpgdCmynx8yMohRfy7NGWxh+LG IKN0jFu3GdMZ/KSN/ePM0YEtaNkpxufpmNsJ9bvpzgB/TgWu2O9DJDWRm6is/8efV3Ic Wl64CGWnl4vbl5r0pNlVcj/y6SARdYO34Tp7T04Ok0j0CCLuUsPVdP0DdruWeUT1CqrY 0d/O6/4mDqPxEQjQEx30YIw2pIpt6v0gi+ertk2Jir5y6+/b7KJR6dCH+1xn5DpCzjSf SdeU+42JaeHSIIUj7KSZr6vaH7JhnRfnC53uX5E+pV6VZsjfnvQm6iZAfDd7ZAKmiiOJ t63A== 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=Mss8RZ0nHkX9xkMrOe0QTbv8wdTpT45fus1tzyBc0Ko=; fh=kbAU6oRH5x8NbVM5pF41Q38yiWCWwEYU8aG0gWBHvcc=; b=V66YHI4P9Wg0wYf8Zvn1MewUoJ88+TAG4aJz2OyQczN9sjZ2V7stbhsr40gZfbABRT uuTjSwHpDXqpvqY/dVtbqRk86epLJDwmTuxbTzHAB6fG17MjFgTpeulNv8hB+nmCfk3Z GAO+fpjMisVNXKfNzm3mNDcaujpTaZUN+SwQRI5/jtouREgjAk3WFl15Sqm71Lc1G0K1 QHFZ5LIBujNMTFPLLnWdQfWyXw7TUbqfSzBGgP6EISzp6GC2EOsodNJWGahz/RDkCNto 1ft3bExTO/2TkHTICY1lEj4GRa0bRUzs4/bJX7PDzykwGIk0zdWlN6KRIMBEVc1LNETT lufw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ebDfLKTS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bj42-20020a05620a192a00b00790b26d3d96si5442984qkb.552.2024.04.28.17.26.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 17:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ebDfLKTS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161634-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 EC82A1C2096F for ; Mon, 29 Apr 2024 00:26:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1F5C7F9; Mon, 29 Apr 2024 00:26:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ebDfLKTS" 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 D53097F; Mon, 29 Apr 2024 00:26:47 +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=1714350407; cv=none; b=f/zYo+AY34nGLNLl5aD4kNxaTlHvHitnya+1rCbXkzdzRi17gO3xLZt0tvtiOagQi+jKJriG2u4NsAtqpfTgeaFaDy2t0F6hYjlrTy0CWeUomaunjPtwhr9FzPwWroQuyAECpXhfQpX5pSXwPwDTqrlSe/Qmd/Hbyu0wSS8zT7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714350407; c=relaxed/simple; bh=+4O/HYaERDN6eRkgGqOsfuJ2sG6F1FBLC5XSIYkRN5s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dv+uri/F0YmWtj0TOki9V/efHIJwofweIIiE5ZclPAYDcLK/iYbQIrVq20PqENKkS5jSvDeenjlrCX8+BrEgJwcFKmC5kKuPfeyEHlL+Yc1IVuEIw5SiY8X3L50I2evitL6Fc1rVazwJeWbg63iH8QXwkG411gFVZdrpunh7/Xo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ebDfLKTS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75C63C113CC; Mon, 29 Apr 2024 00:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714350407; bh=+4O/HYaERDN6eRkgGqOsfuJ2sG6F1FBLC5XSIYkRN5s=; h=From:To:Cc:Subject:Date:From; b=ebDfLKTSrQ4dlmo8LT/Y9amkpau0ccnbEOaESUZdtP4sZcxWdK3M8bMVFmAMff4tj lgdwkBbfMHFJ22JCywEJkfewrx4J37L0zOAsEOrGHv21lhTeNpujFKK8aSAXI0y72G uxYzihnHhoSct8uMGr+QVS14M3U9ckhgzPenN12CuEUkRC8yq/g7I+T7/K6WaZrDJL JVhgnsKvPYmeqcjo8Ee5uUkc2TaNgDqEpra+qNoevSBx+IQrJBDgZSUXlTLOtz0II+ GjKeqQijPxKQjtk5xw5/QVJ9I8jklnw+p/1b0rRdPJ3GZpLh7twHzRcRtzMiJGGT67 +5bzJ3MvtNY9Q== 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 v4 0/8] riscv: dts: starfive: add Milkv Mars board device tree Date: Mon, 29 Apr 2024 08:13:09 +0800 Message-ID: <20240429001317.432-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 v3: - collect Reviewed-by tag - rename the common dtsi to jh7110-common.dtsi - mv cd-gpios and disable-wp into jh7110-common.dtsi - fix "gmac1-rgmii-rxin-clock: 'clock-frequency' is a required property" warning 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 (8): 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: visionfive 2: add tf cd-gpios riscv: dts: starfive: visionfive 2: add "disable-wp" for tfcard 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-common.dtsi | 599 ++++++++++++++++++ .../boot/dts/starfive/jh7110-milkv-mars.dts | 30 + .../jh7110-starfive-visionfive-2.dtsi | 584 +---------------- arch/riscv/boot/dts/starfive/jh7110.dtsi | 2 +- 7 files changed, 634 insertions(+), 585 deletions(-) create mode 100644 arch/riscv/boot/dts/starfive/jh7110-common.dtsi create mode 100644 arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dts -- 2.43.0