From patchwork Wed Jul 27 17:40:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1661386 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=edgeble-ai.20210112.gappssmtp.com header.i=@edgeble-ai.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=BbUYGe92; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LtMk70t8Xz9s2R for ; Thu, 28 Jul 2022 04:29:03 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 803528446C; Wed, 27 Jul 2022 20:24:59 +0200 (CEST) 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="BbUYGe92"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3D7CB817E6; Wed, 27 Jul 2022 19:42:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 C78708409F for ; Wed, 27 Jul 2022 19:42:04 +0200 (CEST) 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-x102b.google.com with SMTP id t2-20020a17090a4e4200b001f21572f3a4so2874227pjl.0 for ; Wed, 27 Jul 2022 10:42:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RPjA0Fytogisfkr+xZBheiwFEoBl3/ve5Rzbei/CDzM=; b=BbUYGe92mwUnT9kAsaR2nPcSDstgswUy4rPsn+huu72F1/2VnGqDs8S9Bt5AX3Jfs+ 3Tx7buDmNlcvLyK8clYG47RBvCpXJiocyG6hVgWCI6ILu/4/fbxCL2EdLPqEYcnsc4ac NLOg/ONEDYbXJX2xryms065kl2riTpXWw1OgBcj8F1RrA22i/5ofgZajfe2TmhWQm2+P VMua2Uh/lQt0QgC3h038kJV3ZLcVmQAlHypFJdCX1bJPNkTHfofIZ5qwGCC96mQ3Bqbg c4eTFZ9ZeMo3nKoGOQMlTYkuBuS1cayoU5P6sBKXqptvsZJq6EkWlegChojnKK6aSbhj O5Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RPjA0Fytogisfkr+xZBheiwFEoBl3/ve5Rzbei/CDzM=; b=myiwzcoRxoPb9QBHnuQVXsY+7cJJ+oua/lsbCeQTL3ChtIU5b+WWbOg/TWsETCJOKg IZ3RTelPNP3f8OCingvb33MEu9QpukJILvU/JYvhJ0ismzsylKRlVhLkGDb+KX9JWs4o WOvlma4LPEzQS4RCYO7hwoRF7Xfm5kZw1Z9vQMvEi9rDFglZeCed5jY70WK7ff2QR5VC W2BBXY6HQY4JHGPCe95LJ2PuEDYUGp352eJ9YvXmrzHoMgiVrt7f3sTVs79wd6h6llFK pv4AhGEE6VjIMwZ7pwDyvZBZquVx6z/BTp3FhDTK4k73KvUfUYV1AMJawXj8XInjxSSq S/KA== X-Gm-Message-State: AJIora8xw1nZC0WniRLhABtE1Im2mXy4bRX3iKwtEMN1vWuHp16t7bRJ Udzid8tJbz425BOLZDCyV5DIAMJ6o4X9MIUqsNM= X-Google-Smtp-Source: AGRyM1tOwbTPNB/JUR9UpXNy5XxhdTDrlF51zf5qw0E+TJqTvzynMEteU4Vo1IVorhbIn7RfM/s1KQ== X-Received: by 2002:a17:90b:393:b0:1f2:4f10:d74c with SMTP id ga19-20020a17090b039300b001f24f10d74cmr5803700pjb.102.1658943724347; Wed, 27 Jul 2022 10:42:04 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a073:7b77:efa3:a08f:c6d8]) by smtp.gmail.com with ESMTPSA id d4-20020a621d04000000b00528c8ed356dsm14492958pfd.96.2022.07.27.10.42.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 10:42:04 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: u-boot@lists.denx.de, Jagan Teki Subject: [PATCH 27/28] ARM: dts: rockchip: Add rv1126-u-boot.dtsi Date: Wed, 27 Jul 2022 23:10:49 +0530 Message-Id: <20220727174050.2214617-28-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220727174050.2214617-1-jagan@edgeble.ai> References: <20220727174050.2214617-1-jagan@edgeble.ai> MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 27 Jul 2022 20:23:40 +0200 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 RV1126 SoC. Both eMMC and SD boot are tested in Edge Compute Module 0. Signed-off-by: Jagan Teki --- arch/arm/dts/rv1126-u-boot.dtsi | 62 +++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 arch/arm/dts/rv1126-u-boot.dtsi diff --git a/arch/arm/dts/rv1126-u-boot.dtsi b/arch/arm/dts/rv1126-u-boot.dtsi new file mode 100644 index 0000000000..bc77037760 --- /dev/null +++ b/arch/arm/dts/rv1126-u-boot.dtsi @@ -0,0 +1,62 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. + */ + +#include "rockchip-u-boot.dtsi" + +/ { + chosen { + u-boot,spl-boot-order = \ + "same-as-spl", &emmc, &sdmmc; + }; + + dmc { + compatible = "rockchip,rv1126-dmc"; + u-boot,dm-pre-reloc; + }; +}; + +&gpio0 { + u-boot,dm-spl; +}; + +&gpio1 { + u-boot,dm-spl; +}; + +&grf { + u-boot,dm-spl; +}; + +&pmu { + u-boot,dm-spl; +}; + +&pmugrf { + u-boot,dm-spl; +}; + +&xin24m { + u-boot,dm-spl; +}; + +&cru { + u-boot,dm-spl; +}; + +&pmucru { + u-boot,dm-spl; +}; + +&sdmmc { + u-boot,dm-spl; +}; + +&emmc { + u-boot,dm-spl; +}; + +&uart2 { + u-boot,dm-spl; +};