From mboxrd@z Thu Jan 1 00:00:00 1970 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 E3FAFC27C76 for ; Wed, 25 Jan 2023 22:31:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B7A38856F9; Wed, 25 Jan 2023 23:30:38 +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="6qmQP7Wr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EE015856B9; Wed, 25 Jan 2023 23:29:00 +0100 (CET) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (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 973CE85705 for ; Wed, 25 Jan 2023 23:28:33 +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-pl1-x62d.google.com with SMTP id a18so310925plm.2 for ; Wed, 25 Jan 2023 14:28:33 -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=R6x3APoUsxPHqJFd92hOIg238yi0zW31Ok/+aqOn+ME=; b=6qmQP7WrNTVo+qasMf2MybPU++sQrxjDypUF6Uw3KuVcGmPXPIGxVE7IM+ipejotyK ZFeanIMoJ54uuUJH4QfPsHP2+MenSa3hOXwFe153LROAGXvSCowXMKXxJ8E8IlPyp4VD PxsTi52BLkLpeP9zoFUe8A7/KESlakwHI1hCFv5SZLf+uPyuBxaA9bFU8yFdRGQDKi24 Cn5cwXAT6nAdsVvsJg8n6h3VvWJfxgTG3UuNON4rq4LZhJo78g/TO+RBJvdJTI00hz5k IqoLfzaZm70L5aSzai83oXCH5wVKQxqhWMpXEQ96i2GckMEpgZVacWVRdRHePYhaRLmB aRsA== 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=R6x3APoUsxPHqJFd92hOIg238yi0zW31Ok/+aqOn+ME=; b=IvzYeNWFVqsvSJaoJUGkUL9mR1/tvmv2Gl2KyC+eex3TlUI1Am8/lIy3b1rCDCXNWD RLB/98/34+KcHevUa5ovEwO/Bs9RIpmGJPBqmCYONG7Fg8s4MEAbA7atA3VhZxR8Y3xQ 7Y9JwLxg465E45DlsXi+wUl7VuA4ylJkkNGRbXzJt2OFamkYr+QNVGIzcEpYjqNlUQgi So2+UXyT2M1yQZYibkUx0TPriCg3ztOu4Wb3Elncte/cE45+6pt1BXqiSfRdH7RfCPIU BSGFUxAWr4eOv5JBWRHlE1AR+f5FcbMQ56ABdklqgHl+lVRJMnwjRb8SW4utSMnsRfhC TSFQ== X-Gm-Message-State: AFqh2ko+//VlpiyG9J4Wfi5s0RpQUdzPrU+4vQFHiZGFY1QQq22iPrF1 Cpt9i4PZkOQvlFwZtDdTyC/4xA== X-Google-Smtp-Source: AMrXdXvyIyrkH4kAvQ3XplAIllnQtCdOk+wcaORnk3OFO6yR3vVE2erPkfxS12M/R59/hDyDbBMuXw== X-Received: by 2002:a17:902:968f:b0:192:d625:ecc4 with SMTP id n15-20020a170902968f00b00192d625ecc4mr32713467plp.18.1674685711132; Wed, 25 Jan 2023 14:28:31 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a238:3cb1:2156:ef87:8af5]) by smtp.gmail.com with ESMTPSA id u26-20020a62d45a000000b0058bb0b8750csm4134647pfl.88.2023.01.25.14.28.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 14:28:30 -0800 (PST) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich , fatorangecat@189.cn Cc: u-boot@lists.denx.de, Jagan Teki Subject: [RFC PATCH 15/16] ARM: dts: rockchip: Add rk3588-u-boot.dtsi Date: Thu, 26 Jan 2023 03:57:40 +0530 Message-Id: <20230125222741.303259-16-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230125222741.303259-1-jagan@edgeble.ai> References: <20230125222741.303259-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. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3588-u-boot.dtsi | 101 ++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 arch/arm/dts/rk3588-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..b5cc4dcc60 --- /dev/null +++ b/arch/arm/dts/rk3588-u-boot.dtsi @@ -0,0 +1,101 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. + */ + +#include "rockchip-u-boot.dtsi" +#include + +/ { + 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>; + }; + + sdmmc: mmc@fe2c0000 { + compatible = "rockchip,rk3588-dw-mshc", "rockchip,rk3288-dw-mshc"; + reg = <0x0 0xfe2c0000 0x0 0x4000>; + interrupts = ; + clocks = <&cru SCLK_SDMMC_SAMPLE>, <&cru SCLK_SDMMC_DRV>, + <&scmi_clk SCMI_HCLK_SD>, <&scmi_clk SCMI_CCLK_SD>; + clock-names = "ciu", "biu", "ciu-drive", "ciu-sample"; + fifo-depth = <0x100>; + max-frequency = <200000000>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>; + status = "disabled"; + }; +}; + +&gpio0 { + u-boot,dm-spl; + status = "okay"; +}; + +&gpio1 { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&gpio2 { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&gpio3 { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&gpio4 { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&scmi { + u-boot,dm-spl; +}; + +&scmi_clk { + u-boot,dm-spl; +}; + +&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"; +}; + +&sdhci { + bus-width = <8>; + u-boot,dm-spl; + mmc-hs200-1_8v; + non-removable; + status = "okay"; +}; + +&ioc { + u-boot,dm-spl; +}; -- 2.25.1