Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9EEE606A322 for ; Fri, 4 Dec 2026 09:05:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=P28Mz37g; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=uLes/PmT Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id C59C561B3E; Fri, 4 Dec 2026 09:05:31 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id t0VzTXOxLGSd; Fri, 4 Dec 2026 09:05:31 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org 147BC60EDE Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796375131; b=Lh8U5mB2ZhF60ozIN6TlX80ICZOS/0BFuQUyt3KMlEJ10TncIBM3xvsufgHhfbqris6u 0B1B8y157UgFeDWV++jJbErZkH8/vQgRtnS0iQvaUH6YzEoQQ2XuVOslyjj7Bh6nqwkNA wMvi64G/ByG8r47sEXujzxJ4Mx5vkUwP4aKdF6+7mIQwpNL1Lk3Q32Mc9t3Pqd89W4dUV k1uTsK+dYXl5anMEmu4A7d8tGSFa2UhnkGFT+awcxaljbOfGOxAgpenyW3X/ZXU6EmpIq ySAgjLbNZr6dZS/i8CBRCjkEr5v4zF/e6AFVK+orn+nG1VQCFKmTjd0ZBHCZpQ2dMww== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796375131; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-BeenThere:X-Mailman-Version:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Errors-To; bh=hluJhgmmpZGlVidW6M33zDkDHFNk7hLNwgRtkCguyjc=; b=SqRZtZyBgD4/zEAcQzPSvon99gP50UurDyDWV/L8sF/CltFSTy/a1CD13twj7eLgSjL9 1UJIpewR/05ImOlhWEAoP0leFSHnXX6laFyAgjxNnG1CtB31SYZwWJ3tgSaH63zhFu7eY +s36sgGqZkkIKdjTQVYjHFgUw+oHM+I2a+DJuplQVUuZ8OuOoZxuPJs0hsuX6YeCnklwE J5d2aqgQbCh0TiyicPl0DFUU/NuubksY9DjKEq9li35M9BzyvGtgw+7aEW/YMIbzknmSd 5dGZWPKWHZcXb3FoJr+3RDZnPjT39FV4voRXn8vi1FYMXTo8QQrE5jlfVZPCP4eLbXA== ARC-Authentication-Results: i=1; smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796375131; bh=hluJhgmmpZGlVidW6M33zDkDHFNk7hLNwgRtkCguyjc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=P28Mz37gNiTPCgHL3Rz3ebPBE9rmAa1nNj1jxlfmW0niGS0URmSUB0SH4qq5FQ8M7 8mo7wplUDVF2U+vvLOks05AP3ijSrwMeaydJZx1NDLXuExMXPivFo1vA0wC+g+Xapy unDwdplvncgvI0aLYpH2PjqwWBjDcbpLnwgDNpHtXPIa/owLMMRYyyyhNeS4QFzvEj WejJ6st9lN6vmhAUboEVOQdcJH//10aA41Cu/6OM0BGfNjALyS10dNbMdtEdyg4ePj mP0mX9TT1EbD/S62xhuxjJum5GVZDi4+afHMPWoa31VSmCdhPpDZizaZz8QZQO1r7d D8TdG7EYSwm/w== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 147BC60EDE; Fri, 4 Dec 2026 09:05:31 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 6EE0133E for ; Fri, 4 Dec 2026 09:05:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 555F140BD9 for ; Fri, 4 Dec 2026 09:05:25 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id C34-6xKnPIZc for ; Fri, 4 Dec 2026 09:05:24 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org 64B5E40BC1 Authentication-Results: smtp2.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::436" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::436; helo=mail-wr1-x436.google.com; envelope-from=mehmet.fide@gmail.com; receiver= Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=uLes/PmT Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by smtp2.osuosl.org (Postfix) with ESMTPS id 64B5E40BC1 for ; Fri, 4 Dec 2026 09:05:23 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-4a7b8abe209so453756f8f.0 for ; Fri, 04 Dec 2026 01:05:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796375122; x=1796979922; darn=lists.u-boot-project.org; 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:content-type; bh=hluJhgmmpZGlVidW6M33zDkDHFNk7hLNwgRtkCguyjc=; b=uLes/PmTlMRJcIVGdT9ESNFRwHrJj8/0gJjF+8toGYO8lOz/Yz/F97InoWWYmGFf23 Qpu/30U1lCkMMpkd+Bw+0NTNq7ekRhj7t1aNCmg1ENJxBicZ770nM3VsYzoQmnYi+OX2 Sa11bqBC4nAHeaI92TLAGR00TKaOz8wgwle2gIndqRLiTdLkvHOZTeKVRkw5VirU4k51 a3Y8/f7eCMCDCx7GepL3D8Fzu2N9HooEp2r9puzgc2ImpM34cuYXLM8QewXpidHHfzQn q2YdOCB4ljEe9rLfjlS6TLGRtLmzpe4wa4/3mHrMFp6Zd+0VYrVMCrYcXaUMXCwV4R6E t9bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796375122; x=1796979922; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=hluJhgmmpZGlVidW6M33zDkDHFNk7hLNwgRtkCguyjc=; b=Y9KUCTtxsGrrkS0X2bmNDw99g6aE0NRaQ+YMb0iAj92iYI1Cj5Zweu4MzSDPYAxI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TiQqalquj62dIL5jbQeTfsBDdigAw1MVoVwygEAsJb2biZU epWfojv0LSuZ08RlNJwg0nzPLnnOSCBkDRc= X-Received: by 2002:a05:6000:4310:b0:4a6:bc53:2466 with SMTP id ffacd0b85a97d-4d1e8611ec9mr2535228f8f.16.1796375121013; Fri, 04 Dec 2026 01:05:21 -0800 (PST) Received: from deb05.proceq.com ([213.160.61.66]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d16e1a59a3sm4087946f8f.7.2026.12.04.01.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 01:05:20 -0800 (PST) From: Mehmet Fide To: Marek Vasut , Fabio Estevam Cc: Lukasz Majewski , Peng Fan , Stefano Babic , "NXP i . MX U-Boot Team" , Tom Rini , Francesco Dolcini , Stefan Eichenberger , Ilias Apalodimas , u-boot@lists.u-boot-project.org, mehmet.fide@screeningeagle.com Subject: [PATCH v2 4/8] colibri_vf: use the VF610 clock driver Date: Fri, 4 Dec 2026 10:05:11 +0100 Message-ID: <20261204090515.2230210-5-mehmet.fide@gmail.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261204090515.2230210-1-mehmet.fide@gmail.com> References: <20261204090515.2230210-1-mehmet.fide@gmail.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 From: Mehmet Fide Enable the clock driver, also before relocation, where the console asks it for its rate, and give the early malloc area room for the clock tree. Drop the 50 MHz NFC rate of the device tree, the VF61 one, so that the board code keeps setting it per module. The other assigned clocks now apply as in Linux, which moves the FEC timestamp clock to the 50 MHz ENET clock. Signed-off-by: Mehmet Fide Reviewed-by: Peng Fan --- arch/arm/dts/vf610-colibri-eval-v3-u-boot.dtsi | 13 +++++++++++++ configs/colibri_vf_defconfig | 2 ++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/dts/vf610-colibri-eval-v3-u-boot.dtsi b/arch/arm/dts/vf610-colibri-eval-v3-u-boot.dtsi index a4dabc69428..4413ca6b06f 100644 --- a/arch/arm/dts/vf610-colibri-eval-v3-u-boot.dtsi +++ b/arch/arm/dts/vf610-colibri-eval-v3-u-boot.dtsi @@ -19,10 +19,23 @@ bootph-all; }; +&clks { + bootph-all; +}; + &dcu0 { bootph-all; }; +/* + * The same device tree runs the VF50 and the VF61, whose NAND controllers + * take different clock rates; the board code sets the one of the module. + */ +&nfc { + /delete-property/ assigned-clocks; + /delete-property/ assigned-clock-rates; +}; + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ddr>; diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig index fcff654e4e1..0a3977673be 100644 --- a/configs/colibri_vf_defconfig +++ b/configs/colibri_vf_defconfig @@ -4,6 +4,7 @@ CONFIG_SYS_THUMB_BUILD=y CONFIG_ARCH_VF610=y CONFIG_TEXT_BASE=0x87800000 CONFIG_SYS_MALLOC_LEN=0x0220000 +CONFIG_SYS_MALLOC_F_LEN=0x10000 CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x20000 CONFIG_ENV_OFFSET=0x180000 @@ -69,6 +70,7 @@ CONFIG_NETMASK="255.255.255.0" CONFIG_USE_SERVERIP=y CONFIG_SERVERIP="192.168.10.1" CONFIG_NET_RANDOM_ETHADDR=y +CONFIG_CLK_VF610=y CONFIG_DFU_NAND=y CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000 CONFIG_VYBRID_GPIO=y -- 2.56.0