Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7973952rwl; Tue, 10 Jan 2023 07:35:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXs28KX1irH1j1sBf0IjPzSdzz6lZxEeW9mL4xSErNRsC47IkqGR39KXQQ545NZv6iR9dc3f X-Received: by 2002:a17:902:b609:b0:192:e9cf:93ba with SMTP id b9-20020a170902b60900b00192e9cf93bamr22801761pls.12.1673364937973; Tue, 10 Jan 2023 07:35:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673364937; cv=none; d=google.com; s=arc-20160816; b=fEKXtBefpbWnDvrGNGu6llSH2QJoI8zbtrq2XoEFgs+2UJ9/kFLT2+UqezOuUUGVmZ QQaHmfyNw+Qbqx/WhDXbf0vUblrad/oez2TAVqy0RtOJMeUFBCsveZPNY57sGE4/9zDa U3yq+Mn84YSqU3F+wpLguaxad5zp0CXfiFKxBxLnQbG7VYXoLIvv3LZGbCGEI7/g0U7o Y0wf+egRXHAcLq36aXSfQV9lb+9PiBeZEI+uhWXkFPawDBlpXLAZeKKYm71cqFET8gjO RtuAOU/fhyJEHYK78Q3l4RySFpYYxDiulU0kNKHo387zUTzZdgcc5SD4/ltRIkM2OHBW HbYg== 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; bh=oENbgzqIVwmVrsX1k9enbIKjaveMWxwDpPqZFGTML/s=; b=TzhFEcDTKfLhBOszYYvShppzHftzPmla8JOnlzperhC+/5TwTFUld6iuBvN7fMp/+Y 06YNZYL9sxFKMFrU6XvNR4UxLhDxLJiF9ezl8vQXztn4/NoNU33aHi8x8OLu9nGSR5WV 8QdXpALADck18b8tjv6alaBtRBlh0oeXRUGqs4v9AuT8xf0DX7mBXzU7CQiMa4k9NZyo tqu6p17/FLRiJiITKlBgB1OApxpqiw0GGqR0WgfulZBZ1S9GZ4o307sv1uvnwzlTHiRp OLLealFaXsTGU91l3Jzm3cfz9p/n0T6GYCwDbW1x0VMiSPA6Vq8+Jbw37gp39QLwM2Om TKQQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a170902bd4500b001927e835ffasi10986957plx.119.2023.01.10.07.35.31; Tue, 10 Jan 2023 07:35:37 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238373AbjAJPJp (ORCPT + 53 others); Tue, 10 Jan 2023 10:09:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239082AbjAJPIt (ORCPT ); Tue, 10 Jan 2023 10:08:49 -0500 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9BED69B27; Tue, 10 Jan 2023 07:07:54 -0800 (PST) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pFGE8-0005Pf-AS; Tue, 10 Jan 2023 16:07:48 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Jagan Teki , Sebastian Reichel , Christopher Obbard Cc: Rob Herring , Krzysztof Kozlowski , Marc Zyngier , Linus Walleij , Benjamin Gaignard , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Michael Riesch Subject: Re: [PATCHv8 7/7] arm64: dts: rockchip: Add rock-5b board Date: Tue, 10 Jan 2023 16:07:46 +0100 Message-ID: <37476486.XM6RcZxFsP@diego> In-Reply-To: <996e39448350d4f6318f7ff59c6a2ca249fb30a7.camel@collabora.com> References: <20230109155801.51642-1-sebastian.reichel@collabora.com> <996e39448350d4f6318f7ff59c6a2ca249fb30a7.camel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SPF_HELO_TEMPERROR 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 Am Dienstag, 10. Januar 2023, 15:50:17 CET schrieb Christopher Obbard: > On Tue, 2023-01-10 at 19:30 +0530, Jagan Teki wrote: > > On Mon, 9 Jan 2023 at 21:28, Sebastian Reichel > > wrote: > > > > > > 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; > > > > I think sdhci - emmc has to be mmc0 due to boot priority. > > Hi Jagan, > > We kept eMMC as mmc1 for both ROCK 5 Model A and B to keep > compatibility with vendor kernel: > https://github.com/radxa/kernel/blob/stable-5.10-rock5/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts#L31 > > But I am happy to change the alias to mmc0, @Sebastian what do you > think? In any case, if you decide to swap things around, please just send a follow up patch, as I just applied this series :-) Heiko