From patchwork Tue Dec 18 08:05:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 154125 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3412398ljp; Tue, 18 Dec 2018 00:06:41 -0800 (PST) X-Google-Smtp-Source: AFSGD/XeEJjq0aK90CTtewitW4Nu/f6hecBoIRP1ZoDHNr9kLi3zPWnOqLghRhIjrwHT0mRjkt9R X-Received: by 2002:aa7:81d0:: with SMTP id c16mr15611112pfn.153.1545120400875; Tue, 18 Dec 2018 00:06:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545120400; cv=none; d=google.com; s=arc-20160816; b=s9KadPYyLDWfErdO8fdz5kMu7DBBaJNdeMKakBBHgbNyMIjeIiKmWKT+LBp+F7nyty t29RqtByQhqBHZAuDodFAPnLjkIWop150/u4QqhdCnMobuSebIc4TOeTmLzoCrKTg7xZ jZF5ImOL2YBiNK2j/ZSIuyrX4BhCiQnLgiqIWiDjynGQxSIPtn1t4tMrVe2+WFC6qjwq vVq5yC9ocE/nbITqR8fCnU7aRtmEuVCe3xVZ9Fad1YtqBauO4Vg3vnraHE0Duu1c/Pcw 4lD0i8XEU+r/JrswvtZ4Fk0pOs//PbfAoAc2dPZ7PSzsS2+BvegQrrksYCoIfJbx78Dg Ou2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=M9evsXiKq/f6/hJaxP4dc1I6TBIm55n2snnXtgBmQsE=; b=N1SDDuYD175MEv3Qt2Hj6huIeS5O0CEXq5ITO7xhMKmFCAqX66FfpsaOLdCfR19aJO sblOk+kyjlzrG7xG93Zmbt7yhS7f1gab8DN6Ysv0WcKplqeC8FW6mgLTp7mbRJB1BTFM s3xcrA1DgdD6K+ckizH4NmsyQQdcOJ6muLQ7dVPxwSwK0Uh4IIhKCxj9Ksw+Iv2M4ssC Dl991gPkYydbJj788mbmXvPDCmUGyw2ve+w7dP8YupB99PAO63RxDTUShAk72dFI8B69 Xg3Jao++517b6UEnNsSTQ5jd14yQJeYd9LEAyI1h9eA4Y8K/ps+f/e7yY4HdZxgWCgdP bfXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MffBEizv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si12828494plh.23.2018.12.18.00.06.40; Tue, 18 Dec 2018 00:06:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MffBEizv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726819AbeLRIGj (ORCPT + 31 others); Tue, 18 Dec 2018 03:06:39 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:38899 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726790AbeLRIGg (ORCPT ); Tue, 18 Dec 2018 03:06:36 -0500 Received: by mail-pg1-f194.google.com with SMTP id g189so7446676pgc.5 for ; Tue, 18 Dec 2018 00:06:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M9evsXiKq/f6/hJaxP4dc1I6TBIm55n2snnXtgBmQsE=; b=MffBEizv6QiHPXKM+e83ZEZYoA1KC9gItgx0iSi6G9oDgRiYQnnfjrzgN318hsMC6Q IAT/Dh47Ks5pu8Svd/hK5ftpbrerRHcw0Yx0c+gkDdMnFaaC+zlFJhVyyYxmS+pLFsFS C0G6pDISGRxdKXI33oemt2XsNEqhF2assGZ5s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=M9evsXiKq/f6/hJaxP4dc1I6TBIm55n2snnXtgBmQsE=; b=sQBH0N8x3jILk5IijGhjsIp6tJItF19/Pzd2imF3l3Xx/irV1Ib60Q9aOfO+SWZfI3 J6J87XJwhzdboa10tquLeIKtyIG0pz3vvLwkejg3DJbmfs7b+H2xtU7IfJ7V0thQMovS 0mLX/EmXgRjJ79WzI8odfTU/qfEThQ/nps+awby1/VdIOSKoSx9lPQjnnF+IMKxa3ABl 173M8Fnd51JNdg3aieXjOY24U8rFDZB8/c0ra1jFSv1HchfWLnKC9yJqfS8Rb+vDWOyF 3IxxwtLbNHIEleeogL26QWV6nDJTaEK0zYCRHZV+Y3wEwlFULHHBBast+sDru7k0d4ai 9qqQ== X-Gm-Message-State: AA+aEWaX13F91yDmes/C4paBrV8MM+bKAf57LpWE0JLZJRpQmi1IwFHt FOuFJFZdOD0EB8tfO/QhwDfF X-Received: by 2002:a62:1e45:: with SMTP id e66mr15627883pfe.152.1545120395371; Tue, 18 Dec 2018 00:06:35 -0800 (PST) Received: from localhost.localdomain ([2409:4072:702:382e:8c68:d268:ed20:5f25]) by smtp.gmail.com with ESMTPSA id 7sm45596888pfm.8.2018.12.18.00.06.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 00:06:34 -0800 (PST) From: Manivannan Sadhasivam To: olof@lixom.net, arnd@arndb.de, robh+dt@kernel.org, gregkh@linuxfoundation.org, jslaby@suse.com Cc: linux-unisoc@lists.infradead.org, afaerber@suse.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, zhao_steven@263.net, Manivannan Sadhasivam Subject: [PATCH v6 07/11] ARM: dts: rda8810pl: Add timer support Date: Tue, 18 Dec 2018 13:35:23 +0530 Message-Id: <20181218080527.10801-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181218080527.10801-1-manivannan.sadhasivam@linaro.org> References: <20181218080527.10801-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add timer support for RDA Micro RDA8810PL SoC. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/rda8810pl.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/rda8810pl.dtsi b/arch/arm/boot/dts/rda8810pl.dtsi index 15547b138977..84baa4c0a14c 100644 --- a/arch/arm/boot/dts/rda8810pl.dtsi +++ b/arch/arm/boot/dts/rda8810pl.dtsi @@ -6,6 +6,8 @@ * Copyright (c) 2018 Manivannan Sadhasivam */ +#include + / { compatible = "rda,8810pl"; interrupt-parent = <&intc>; @@ -50,6 +52,14 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x20900000 0x100000>; + + timer@10000 { + compatible = "rda,8810pl-timer"; + reg = <0x10000 0x1000>; + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, + <17 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "hwtimer", "ostimer"; + }; }; apb@20a00000 {