From patchwork Wed Jan 10 21:04:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10156109 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 0AF8960231 for ; Wed, 10 Jan 2018 21:05:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6CB01FEBA for ; Wed, 10 Jan 2018 21:05:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB44D1FFDA; Wed, 10 Jan 2018 21:05:31 +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 6FA8C1FEBA for ; Wed, 10 Jan 2018 21:05:31 +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=k4qLp+hI5OF0IgagvMbTFF8gouDvDXypj5DcF1knlcc=; b=MH+PM+n+gYEA+mC0WoAesaTvTd eXtUwuozPe1NpZralbAiZt8pArlqSPM9epR3Ewuu6exynjiCVTC9f9qskXEltiHIvVMRtzrAskinu Zu4tUbyDZRXX44UR0SSo+bmPBC4Xl+LzLBglUOxBC4OYsb0LPq7yyjWjtej9Zcj4CsFQbdhwvWKNO dL78bORXv9GaSHvM+VJZCp886RNdf//XTaDhHQAHXHNHSfOhZoi5VtfiOcE8RaX4p2NjZEjCAG0RS f/TzZObHM7tye+e/MxHOFA0AmWmuRFKOz06GUPqnEdHJZTirYs3k2tESyCf38bOCIiqSogZIU/p1F NgkNQuaw==; 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 1eZNYt-0005cd-NS; Wed, 10 Jan 2018 21:05:27 +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 1eZNYb-00040L-Ay for linux-arm-kernel@lists.infradead.org; Wed, 10 Jan 2018 21:05:12 +0000 Received: from trochilidae.lan (unknown [IPv6:2001:1620:c6e::127]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 062565C3AEA; Wed, 10 Jan 2018 21:58:15 +0100 (CET) From: Stefan Agner To: shawnguo@kernel.org, kernel@pengutronix.de Subject: [PATCH v2 5/7] ARM: dts: imx6ul: add ARM architected timer Date: Wed, 10 Jan 2018 22:04:51 +0100 Message-Id: <20180110210453.19264-5-stefan@agner.ch> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180110210453.19264-1-stefan@agner.ch> References: <20180110210453.19264-1-stefan@agner.ch> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1515617895; bh=NbizpbRgZdg66nnOG33i1IAKqFrIrxh9cUZ5233C7Uc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=Uotmx6zGHOis171TZfgCU7Hjzv4pB9gV+78A3GOwmjlVuOXCCN1fcxTX6THZjn9ilLBGu+wAiuH9GyjxRvIR7KN+LxS5F8ei3AnRoENuGbUyw64XdHG0lKUh9pIbgnlN7CNYjOSCgmYcMjmS2rob2cC+wI7fBoShS/eEY0xKI2g= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180110_130509_597563_EAC6BECD X-CRM114-Status: UNSURE ( 7.91 ) 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 Reviewed-by: Rob Herring --- 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>;