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 ABEBCC433F5 for ; Thu, 31 Mar 2022 08:58:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E53DF841F2; Thu, 31 Mar 2022 10:57:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.b="BR5f62vy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 302BD83FA8; Thu, 31 Mar 2022 10:56:51 +0200 (CEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8C9CB841DC for ; Thu, 31 Mar 2022 10:56:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clement.leger@bootlin.com Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id BE5DCE0011; Thu, 31 Mar 2022 08:56:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1648717002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ct2hxaIan4OdEkS94J77vflG+H8QWsYTD5258YWJYMU=; b=BR5f62vyQJ4papHJC1Jm7upKwuvv1dsxKELG3SfZCybAMY2EgIw7sCtb8MTOell/xLwQiu eaccS3/sasE+LjbwamHSkUSotSA+JEVzZeZF+cEHMWFuSd09m5tNVczMwmv6tC5I7GSt6n ZHFoE8fevPhK+5cVxsmfLkfQbGBKB5fiNP1AuAevvY6kuYstPIaKgYWiUpyhT98iQgtp2n TgR9I818gkiHPPWV4s7U94Ua0S6m9nEi88MakxkwvO1tEgRDkiJr+oUT+K209JeBo8OUYD oquyvOKG3Ynbfv2A+mhFmZ89YQzh52vAML2E2XS+R2fg4Css7gXOnoSK1wCehA== From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: Eugen Hristev , Ludovic Desroches Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , u-boot@lists.denx.de, Nicolas Ferre , Thomas Petazzoni , Claudiu Beznea Subject: [PATCH v8 4/5] ARM: dts: at91: sama5d2: add u-boot, dm-pre-reloc property for TCB Date: Thu, 31 Mar 2022 10:55:09 +0200 Message-Id: <20220331085510.177253-5-clement.leger@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220331085510.177253-1-clement.leger@bootlin.com> References: <20220331085510.177253-1-clement.leger@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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.5 at phobos.denx.de X-Virus-Status: Clean In order to use the TCB early in boot and in the SPL, add u-boot,dm-pre-reloc property for the TCB and the clock that is used by the driver (tcb0_clk). Signed-off-by: Clément Léger --- arch/arm/dts/sama5d2.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index 058009adca..d92bdd5588 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -363,6 +363,7 @@ #clock-cells = <0>; reg = <35>; atmel,clk-output-range = <0 83000000>; + u-boot,dm-pre-reloc; }; tcb1_clk: tcb1_clk@36 { @@ -648,10 +649,12 @@ clock-names = "t0_clk", "gclk", "slow_clk"; #address-cells = <1>; #size-cells = <0>; + u-boot,dm-pre-reloc; timer0: timer@0 { compatible = "atmel,tcb-timer"; reg = <0>, <1>; + u-boot,dm-pre-reloc; }; }; -- 2.34.1