Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7920022rwl; Tue, 10 Jan 2023 07:02:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXvLNR0BDZiIUBH/3jfNjQvES1N/mtyGYd3MWG8Uwg6nqfLpBJOIplNZ9gtJg5QNMgH0pRus X-Received: by 2002:a05:6402:320c:b0:499:b3db:6aa3 with SMTP id g12-20020a056402320c00b00499b3db6aa3mr7342667eda.1.1673362960186; Tue, 10 Jan 2023 07:02:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673362960; cv=none; d=google.com; s=arc-20160816; b=Nh4CU6eRDnohBSPfYdDDB2lhBCeMY2aAoSbSpomfPKDHd1bJxRKwoTA7QIDZlvHGSD RhzENCaBm0121jxVwxFcM5FNqt10BVDsHWGo+WrH9gsZof5PDcBMxqYt5gPLfvEHVNHc y1c/SYDhwI6jXSvikTX97DPwnb956hotrgkZ3aaoRVnjjq2TSG1OfmtdeklhxQat/a69 wCN/x1WPo2L+pFIgTQF4CcZIApLevd+TxWm3DiNQVcsSX5zKkT2R6rni08glypXNNxK/ qSwv5UgG17K3eReHL29s4w5tvOdAXivz5bICzgk1DERFmg2o9K3N/XNQ5LpHgnjs8ng6 NuPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=PuiPwo9HwFOEDukFjeBEsAsNhLoAsOISooyAzQZgE/w=; b=ovgcl0vAPYHyZ0GjIp6DKAZ4025LbzNq9W7ErWttJK+8PQGpITRV0QVvgtCTsSX0q4 okW852AIFDrq8IkQN4b1f/0kPX+BciDqXO9yksrJjQPw6jZbdXb88uUb2/NLjCue24pv Hg+LJ2Jh9ClzLIn2oQOBaH4acrTadq1iTOFCHxMV68RGNKN707KA8+l8r0sXQlOken+T Or0RfTck4VSw6IHIQQPUlFVzA9/JRcJizXdVW/NYfU4bGMpxma/l7D/nBdinlf3lYRu4 Aw9IDvjhweVz0jqaAN9Bx6+uABqznYmR/6WQIHbA/rtmNURMAGQRgh59uStXCf8P2Q5y dNBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UivahFaq; 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 m19-20020aa7d353000000b0047f2b102941si10918525edr.361.2023.01.10.07.02.26; Tue, 10 Jan 2023 07:02:40 -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=UivahFaq; 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 S238703AbjAJOug (ORCPT + 53 others); Tue, 10 Jan 2023 09:50:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238697AbjAJOuW (ORCPT ); Tue, 10 Jan 2023 09:50:22 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 928B44FCF2; Tue, 10 Jan 2023 06:50:21 -0800 (PST) Received: from [IPv6:2a00:23c7:6883:e501:329c:8425:8e97:eae9] (unknown [IPv6:2a00:23c7:6883:e501:329c:8425:8e97:eae9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: obbardc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 333C76602D2B; Tue, 10 Jan 2023 14:50:20 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673362220; bh=PuiPwo9HwFOEDukFjeBEsAsNhLoAsOISooyAzQZgE/w=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=UivahFaqCKHK7Q4kYjRZ0yMLGxV6O43ZLqbqa963ojOEkNEB00rZgasESwe0l2Yly agYPc543Wp1sa0jIwBe4BxXlXGHhhD4xouGAZkfnF0uoy83jcy+UJ6QQrYPljyA8A9 GDt73mfiVhgocAEv/1rD30/SaT3QWBl43/pSQMXLmEOSXLsurpEw9X3tmC0kxGNMut KhQ1woUZVdY9zEDahM92UaQ076g8q6MnGLwLgt16OKCyWbBuxR+hnhD1dnbbm9H8y3 IOjnSmv0h+2rLVVXJoSLArvVme9SsqJGkFc4cZ7SIug/VkbEkT+e6q7r6orOwlJu8X Sl2MxGQHm8uEw== Message-ID: <996e39448350d4f6318f7ff59c6a2ca249fb30a7.camel@collabora.com> Subject: Re: [PATCHv8 7/7] arm64: dts: rockchip: Add rock-5b board From: Christopher Obbard To: Jagan Teki , Sebastian Reichel Cc: Heiko Stuebner , 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 Date: Tue, 10 Jan 2023 14:50:17 +0000 In-Reply-To: References: <20230109155801.51642-1-sebastian.reichel@collabora.com> <20230109155801.51642-8-sebastian.reichel@collabora.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.2-1 MIME-Version: 1.0 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 On Tue, 2023-01-10 at 19:30 +0530, Jagan Teki wrote: > On Mon, 9 Jan 2023 at 21:28, Sebastian Reichel > wrote: > >=20 > > From: Christopher Obbard > >=20 > > 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. > >=20 > > The ethernet controller is connected via PCIe so support will > > come in a follow-up patch. > >=20 > > Signed-off-by: Christopher Obbard > > Reviewed-by: Michael Riesch > > Signed-off-by: Sebastian Reichel > > --- > > =C2=A0arch/arm64/boot/dts/rockchip/Makefile=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 |=C2=A0 1 + > > =C2=A0.../boot/dts/rockchip/rk3588-rock-5b.dts=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 | 44 > > +++++++++++++++++++ > > =C2=A02 files changed, 45 insertions(+) > > =C2=A0create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dt= s > >=20 > > 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) +=3D rk3568-evb1- > > v10.dtb > > =C2=A0dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3568-odroid-m1.dtb > > =C2=A0dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3568-rock-3a.dtb > > =C2=A0dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-evb1-v10.dtb > > +dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D rk3588-rock-5b.dtb > > =C2=A0dtb-$(CONFIG_ARCH_ROCKCHIP) +=3D 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" > > + > > +/ { > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 model =3D "Radxa ROCK 5 Model B"; > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 compatible =3D "radxa,rock-5b", "= rockchip,rk3588"; > > + > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 aliases { > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 mmc1 =3D &sdhci; >=20 > 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? Thanks Chris