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 70189C4332F for ; Thu, 3 Nov 2022 06:41:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9059D850B8; Thu, 3 Nov 2022 07:39:30 +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="TbWpuscS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 391E585150; Thu, 3 Nov 2022 07:39:26 +0100 (CET) Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (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 DDA268515B for ; Thu, 3 Nov 2022 07:39:19 +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-x102e.google.com with SMTP id b1-20020a17090a7ac100b00213fde52d49so957376pjl.3 for ; Wed, 02 Nov 2022 23:39:19 -0700 (PDT) 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=jXIxoEC7LIvYC22KyA2F8PRl0vZT2b0e291wsODz4Ac=; b=TbWpuscSMswWp1BpH0ypC4+iSg1kEtYiCCJ8etxGr0Tf8eh4SDy9tYq6kk/FOD28u3 CHcXjPfEfj6WzEVWzWYQV4ssjn93OMz0GV3+6giFVFZcZJ0F/6kU53F6ZeDz1/suDEVe q0kDsW8A3oVDpHrFJuLHkV4Aa2XVSzFXIthGF9vISUDJlY1UvWCiEn+Wm9I7VefMHB/j wPp0YYIEgPC6+eSR3DtytydAQX77kXT6rnCHpY/z7QxCM5+ZX1O4bvjxDDYwdbKVNx3J SbAUjFsNX61Gu0Cwz001vBB1friEULrNpKVzHBRE3LrX3zE/7nd83Hx2Lm/AjYYGaMZp jStA== 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=jXIxoEC7LIvYC22KyA2F8PRl0vZT2b0e291wsODz4Ac=; b=o2F2FtYNFMRMxk6bwm08Mi1n0LBKq7JO+p/98RBfxOR+cXvgMShDndqr5a/2uBvs2r M3eOA1PbJqe47AvCBhhH28S05miuzKZYa90cBeST7A7xz+psRbWi+vOQyO20EM2BjvWM GpbmfDHzRBp+/BDb1nNGHDdqlCP1Tem2ps0ra2LjzFp4qXcGBeFCo+A43V4Yv+1a+BzX RrE5gnOEWR0jye+d7H/KmV72/wykZ9MsNOuTiaBoq16HyWD6Uv06HW6CfZLZ53Nw6S5Z mhbIqqQ4o1kfCsC6V3kcsKsJFk1v/+wo4RcEPZiFjsjM1SfFgszF3m0lwIYA/4+++ZzO l2oA== X-Gm-Message-State: ACrzQf15BFJXyKHtzWaF3hixisEX/2sUROk+XGSg8ZS9BJ74NA9PAw+1 FtZOcVlWLal0SITH7od+bhVcCg== X-Google-Smtp-Source: AMsMyM4/JSvWdLVXAkE21z2wNVqueXbRHttX2ZQVSDeb5bLZAWnUrt6nOxyk1WJaUkgSKB6nGkwbTg== X-Received: by 2002:a17:902:d48a:b0:187:2b1d:10e2 with SMTP id c10-20020a170902d48a00b001872b1d10e2mr16322914plg.86.1667457557380; Wed, 02 Nov 2022 23:39:17 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a809:3a79:b5a5:9718:3f91]) by smtp.gmail.com with ESMTPSA id a4-20020a1709027d8400b00186fd3951f7sm9380692plm.211.2022.11.02.23.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 23:39:17 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v3 24/25] ARM: dts: rockchip: Add rv1126-u-boot.dtsi Date: Thu, 3 Nov 2022 12:08:41 +0530 Message-Id: <20221103063842.854825-5-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221103063842.854825-1-jagan@edgeble.ai> References: <20221103063842.854825-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 RV1126 SoC. Both eMMC and SD boot are tested in Edgeble Neu2 SoM. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v3: - collect Kever r-b Changes for v2: - none arch/arm/dts/rv1126-u-boot.dtsi | 63 +++++++++++++++++++++++++++++++++ 1 file changed, 63 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..8f635f382b --- /dev/null +++ b/arch/arm/dts/rv1126-u-boot.dtsi @@ -0,0 +1,63 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. + */ + +#include "rockchip-u-boot.dtsi" +#include "rockchip-binman.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; +}; -- 2.25.1