From patchwork Tue Jan 2 16:42:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10141019 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8E9A06035E for ; Tue, 2 Jan 2018 16:43:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84DBC28C9E for ; Tue, 2 Jan 2018 16:43:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 794E928CA3; Tue, 2 Jan 2018 16:43:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 18F7928C9B for ; Tue, 2 Jan 2018 16:43:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Y2z2uSDMfZCMBGwg5hMEig1PEB8Q5MMCSQuDjEs/7Xc=; b=XcBYx8poB/v5jmz4jw95qhu3CW zr119twyoKR9Z6DRONNM2pTJpaHq/8N9WGCwkCuyGRsbN7JAsDw9G9ox+xX7PbzbRsGkT4kup9UIb bIHR83wJOomgkrKKLPTFq42VhCGqiNLF41FG9nhgJhKZj2u89lBGWKcCNTK17Ao0sx7arCEKuoEDD JDnXkEkZ5C7738gxDkkpS1BlI+iZPq5yGaCPnsQSGm46FdhZNdTFpwx3L2DcCKm8ukTQYpc1fylEJ fxgs08L7PTzVNTMHBNU3YXFopVOOOCUXrFYyQrG8MyikNmBqTfahY+JzmM9Ix5CiJy1o2gokfzAcj wGaU9mnw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eWPfD-00070F-Ib; Tue, 02 Jan 2018 16:43:43 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eWPeA-0006Gt-Mn for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2018 16:42:42 +0000 Received: from trochilidae.toradex.int (unknown [IPv6:2001:1620:c6e::127]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 677305C3B40; Tue, 2 Jan 2018 17:35:57 +0100 (CET) From: Stefan Agner To: shawnguo@kernel.org, kernel@pengutronix.de Subject: [PATCH 5/7] ARM: dts: imx6ul: add ARM architected timer Date: Tue, 2 Jan 2018 17:42:21 +0100 Message-Id: <20180102164223.15230-5-stefan@agner.ch> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180102164223.15230-1-stefan@agner.ch> References: <20180102164223.15230-1-stefan@agner.ch> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1514910957; bh=s/ZDLxAAyupWShMIGk8D4blBxALPUFCJc0WkfRmGdak=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=bJVS+HgopoVY3W+/zo5gdtHlLKvGe6dTcYLPreH0EdzCaBLv62arP+Ofozt5536HgWVSl6cRmK/zX2B3GVV3LeDw24aCnzlY7usAYiQX8ZFWj68rlAFqSWFY4nsJDxRJioEW60XwtE6SNmX6cXYb9TpBqEXHPeuXngHOGCkjA2w= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180102_084238_999853_553FEB82 X-CRM114-Status: UNSURE ( 7.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Agner , robh+dt@kernel.org, fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add per-core ARM architected timer. Unfortunately bootloaders (U-Boot) currently do not make the necessary initialization. Also specifing the clock manually using the clock-frequency property seems not to help. Therefor leave the timer disabled by default for now. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx6ul.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 993fbdbdd506..4d76923e8f44 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -110,6 +110,16 @@ <0x00a06000 0x2000>; }; + timer { + compatible = "arm,armv7-timer"; + interrupts = , + , + , + ; + interrupt-parent = <&intc>; + status = "disabled"; + }; + ckil: clock-cli { compatible = "fixed-clock"; #clock-cells = <0>;