From patchwork Tue Dec 18 03:41:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 154045 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3228902ljp; Mon, 17 Dec 2018 19:42:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/W2W8WthuoMpRNOM0kXbKx59Yp7clEoGcgQ2oog2RiG+yG5hs1Wi5Pd6viAzTaw1IBxZ+64 X-Received: by 2002:a62:b511:: with SMTP id y17mr15343089pfe.199.1545104576486; Mon, 17 Dec 2018 19:42:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545104576; cv=none; d=google.com; s=arc-20160816; b=e5fTvHymfxjFnydNsRw/3iE/fpjkgsh26zz3N21H628V5SOo0af+NyrY2ISpCm2qKH tRMpSg+97991bR8VRTSAFlFO80GApjX+bjPOMEyjZf2dBI0bLQHLLcFDCNzOJD1pgYgN 2WDy13D/u3R59CIs3QTUUMPk3vokS5TupVRvZn6FiDO4iT9IhWWxPGJOoBOtPjrV3EIu v4RikTx0UKydO5Fo/5Umx7qCPWZZw0RKgsu5p3Wtbi+gAEDv+4sYgQ8BcQXjC7f+zCD2 xdJOCoOIOMOAbJVQbVCLdrMZhf75eud9Duf1Yw0pbgZntgAybG9c1I1ybKfO/PzXvSrB YCMA== 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=J2SmeHxAU/IbYBWqmQNWX6CLiAFZCQWehIKGu2wpWUY86dUjFFuCPvNGR2bH6ievIB B/A3qGxOundC96Tn/lVw3NlCPh+B3//2Hz+/C0Kgw2gaJzOzCZ1enWCVamdPVBT/2aUN apZ4Y4DOPWkGflmbXi8jFoLIKuu++2MXHPu8UBdwZK2yW77qECqYd5N6sbP7MtlVgmJn /U+V/2z/Po2m9ULo/Y1c4Crs+mtbtqrZJI3moFCpDSJ70Bl0r+pa+kfp/02K+v0/Adty M+us3qAub85dBurtjq82sF7noeH13KSGa5K6uZ22naciPy0ngirQLNRtc+Q1eEvkNVnW aVkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YBDFvHX7; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 b70si13100992pfe.168.2018.12.17.19.42.56; Mon, 17 Dec 2018 19:42:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=YBDFvHX7; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1726762AbeLRDmz (ORCPT + 6 others); Mon, 17 Dec 2018 22:42:55 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:42202 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbeLRDmy (ORCPT ); Mon, 17 Dec 2018 22:42:54 -0500 Received: by mail-pl1-f195.google.com with SMTP id y1so7133932plp.9 for ; Mon, 17 Dec 2018 19:42:53 -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=YBDFvHX7AiucyPS8BT+C9ypYixQsdfJG7w9Nw/JM1sLJJBbysciZj38Z7NbumJjmEb Zikib+uZNRRj8XAUHEFg6sQ+1yZbNOphofHiQavO4CeKVEb+FhcCnHL/mTqjVwpfNRtV kUlMAkNyD3vs80tduMbIGmsdT92ra6ei0ckCg= 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=fH5Pg2MN0891oslUNWVE1oe8GIB6F3ex1ZD8XehKFzK4C+OxnBL4LhJEsZmYcyMNpI JeCFGksnA7IPkRm98dqdc8qbJR+AQ/7nH8fKD6WcntI0yMdQSl7mNo7D/PMnjXeJLRyK jERHb4XOsHv5fzKr+9bJ6O2DpOT5h9H7Q9emzZbLYyCOsc/G6pIXCwNX07xVjXQp4Otm tnKx5Zoi9FReUxPJg5YjpZUgGNPC3Esi8te4LBf3atfhvWcMjAmTbdCVDy+FebdoKSiN G24CRB3H/QQQU3p9pQvcd4A4oodTlyM1HO2mZNXY1fs34Pufr/L0eltAOlirDU1UthFO JX1Q== X-Gm-Message-State: AA+aEWbSD1ulkqeYrvoIaZK0IpWag7ydOqpVSx3KhExUkxCht4JkOia4 ffxHeKMUjHjS9/+FDCBJvUP4 X-Received: by 2002:a17:902:4124:: with SMTP id e33mr14993867pld.236.1545104573365; Mon, 17 Dec 2018 19:42:53 -0800 (PST) Received: from localhost.localdomain ([2409:4072:702:382e:8c68:d268:ed20:5f25]) by smtp.gmail.com with ESMTPSA id b202sm25255422pfb.88.2018.12.17.19.42.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Dec 2018 19:42:52 -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 v5 07/11] ARM: dts: rda8810pl: Add timer support Date: Tue, 18 Dec 2018 09:11:28 +0530 Message-Id: <20181218034132.5070-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181218034132.5070-1-manivannan.sadhasivam@linaro.org> References: <20181218034132.5070-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 {