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 B242DC4332F for ; Wed, 14 Dec 2022 17:56:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 31315854FC; Wed, 14 Dec 2022 18:53:06 +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="f62g70sE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 544AC854CA; Wed, 14 Dec 2022 18:52:36 +0100 (CET) Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 5286D85497 for ; Wed, 14 Dec 2022 18:52: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-x62b.google.com with SMTP id m4so4134520pls.4 for ; Wed, 14 Dec 2022 09:52: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=At3aJlQ6U+5jz4yv1rixofIcwIgAPK9XmxlDTzr/h3g=; b=f62g70sECkQSxXWjXcg26O3Jz1h2BJEnAYYtF1rEuuzNd8l+UTYVrWrfTnOTdHYYiZ F8HXvwxt9TctZvGibXoCznvVv/GLb0sGfHcgUr5+UhWigdJLjyMgUBfrtn3XnOL6Dco2 KLC41LxRTZ/tPAEU+ybTt7hJBQ4GgpG2J0+62WrqV4QzVITyeEgOkoKwGOL6ny5gVq8/ QzGPKUVZHLI0NLbwWiq96WbNMSJojW3EKp37Kf1wwnBKY/WYdeQy3OY4ruaZz1qU0wFI msXqC5r6jeUDm9KIB4RyvaZcQ6LzFG7AAf12EZH8CpS3410fhdTI5t01LMr0by73mb1b Sx9g== 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=At3aJlQ6U+5jz4yv1rixofIcwIgAPK9XmxlDTzr/h3g=; b=emGnlut813Bv6LqJDi+pa2X3wSGQ97mK3uiPe38KTPgBOSBjdn7wBRNb9cJfySa6TT hCrhSYVAQ3UMQuk6pwLoLI1Czmj4hP+CrFbrhFJEOcto4Xe0+pNSDsRLoD1KUzSaVTds 8t+REcjuwVwBynBAR8S3tfpbkk/0LRaA2/CfisdBlKpsBnBucxcGZHpOMpg7OOXRnWvi Ko6C7Q5eMbUBx+XeXZsFC8hW/JxWO1hZXblaBuynMBxPL4t3AFKqDe/z6sB2yjouLdGO jl/zge0Macobbu38C1nsiPG14EuClT56MTJgRYMWpJ4e44bKW3h6LG45K12sXFVI0oKa whzA== X-Gm-Message-State: ANoB5pmmosZiAxI/R2xI1mwqFVURRi5OKeVbb5QCC+dC4QV/gnLyzfLF tb+BCI5JD8sqKnZ1gFDVNhvFKsmgOoGJWoMo15q/OA== X-Google-Smtp-Source: AA0mqf7MYGFjYHMGpwULlAsTFj9RHU8aEIZRU5hQwUi6EPZYJ1bxbw8UgsQztCjJipNqb6fOH0tkng== X-Received: by 2002:a05:6a20:2a86:b0:af:864d:e7bc with SMTP id v6-20020a056a202a8600b000af864de7bcmr871273pzh.25.1671040352842; Wed, 14 Dec 2022 09:52:32 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:5e03:faf:846e:352d]) by smtp.gmail.com with ESMTPSA id c8-20020a170903234800b00186748fe6ccsm2149442plh.214.2022.12.14.09.52.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 09:52:32 -0800 (PST) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v4 24/25] ARM: dts: rockchip: Add rv1126-u-boot.dtsi Date: Wed, 14 Dec 2022 23:21:10 +0530 Message-Id: <20221214175111.477134-25-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221214175111.477134-1-jagan@edgeble.ai> References: <20221214175111.477134-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 v4: - none Changes for v3: - collect Kever r-b Changes for v2: - none 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; +}; -- 2.25.1