Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51856C61DA4 for ; Wed, 22 Feb 2023 07:16:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 78CA885870; Wed, 22 Feb 2023 08:16:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id EE53A8338B; Wed, 22 Feb 2023 08:16:22 +0100 (CET) Received: from mail-m11874.qiye.163.com (mail-m11874.qiye.163.com [115.236.118.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6309E8338B for ; Wed, 22 Feb 2023 08:16:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kever.yang@rock-chips.com Received: from [172.16.12.93] (unknown [58.22.7.114]) by mail-m11874.qiye.163.com (Hmail) with ESMTPA id 60AA83C01A0; Wed, 22 Feb 2023 15:16:06 +0800 (CST) Message-ID: <967df70a-b67e-b1c7-e0aa-9962a67a4363@rock-chips.com> Date: Wed, 22 Feb 2023 15:16:06 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v1 15/18] ARM: dts: rockchip: Add rk3588-u-boot.dtsi Content-Language: en-US To: Jagan Teki , Jonas Karlman , Simon Glass , Philipp Tomsich , fatorangecat@189.cn Cc: u-boot@lists.denx.de References: <20230130145749.177515-1-jagan@edgeble.ai> <20230130145749.177515-16-jagan@edgeble.ai> From: Kever Yang In-Reply-To: <20230130145749.177515-16-jagan@edgeble.ai> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZGhlJQ1ZMGB5PGRlDH0lLHh1VEwETFh oSFyQUDg9ZV1kYEgtZQVlOQ1VJSVVMVUpKT1lXWRYaDxIVHRRZQVlPS0hVSkpLSEpMVUpLS1VLWQ Y+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PBg6DRw*KD0LEA4PLkwUDEpR TkpPCyxVSlVKTUxMS05LSk1MS0hLVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlOQ1VJSVVMVUpKT1lXWQgBWUFIT09ONwY+ X-HM-Tid: 0a8677fabd1c2eb0kusn60aa83c01a0 X-HM-MType: 1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 2023/1/30 22:57, Jagan Teki wrote: > Add u-boot,dm-spl and u-boot,dm-pre-reloc related properties > for Rockchip RK3588 SoC to boot the SPL. > > Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever > --- > arch/arm/dts/rk3588-u-boot.dtsi | 7 +++++ > arch/arm/dts/rk3588s-u-boot.dtsi | 45 ++++++++++++++++++++++++++++++++ > 2 files changed, 52 insertions(+) > create mode 100644 arch/arm/dts/rk3588-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3588s-u-boot.dtsi > > diff --git a/arch/arm/dts/rk3588-u-boot.dtsi b/arch/arm/dts/rk3588-u-boot.dtsi > new file mode 100644 > index 0000000000..4c8ac804d6 > --- /dev/null > +++ b/arch/arm/dts/rk3588-u-boot.dtsi > @@ -0,0 +1,7 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. > + */ > + > +#include "rockchip-u-boot.dtsi" > +#include "rk3588s-u-boot.dtsi" > diff --git a/arch/arm/dts/rk3588s-u-boot.dtsi b/arch/arm/dts/rk3588s-u-boot.dtsi > new file mode 100644 > index 0000000000..cfcbef2fc2 > --- /dev/null > +++ b/arch/arm/dts/rk3588s-u-boot.dtsi > @@ -0,0 +1,45 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. > + */ > + > +#include "rockchip-u-boot.dtsi" > + > +/ { > + dmc { > + compatible = "rockchip,rk3588-dmc"; > + u-boot,dm-pre-reloc; > + status = "okay"; > + }; > + > + pmu1_grf: syscon@fd58a000 { > + u-boot,dm-pre-reloc; > + compatible = "rockchip,rk3588-pmu1-grf", "syscon"; > + reg = <0x0 0xfd58a000 0x0 0x2000>; > + }; > +}; > + > +&xin24m { > + u-boot,dm-pre-reloc; > + status = "okay"; > +}; > + > +&cru { > + u-boot,dm-spl; > + status = "okay"; > +}; > + > +&sys_grf { > + u-boot,dm-spl; > + status = "okay"; > +}; > + > +&uart2 { > + clock-frequency = <24000000>; > + u-boot,dm-spl; > + status = "okay"; > +}; > + > +&ioc { > + u-boot,dm-spl; > +};