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 88E13C433FE for ; Wed, 2 Feb 2022 14:44:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2AAF5838D2; Wed, 2 Feb 2022 15:44:34 +0100 (CET) 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="j+IBod/u"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 77575838D2; Wed, 2 Feb 2022 15:44:32 +0100 (CET) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) (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 957B4838B6 for ; Wed, 2 Feb 2022 15:44:29 +0100 (CET) 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 relay12.mail.gandi.net (Postfix) with ESMTPSA id 2ACCD200004; Wed, 2 Feb 2022 14:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1643813064; 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=T3s90oQRrFrxEwvcIKQvSklHR8TiW7n96bZpMLYTkFY=; b=j+IBod/u2V/Y2VHfUQeNh86Vi6GB89hGFQGuWYw/1UwpNaDGusVa9PaQO4ta9/rOXXKuZY 8ai5IhOcH/dAP4TdoCAGRr15bCtFvlOnhhTvd2YPMxyE8wh+2zdlJDU8kuiBwr7EqS3ZZ/ ruHZoEL8k5RdUd1jawakjkIKeGGdwMWJhfAYqHWHaG7oUhu1SG3JVS94e5phUdyhhjOYWW 7h4Nii/h2TPsvTfoT9qBY5omG/fl0cz5p3PBSEmpw5sLfKRslDVBRKrAOuvY0mUl/txFsJ r+13iR2FYv1y5jNBZKtyMY9XyTuZL6aopdtCcoJeIQWbCLSyfjRt1Nu9+Cs6Ng== From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: Eugen Hristev , Ludovic Desroches Cc: u-boot@lists.denx.de, Nicolas Ferre , =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= Subject: [PATCH v2 2/3] dts: sama5d2: add TCB node Date: Wed, 2 Feb 2022 15:43:00 +0100 Message-Id: <20220202144301.3871490-3-clement.leger@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220202144301.3871490-1-clement.leger@bootlin.com> References: <20220202144301.3871490-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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index 038cd73c03..fc6a4fbe4d 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -700,6 +700,21 @@ clocks = <&h32ck>; }; + tcb0: timer@f800c000 { + compatible = "atmel,sama5d2-tcb", "simple-mfd"; + reg = <0xf800c000 0x100>; + + 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>; + }; + }; + watchdog@f8048040 { compatible = "atmel,sama5d4-wdt"; reg = <0xf8048040 0x10>; -- 2.34.1