Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6423621rwl; Mon, 9 Jan 2023 08:10:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXvp8pfPKydX29M8XMOGCcVlIO4GbPn7rp37ula2YkvhZJqizyi1bzfulLCRAMdrk8BSXfyo X-Received: by 2002:a05:6a20:c78e:b0:aa:15b6:6322 with SMTP id hk14-20020a056a20c78e00b000aa15b66322mr72947163pzb.42.1673280606937; Mon, 09 Jan 2023 08:10:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673280606; cv=none; d=google.com; s=arc-20160816; b=oJMd+g0xGI3/9kcOm2S+hzg2Lhl1htxs+mJzK8oytpC4wq5+Khm8Id1nGOl1cu6EQR dkBNzN4RBqxXF6goSmP0fGHHQAoTI4AJ8PjXht2RZqU8Zf9atQMJGIBYbu3N6ayzIKoS U0S4aDhI0zhERbMYEQe4ZwYWQzx9fnBLaMX8+j68rYX3aQc7SqXVQo7PJYAeZARThZdl VMwpXovorjeHK2plt7chB8EgE398fjMKHWAxjpw7R17uik3LitBI8AnJ+AIla0Q4sOuS 7UP01qmO+tSGqOPqeethd/toNr0BFkz1sgmKgDBFGAJWM2cIGvj3v/a03+zur3a2ZAE6 EVbQ== 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=Bd/j5B0vBhuhnxTZMTJMCD4iL9qq5lNSDzpGBfPIixs=; b=yRnsJIEXcE1KnTWxGSinzksPTBhFmxWve3Zedmkqj/XT/b4btWmPldYSsg1wzyUXrW M4RMCIAq1qznE1GzMavgKwf4LAP/+CT/UHlNDNC8A6HItZFg6XU+lFWN7M1ZFHKjla+d fCTDIf+TRmkgh98MMHHBNjV1oaFFKkk3paF9dL3MOHixm1T6KN6jXw81lpb840sz3sRz 0wYtUM3P91aTuryroa9JvdP8J2nUbhHntvu+JF1TpHUwOrZfeuZW+On87h/zSx5BwOGu fME3a9DE6A+gBNejW9CZ1Phi8OUhRwYD41k/1rZUmg0kBlw9Bh2J4PqiVi1y9Nmrndg8 e5hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Xqr2GHPB; 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 i3-20020a6551c3000000b004ad1e917143si7584462pgq.386.2023.01.09.08.10.00; Mon, 09 Jan 2023 08:10:06 -0800 (PST) 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=Xqr2GHPB; 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 S236688AbjAIP6X (ORCPT + 52 others); Mon, 9 Jan 2023 10:58:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234980AbjAIP6K (ORCPT ); Mon, 9 Jan 2023 10:58:10 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BE273633B; Mon, 9 Jan 2023 07:58:09 -0800 (PST) Received: from jupiter.universe (dyndsl-037-138-188-006.ewe-ip-backbone.de [37.138.188.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 565E46602D75; Mon, 9 Jan 2023 15:58:08 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673279888; bh=Aod75PABF88FguFuDgtJL/UxZx5iDuWoEMSl5YvgmK8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xqr2GHPBK2xv6ccpILHlhMXqPRvaGMstVc7xFeTiLabw5G0mPYxwIfkH5UjtMxmXN dNcdB4n2/ZV8Sbfi5jmw2Dyr/sulLNZ4lNs/SUvgD2CSGZ3OxUMHCMarEhrJBXYNl/ rFuvI9aUKr9rmTqDJRinsJT94ntQasy1r4wo2rN/aI78FQOPuo6opDgJ0DuT5Aj7s0 8l1pnl7A5d/4tdnSwEdLWd9ve5ut9vupOa9kxiUdaCuNDLthUgXvBBzOOxUdu5D2b3 uDsnLR2l0f9wkjRovbubV3IH0CENO1kj2EQbMku92+4tGfUpVIlKdNzu+wFc3fsBKT aWO3loxF7+P8A== Received: by jupiter.universe (Postfix, from userid 1000) id 8F4E648011F; Mon, 9 Jan 2023 16:58:03 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Marc Zyngier , Jagan Teki , Linus Walleij , Christopher Obbard , Benjamin Gaignard , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Michael Riesch , Sebastian Reichel Subject: [PATCHv8 7/7] arm64: dts: rockchip: Add rock-5b board Date: Mon, 9 Jan 2023 16:58:01 +0100 Message-Id: <20230109155801.51642-8-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230109155801.51642-1-sebastian.reichel@collabora.com> References: <20230109155801.51642-1-sebastian.reichel@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 From: Christopher Obbard Add board file for the RK3588 Rock 5B board. This is a basic implementation which just brings up the eMMC and UART which is enough to successfully boot Linux. The ethernet controller is connected via PCIe so support will come in a follow-up patch. Signed-off-by: Christopher Obbard Reviewed-by: Michael Riesch Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3588-rock-5b.dts | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index 87a853435142..c5bdd0176ce0 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -83,4 +83,5 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-odroid-m1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts new file mode 100644 index 000000000000..d2f1e963ce06 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3588.dtsi" + +/ { + model = "Radxa ROCK 5 Model B"; + compatible = "radxa,rock-5b", "rockchip,rk3588"; + + aliases { + mmc1 = &sdhci; + serial2 = &uart2; + }; + + chosen { + stdout-path = "serial2:1500000n8"; + }; + + vcc5v0_sys: vcc5v0-sys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; +}; + +&sdhci { + bus-width = <8>; + no-sdio; + no-sd; + non-removable; + max-frequency = <200000000>; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + status = "okay"; +}; + +&uart2 { + pinctrl-0 = <&uart2m0_xfer>; + status = "okay"; +}; -- 2.39.0