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 CACC8C433EF for ; Thu, 31 Mar 2022 08:57:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3ADDA841EC; Thu, 31 Mar 2022 10:57:11 +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=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.b="Sw4jKcho"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4145D841E3; Thu, 31 Mar 2022 10:56:48 +0200 (CEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) (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 EC01A841DA for ; Thu, 31 Mar 2022 10:56:41 +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 EBE3AE0015; Thu, 31 Mar 2022 08:56:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1648717001; 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=GwauZ/Pcj4k4+mnC+vu0C04s+kAEswnkkmEgLk3vOJ4=; b=Sw4jKchoGNTrdBk62K+LJRRlEuLyLDI6Oaxt4RTonHoNqtyUG6Aii7O816v9XowA7GG2gi a61b4mTy6Ho2tJ7xMqdtINB/Q0RVAuwZgFpIJKZCgRMDyY/kg+ilorDeg6D0CYTTurXkz3 ppkjXaffHw1pS59WCjy0o1hpMPTFFu93unBn9+x69qz1XAAoRGVRPfrVX1IE65B66fJqZn 2s6WnS8WghIbxTA4q2f86nuWd5BwY10b2qsSrgeoNg0QylB3axDc4+vkXgXPD0syKFu+zq PLBTDDxFkk3EDG1khUXgd2XUF0Scj8dZ8HCvnq6bXG/mIwJINWSOO45M2eZzSg== 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 3/5] ARM: dts: at91: sama5d2: add TCB node Date: Thu, 31 Mar 2022 10:55:08 +0200 Message-Id: <20220331085510.177253-4-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 Add the device-tree node to describe the TCB timer. Signed-off-by: Clément Léger --- arch/arm/dts/sama5d2.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index 7de58e4a1f..058009adca 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -1,4 +1,5 @@ #include "skeleton.dtsi" +#include / { model = "Atmel SAMA5D2 family SoC"; @@ -639,6 +640,21 @@ status = "disabled"; }; + tcb0: timer@f800c000 { + compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon"; + reg = <0xf800c000 0x100>; + interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&tcb0_clk>, <&tcb0_gclk>, <&clk32k>; + clock-names = "t0_clk", "gclk", "slow_clk"; + #address-cells = <1>; + #size-cells = <0>; + + timer0: timer@0 { + compatible = "atmel,tcb-timer"; + reg = <0>, <1>; + }; + }; + uart0: serial@f801c000 { compatible = "atmel,at91sam9260-usart"; reg = <0xf801c000 0x100>; -- 2.34.1