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 4B71BC54EAA for ; Mon, 30 Jan 2023 15:24:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4F50F859A2; Mon, 30 Jan 2023 16:21:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=edgeble-ai.20210112.gappssmtp.com header.i=@edgeble-ai.20210112.gappssmtp.com header.b="oVGBXGgR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 695B5855F5; Mon, 30 Jan 2023 16:04:33 +0100 (CET) Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AE35E8560D for ; Mon, 30 Jan 2023 16:00:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=edgeble.ai Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=jagan@edgeble.ai Received: by mail-pj1-x102c.google.com with SMTP id cl23-20020a17090af69700b0022c745bfdc3so4744317pjb.3 for ; Mon, 30 Jan 2023 07:00:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=a8Bdo+IQAZDyU/0Oxn7um2wIEQUXMlmKmpqyo+XeY2w=; b=oVGBXGgRBmPl7bIOCrEpt76w6BZCDZghBQjVP+4Kdzedy6YMaHcUgpEvmtAeX/UPML KlIPx7HY98c963iTvpNh9sPaS7HsXkHaJ5JIEmWRgRVUXVK5ETfd7in8vH4m6qROnyuL 6Acl7Ozb+a0pwtBXJf9PS2QdYyPsnu4ZgZyV9U28nzxww/nGi39guJYtw7qWRRSLqEmg kjCm5GfhAeVxPDlKro/0XvPM8dOOTCE1WPQmDu748mpUgqx/L2KvBQdIL4GeNA7Zalb+ TkOhXWsz9deJJTeAenmuUnR2YOgkXy9iZGEHLGCh4wtIL02JoZDj9Ghbt4XuHArtZi8t w4VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a8Bdo+IQAZDyU/0Oxn7um2wIEQUXMlmKmpqyo+XeY2w=; b=JkD5jLX8huV78kQ+vXmxjyHCl2qHNdGBZFf8rpNX+bajBDUxT5YAhOXkkFxHNNBtcz qYx+Vvp3PiphNKpy8/Waoh9eMV+EMLflxVWCqPz1/wVLUmbdnBsXzkB0SAzF9xnakK7E RWnnEZEX7NzrhPIxypes9165IBX8CrNWD9n2dh6hdLQ2e79KG6aPzPf7NmFWFH0fdoZ0 X9bnqUplvhZa5/IkxC0z0J4qtq4tt3hlQqymbJ9LWeQtYPhBsQeiPamxR34V9FzVfwc0 Qp9hCA5zcclj/Pzcr/63HZC3Vq6q+kc5oUlDPTHmn6G5qvEuelWl1L18YKTkNxhP3W8G YixQ== X-Gm-Message-State: AO0yUKUTcrsANfVe3tJz5zOsstRv9nEu2Y2GSUEf8vSN+xJheKxK4nsp O+8rcPIlCtiYdzLiKtLAbVh+BQ== X-Google-Smtp-Source: AK7set9coFy/iVlECiQOzaISTbXF6ULwI5NuQLr11VlvGJ6KX+ONTXrNtuJryI39kkLoKr7KqhsH2w== X-Received: by 2002:a05:6a20:9390:b0:be:a817:ef9d with SMTP id x16-20020a056a20939000b000bea817ef9dmr1802036pzh.42.1675090731538; Mon, 30 Jan 2023 06:58:51 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a238:7d50:367e:d8d1:8afd]) by smtp.gmail.com with ESMTPSA id q19-20020a656853000000b004d09bbd023csm6916127pgt.88.2023.01.30.06.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 06:58:51 -0800 (PST) From: Jagan Teki To: Kever Yang , Jonas Karlman , Simon Glass , Philipp Tomsich , fatorangecat@189.cn Cc: u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v1 15/18] ARM: dts: rockchip: Add rk3588-u-boot.dtsi Date: Mon, 30 Jan 2023 20:27:46 +0530 Message-Id: <20230130145749.177515-16-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230130145749.177515-1-jagan@edgeble.ai> References: <20230130145749.177515-1-jagan@edgeble.ai> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 --- 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; +}; -- 2.25.1