From patchwork Mon Dec 10 17:35:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 153325 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3820362ljp; Mon, 10 Dec 2018 09:37:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wy9rBlkiHX1C/Dxvv8B45tnLXnmsY1RR4yHNN+fe3w73ht246urFyltJl2q+TKjAF3IXDW X-Received: by 2002:a62:4e49:: with SMTP id c70mr13004859pfb.167.1544463451431; Mon, 10 Dec 2018 09:37:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544463451; cv=none; d=google.com; s=arc-20160816; b=s5bB7tdtfyErCpyj5r5/lQEEdkavOD6BPAQi0XWpemBOPvYqxiToSRtl3wNIuwv67h 92rHMvvZ4fgizzfifFgz72xj/jBtYX/qlIdasg+AmSugRslKHyRyDy0/TKf+OBGBRKA4 ff4dM79ID+4rCWu/zb2qcO2mniL2UJJuNdEtKCOQae5COs+bVccc8op4Y+14rakjK8J0 BvMC0StZvRxSmLAnAAxJ1Prx29vmrdXMuOWqIFXvAeMhSeIQ9yUjTN/KLGzo/meEMd/v TmuUygzBBx43OPQO/NXgOpeF+T6z7cqYb/th/F9Rfq0FR5ava9wnibGPRrWIAuHeACxG +BBg== 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=lDqqLGT8gxgCMZyV1eR2kQtocJJ4tGuhUYioJvsw1hfOL4JcDLey4jKhRexU9T6ViD JFhI6qVnL+8rLn0jHBhzAGD9OM5aD1U9kEarUwMnuZsP+6CMNFlIEuPeFBhi+5XyGCm9 9yY0sDbRZzpfzzZYFPmVek6rv1pqk12lKzUMGteGyMGW4OZXvgWOkk6sHSk6l32Qzk0X ZpnD9+UnVHyrkS4dgWdckNBbl0fT336WWTZsoPciOgifHkGICJW45jNFIq3lECoi7S3x Sde2iH8G/gcq2r5dspinn+/MT1WR8wV7IKxSdEAz8j1y0x47ukEKdVWbDXfcliyzE1yb tSUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aiFQWEIj; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 a24si9938439pgd.248.2018.12.10.09.37.31; Mon, 10 Dec 2018 09:37:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-serial-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=aiFQWEIj; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 S1727434AbeLJRha (ORCPT + 2 others); Mon, 10 Dec 2018 12:37:30 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:39094 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726982AbeLJRha (ORCPT ); Mon, 10 Dec 2018 12:37:30 -0500 Received: by mail-pf1-f194.google.com with SMTP id c72so5728555pfc.6 for ; Mon, 10 Dec 2018 09:37:29 -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=aiFQWEIjTJqW5cD7Yifwd/cRFPWpT7tiaTUq+kaUIWFy0HwQMtOX3GpS2TY6QncD83 xIyp2/KlBjj2fU2RhRTaDkGyXH8y2luxRHobxBqsFr94fCG5abwR0KIzT6MfTa6dCUF4 8qL0zmJxxdTS2bElMGhenfLNz1A8igc9c2RFc= 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=CHg78aTpzGCwIHdEbwEpP7VgYPBGw277b/zlATVdxja4yXyiFVACTDLK7/sYLt5y5U SRC56sXS8xqGBMUXdWHBn0gBuN2HSthk9Ar/gHCQxzhF8XrrWHw2oN5A0AhAVW+oOihP NeufHxoWpwMcgdfJVtdqfvCpY8XuI580hW1G9HhtSMzx0g0dagFqP3UqI81Vy1aGQZu/ XwPoHeA8W4mfDiQaXEduhNF4QTif5ebWBr4BAn5jTLKu71qVUzdu1lsXNHsCHpyTS038 pSgb3vkmeLKOL88N6FGm3RXyERVEgI6r80hHBCq4I2ZdB8bojl6ONuQbKNanGUC5qMGR /bmA== X-Gm-Message-State: AA+aEWYea+YO9a+TpZ35fOIq7vbctCp6zcsLsatdVqaEooOemxB/0aN9 gMXUmztSYQ2z4hnyd20E8Sdg X-Received: by 2002:a62:f907:: with SMTP id o7mr12906043pfh.244.1544463449240; Mon, 10 Dec 2018 09:37:29 -0800 (PST) Received: from localhost.localdomain ([2409:4072:91e:2c01:40e1:a028:b090:9e12]) by smtp.gmail.com with ESMTPSA id q1sm15998396pfb.96.2018.12.10.09.37.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 09:37:28 -0800 (PST) From: Manivannan Sadhasivam To: olof@lixom.net, arnd@arndb.de, robh+dt@kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, daniel.lezcano@linaro.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 v4 10/15] ARM: dts: rda8810pl: Add timer support Date: Mon, 10 Dec 2018 23:05:45 +0530 Message-Id: <20181210173550.29643-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181210173550.29643-1-manivannan.sadhasivam@linaro.org> References: <20181210173550.29643-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@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 {