From patchwork Tue Dec 18 15:02:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 154156 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3815203ljp; Tue, 18 Dec 2018 07:03:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/XH0aEuUmmWi+jRTIbdP5ohL+kijOs8a+ANo7No0Xu30lYm9q14BUZfJlW3khaV72L7LXQ0 X-Received: by 2002:a17:902:850c:: with SMTP id bj12mr16401509plb.46.1545145439096; Tue, 18 Dec 2018 07:03:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545145439; cv=none; d=google.com; s=arc-20160816; b=OPhUKEeVqaAiHYXTrNK8JQ3BHMlIb/4E+T31kjOH3nSw46AmqmJZZgwYWKkxw7Af2H +sQ8wmnxFmxdd9Sqfe80tR2srVLkJ38qkkiozJ5X2EQwEFCGq1U4K5E7I4WEcSCVWY8Y jhFkEKgtGOnsO7SvDL39YuVrp9MOiFYlc6z8oELTWTR/uHyOD8Tq8CHDpM8jqBnezSXh wHJ3Xt2oZBCJaIXJ0pdA+dezaQXNHNUd3UULChmoNpcMjkjz6qYF34XwMJDguCvzPi2C P/AVYIjSdvFZrz48hbqT0TmzVjARxWNo1L+gtudDIrZ20jd6x4Nma7SP3jImuzmu6+Kl ucTw== 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=zcGwIisGD3xe1Hi10sfTFo4sWeyzLGuK/X6UgTn9Mq8=; b=f2Hr2fXw5z4Tqgtqtojkg86jX3EDlhVA6ZzCshqQJrHYWnPOBeBfgtMfpneQM0oF9W NoOHUgxpKz84pVD/NeJww4phfhXZG9GjQqPKnGY26WCmSo4gaYraGwFQNKJ9Cv/lZH8N 3TMWU7pEEUxVsdkBxOnB1w2bE0zxtSVnlx+gv76Qwx9uQHSjWIdvIjBSV04yYcqSptZJ xTK8lkRDYlewUcfwowLKX0vAOnnHB3PyBq0d3SvObHKQZ9W8Rp69zInyWuwmPhZCq5Ri hTHdu2/w9QGaJX/RQYDRsTYvOIBhV9gHcd/qFSTVKbQytGvBhbCETQNFouIAIdIfoGR3 3Khg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f6ivAqyq; 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 b19si14656558pfm.100.2018.12.18.07.03.58; Tue, 18 Dec 2018 07:03:59 -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=f6ivAqyq; 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 S1726946AbeLRPD4 (ORCPT + 31 others); Tue, 18 Dec 2018 10:03:56 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:47027 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726733AbeLRPDy (ORCPT ); Tue, 18 Dec 2018 10:03:54 -0500 Received: by mail-pf1-f194.google.com with SMTP id c73so8248313pfe.13 for ; Tue, 18 Dec 2018 07:03: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=zcGwIisGD3xe1Hi10sfTFo4sWeyzLGuK/X6UgTn9Mq8=; b=f6ivAqyq0w5nlhZ64fTOLvUYLzZCviL2IHcDV94FRjYkb0hO0NBSAsTuGvvRQfhbLM IwTNxva5mndlup6iOhak/AtnTwbiJ1iKCa+CaAWCe4OaMy3a6ma33tcuxN8K8z8vFRvc DqKEee/E1gR9OIsfDHQ49/vXQfOAA3695ETos= 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=zcGwIisGD3xe1Hi10sfTFo4sWeyzLGuK/X6UgTn9Mq8=; b=kOSPHHWn9Tl/P3yoGnRerQ43bIY9pF7w6zt7UczGeBfBvrY2wpNCxzLKORXyPyw9Py aptDY797w5QI307RrCEcxTFpH/TpXv7qEjaqSlV8XajapWGDWvVdRGDGJD23K6PUPt5W UFHl9l53PP4Ob9VZRcnWBLjXJgh8UQJTMZXyG+BYM2Ztxy3YxcJMMCgyr/RyLWXkxO7C ePKvB0HEmo8V8LN6MHxKaazZaO6e4+JwHR4HuIevIQj9AMJHFG9s9PNrSx5l9aASpS8e 0Fl405JjpadfQSaSEznn3WWeWbpvOt/uS3MOYWPTk+btZ0loQuKzAME24nEXOARVC2U+ OCxA== X-Gm-Message-State: AA+aEWbpBfa/kjNtBA7a/v9SAWa1lFbSGtqWDcxtXJagfsNu111tfewv XeQduQfdQ9v24csVOZju1yCT X-Received: by 2002:a63:8742:: with SMTP id i63mr3163859pge.298.1545145433135; Tue, 18 Dec 2018 07:03:53 -0800 (PST) Received: from localhost.localdomain ([2409:4072:702:382e:8c68:d268:ed20:5f25]) by smtp.gmail.com with ESMTPSA id m198sm28798688pga.10.2018.12.18.07.03.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 07:03:52 -0800 (PST) From: Manivannan Sadhasivam To: olof@lixom.net, arnd@arndb.de, arm@kernel.org, linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, gregkh@linuxfoundation.org, jslaby@suse.com, linux-unisoc@lists.infradead.org, afaerber@suse.de, 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 v7 07/11] ARM: dts: rda8810pl: Add timer support Date: Tue, 18 Dec 2018 20:32:34 +0530 Message-Id: <20181218150238.23010-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181218150238.23010-1-manivannan.sadhasivam@linaro.org> References: <20181218150238.23010-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 Acked-by: Arnd Bergmann --- 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 {