From patchwork Tue Dec 19 21:31:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Belloni X-Patchwork-Id: 10124579 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 8DA0860390 for ; Tue, 19 Dec 2017 21:45:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E85B2522B for ; Tue, 19 Dec 2017 21:45:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7147128900; Tue, 19 Dec 2017 21:45:35 +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 072AB2522B for ; Tue, 19 Dec 2017 21:45:35 +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=PgTTntaH6Egp9UUH2GwokYLkMPb9ZW4DpGpr/F5oLWw=; b=MYibKNdjWJifyfbA7YGSkSi0Sb HXbwzCWcCh7bMAqsQI4zr+fHic0XuC7l8/EJ7Y0lvhLPl/Hz9sy8nTGwSVv0pcOM+SxPUK0x2e1kI 3QUr17yqJZI28wUNWAt09dWzyu38+MENu9vw6FwjD+fPEdXjIDKUHIvr35HxWwIQX+IccKYsuCB2g Feq4O8ojlAgwEESXdvZpXURsaY12wS72yDRoItmHL6tAAiiv4gNCSPQnAy+Yk/pPgSHbhWMsCFnGZ HQ0xn1wTGtVNjtcGS5toPjP2Bn/WGOCWMffW6Kzbrm44nUfogUf6gqEeq4mhxzdeXxd5uVUN1KvtY 4uSx/uhA==; 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 1eRPha-00084V-Af; Tue, 19 Dec 2017 21:45:30 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eRPW4-0006VW-Hz for linux-arm-kernel@bombadil.infradead.org; Tue, 19 Dec 2017 21:33:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CfHUaxmGo4JxvkLpKFvhcr2oLpTrXfTPwBCOkbe8YxY=; b=iyCrfJL58a6/S/b1DDXnWUafx sSaBxGNgiq8TpztsBH3DJ6X2B8HBCo0wYswVhrcAKks+BFsE/fhaefFLw9+XBoXQKqPIO+C+nfi8t gTF3HoiYGxDSW/WAgdLgRzhiD3gKIckvP1M1I4llBB1HmYAjykpHawOv6jIbeDVl+SmGbXPz8E4zj qb6NPIKgQ7EPYUYvet+zCPGvjFmChvpCXR2X2kHK9kswOf8nk5lYlc6unnqts+2neN/pxmdNZFP7P JpUt7CumpDeV1fJiSHrFta1/5gxD5fNJnQxpC07fekdX4DfXbpsjmG0vc6mn7LocLvECzMC15kQQg kSckW/RiQ==; Received: from mail.free-electrons.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eRPW1-0002fp-Gm for linux-arm-kernel@lists.infradead.org; Tue, 19 Dec 2017 21:33:34 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 2C6A2209E0; Tue, 19 Dec 2017 22:32:44 +0100 (CET) Received: from localhost (unknown [88.191.26.124]) by mail.free-electrons.com (Postfix) with ESMTPSA id 0B32B2055D; Tue, 19 Dec 2017 22:32:44 +0100 (CET) From: Alexandre Belloni To: Nicolas Ferre Subject: [PATCH 27/45] ARM: dts: at91: at91sam9x5cm: use TCB0 as timers Date: Tue, 19 Dec 2017 22:31:51 +0100 Message-Id: <20171219213209.13823-28-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171219213209.13823-1-alexandre.belloni@free-electrons.com> References: <20171219213209.13823-1-alexandre.belloni@free-electrons.com> 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: Alexandre Belloni , linux-kernel@vger.kernel.org, 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 Use tcb0 for timers as selected in at91_dt_defconfig. [tested on at91sam9x25ek and at91sam9x35ek] Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9x5cm.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi index bdeaa0b64a5b..4908ee07e628 100644 --- a/arch/arm/boot/dts/at91sam9x5cm.dtsi +++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi @@ -24,6 +24,18 @@ ahb { apb { + tcb0: timer@f8008000 { + timer@0 { + compatible = "atmel,tcb-timer"; + reg = <0>; + }; + + timer@1 { + compatible = "atmel,tcb-timer"; + reg = <1>; + }; + }; + pinctrl@fffff400 { 1wire_cm { pinctrl_1wire_cm: 1wire_cm-0 {