Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp9058771rwb; Thu, 24 Nov 2022 07:34:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf6cAedHe6X4oSFrhxPL6jZ+O6wyAshmx9F0K4CXITw6J31csjI+5uzZtONoUKDwqfXmcTmA X-Received: by 2002:a17:906:d96d:b0:7ad:a210:8c20 with SMTP id rp13-20020a170906d96d00b007ada2108c20mr27598465ejb.130.1669304084647; Thu, 24 Nov 2022 07:34:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669304084; cv=none; d=google.com; s=arc-20160816; b=gI2iLScflIuwURMlObNwoVSGFqmIwCbDVWXftY6OLt5kRSpaGW0eXYl0ji/Df/L0D8 ThaTyo7xCPSq3TN6tTSA3u0sEGvWXKemJ6op537qo/pswQ1U4MB08knCmScNskpLUhbF mAydlw1qIgRZBY4uS5L/oIxzcob7PRbcTsAapuI4wq/97QblaQKIo2iRzOnThWhX+/Te XHpBFWT9hcrSOxtzfZmZh8jeRTREDiOooQHoRwwgG2n2iH9g7RGra+Dbwo7LUNjHSjch Hw0hdPFQDWJm3lvy7oDvkxiwUq+mKjNKqNEVbuvlDgpCPltmhfpSXIIRqx7QyEsCMDE8 b1XQ== 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=hb/sGqOtOQIUkyo+yYMNJGL04WT0aomKEdBd2yGbSb8=; b=prQgEjU1nvTGGbj3Ri5EUmYoY5Cga5QOBJ5yqRG9uJktcT6KboIwug5YLQ1h2bvVxt KOqqNKZMBp8s8oFcDGmhzGYglvCPN2mdy1vBbR4s9Pk8Jyo9/WrSB9qJKLpU0mb2hOnA ulEWD9oYf+pFVlKNfYhLuuKG8P0CZQQUKmKTkdkh5H8AeDb6xJo4eDwwKnIw7IhmIB10 v3fPMJe4hNi4Fj6BB2NN7L33qO583OpKmKWwPDBoL7EBBNQJG8SJcre5OH8r4XfkDYzw sl+jaq9O5Q1EO1X/36Ws/5+jsabrD8+6UNvB90+4h04rz9xkH7hi08tFEdAKPUr/Lwip eDNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=PFtCXiWb; 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 dn3-20020a17090794c300b007ae0ea7fba6si1289023ejc.237.2022.11.24.07.34.23; Thu, 24 Nov 2022 07:34: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=PFtCXiWb; 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 S229783AbiKXOtt (ORCPT + 86 others); Thu, 24 Nov 2022 09:49:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbiKXOtg (ORCPT ); Thu, 24 Nov 2022 09:49:36 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00D52FAEB2; Thu, 24 Nov 2022 06:49:35 -0800 (PST) Received: from jupiter.universe (dyndsl-095-033-156-095.ewe-ip-backbone.de [95.33.156.95]) (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 83B156602B43; Thu, 24 Nov 2022 14:49:34 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1669301374; bh=+xOzzxjBpMgXK81/R3EEoYOvapr5v3i2wAM7sTSsSkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PFtCXiWb8Luo29ODJbiGAXbaKkXa2CMCrz8OBtjU57l+tmQ9US9LSUCvAnleIBQkD vTeW88azVx1gIREiEFwSnmeDLkpLsIoUYvHZ8+HRfskv3hIqSkRK//ogRND5gcx4Wd AvjW9lv0nrcCIAEiIzgqeelTGUhoB8GhOEh8MOhyIv0XnWBmK3FEZ6tDUxuRBCsaCO 6pUqKuI0q9mOj61UB5lRqalZU4TaPqrxkLjkEoP+RnJyZVN+T4FTAJ2NkdGFxuq25X AqnzvoQO+74bcfyQsFlHLB3k1AnBYWsTRPenbIEMiCfBjgjEiLZXT3WdZhd6/sgCDh Tv+JQnhnYbvGQ== Received: by jupiter.universe (Postfix, from userid 1000) id 68900480122; Thu, 24 Nov 2022 15:49:29 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Linus Walleij , Christopher Obbard , Benjamin Gaignard , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Sebastian Reichel Subject: [PATCHv4 7/7] arm64: dts: rockchip: Add rock-5b board Date: Thu, 24 Nov 2022 15:49:28 +0100 Message-Id: <20221124144928.35381-8-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221124144928.35381-1-sebastian.reichel@collabora.com> References: <20221124144928.35381-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 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 31fa55750a0f..b31aa1b0e9e3 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -73,4 +73,5 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.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.38.1