Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1496557rwb; Thu, 15 Dec 2022 10:44:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf4M1YhBQ+e2jWcrzMDCRtwNQjeN/SVgfXNJEqvi2VK+PyY5zfqwHiDzdMzBJHlCgwVcTJg+ X-Received: by 2002:a17:906:6d88:b0:7ae:e68c:473f with SMTP id h8-20020a1709066d8800b007aee68c473fmr24480853ejt.71.1671129884156; Thu, 15 Dec 2022 10:44:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671129884; cv=none; d=google.com; s=arc-20160816; b=094dFxo/hA3n4SB57QNzUen7rBB5b3ET/wmW+5dkxMLdC1vTRLg9IaD7HSr7qlv4me EseECAtkWElJlodIVrGw1UqyOJwd/cTO+JCiaynAitFvQVBNDJSaEq3WU0SrU3oSSBBV JtHe4a8SJg++kwdgqLIVckjX8DDijw9KKrk6Mg1CudoDu5NMrH3Uoc8jou0ZaPb1/jDG DoTi32odDBfMvb8hI8ENEUEjySGipvBLDcqj9R/amAtEt/BRSED2ppD+lKHh9LrdFPwG U62Ie4/OuJzXHCqLtF0B2fhQWfV8GBnlc+slM3qH3aLbk20VP9QjpFjruTMfUk/TRlWn rONA== 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=RxNzyYZXbCHEeFC+jB4ns9JlaiYkiVI5sdj8617HXtk=; b=sluFZgykU6sDu31wK+bd72OVcVVzA4XEeXi8qS6rf9b+aDXiVZQY2G8jy6vIk9gEr9 qEUdI0GS6BmYiYzBGPNo75KZvSOmrVrPrdAJie8AZhseVlAYb8NmAqoPCT5S0P3KVhNF WHAZrD3WVU6MVPfDhtOGGr3PUae/431qw501O+sIiWjMjyxbIZ6Ij3uzG8lvv6KkIaWS 5DL/bYMdHu9yx/bnRL/IBhZkHZHj7MqMRoCyz187kRGZ+6rYRdp99/r3zLZGv/x+zvQB o2RE1MbhmusuWv+qBqfQ7g9+5aoOM0LzU/QW7pT8gN9UCoUXIh9YU6GBO8M6fZ5vU9Do LpWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=nVxD8JnK; 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 sa32-20020a1709076d2000b007c158ddfba4si14958994ejc.295.2022.12.15.10.44.28; Thu, 15 Dec 2022 10:44:44 -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=nVxD8JnK; 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 S229879AbiLOSc6 (ORCPT + 68 others); Thu, 15 Dec 2022 13:32:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230512AbiLOSa3 (ORCPT ); Thu, 15 Dec 2022 13:30:29 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02A994AF00; Thu, 15 Dec 2022 10:30:10 -0800 (PST) Received: from jupiter.universe (dyndsl-095-033-168-084.ewe-ip-backbone.de [95.33.168.84]) (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 B5B916602C8B; Thu, 15 Dec 2022 18:30:08 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1671129008; bh=sxViAOk2X+T0FIQwHxOnT3egn5l3Se8fB7wEGSxVfJ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nVxD8JnKlmtAFSqJBCTNzTuFxQScldrv8+BCFaEGulnWsQm7ijgmSjNlpLb8fbcLk /TOQyjN8A24fSluB7r6ZpgW57w5NFah2oQ9pVnMgLPE0DH1VzMyxCy/4qBOHuOg5NY Iu4chp1/TwZJPoSa9WYjQMOr4tUV1OOfuhXLLyGd/36h23ar7BuXwel4QX1QDngc+v QQPQTmLh60kzhSxHNZFE5TMJrRNECK/HpeiqMW32rlJDbK6pPAGsZIpXOCwEzVDlRH 90ZE35xtCFeLL7C3+3dd5Qhtj1fnbY6vXaHGWw8TxkbSaazIwChWl5lIRmCcnjYFsL eKMNINZOLGphA== Received: by jupiter.universe (Postfix, from userid 1000) id 5ABDA480126; Thu, 15 Dec 2022 19:30: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: [PATCHv7 7/7] arm64: dts: rockchip: Add rock-5b board Date: Thu, 15 Dec 2022 19:30:02 +0100 Message-Id: <20221215183002.211081-8-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221215183002.211081-1-sebastian.reichel@collabora.com> References: <20221215183002.211081-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..baf46bd30b38 --- /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 5B Board"; + 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