From patchwork Tue Jun 7 04:54:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 9159853 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 7AEB260467 for ; Tue, 7 Jun 2016 04:57:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 703C326861 for ; Tue, 7 Jun 2016 04:57:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64D282833E; Tue, 7 Jun 2016 04:57:21 +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, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1453D26861 for ; Tue, 7 Jun 2016 04:57:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bA93K-0003UI-Ly; Tue, 07 Jun 2016 04:55:46 +0000 Received: from mail-pa0-f65.google.com ([209.85.220.65]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bA92z-0002rt-UN; Tue, 07 Jun 2016 04:55:27 +0000 Received: by mail-pa0-f65.google.com with SMTP id di3so13261855pab.0; Mon, 06 Jun 2016 21:55:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nCMlQVbwKsHZ/fFaS+tfzp+BH0nFCx0oeQVD8HKV9r0=; b=lPdc968yT8dyxhV8ReQftnbcbmqSW29DcSV5U+NZj/os7Y9uFHRhPJ2D7a/fQ+Vmph xmAuQSttsY//BW0gdcdxExEk9g/VxUS06c9hzWQbwp4r5qswjWCg6vYN6ph38AWr844V MJ4Os+dMeBBuqSn+RXnDWxIdgj8twwnmiRUWYB5Ex8Kn6OgcllYmhIk1+7+8SjeKz8ep pMqyiWjB+h+E+0GBi7cgv2Ee8XQdZuYmFgjZlXOlJCfp5E90PwiWRUxBS0CNxab+rvdk BJiwhnqaedc+EdiWAJ3h8KOZly5/RPYp+vEn26wDR4Fwgt/3vXp0VOfWgv90exbODF0r kBww== X-Gm-Message-State: ALyK8tKRAP25/MiLiPVkrJeVjlk8QAhJyIHMFYj+wB8/a5DCQ76d17AgjePraSpZZHb3ag== X-Received: by 10.66.25.133 with SMTP id c5mr29083411pag.103.1465275304843; Mon, 06 Jun 2016 21:55:04 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id kb15sm29074009pad.28.2016.06.06.21.54.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jun 2016 21:55:03 -0700 (PDT) From: Caesar Wang To: daniel.lezcano@linaro.org, Heiko Stuebner Subject: [PATCH v2 4/4] arm64: dts: rockchip: add rktimer device node for rk3399 Date: Tue, 7 Jun 2016 12:54:33 +0800 Message-Id: <1465275273-22076-5-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465275273-22076-1-git-send-email-wxt@rock-chips.com> References: <1465275273-22076-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160606_215526_158251_F749AAD0 X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangtao@rock-chips.com, Mark Rutland , Xing Zheng , Masahiro Yamada , Catalin Marinas , Shawn Lin , Brian Norris , Will Deacon , dianders@chromium.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Rob Herring , smbarber@google.com, cf@rock-chips.com, briannorris@google.com, Thomas Gleixner , Jianqun Xu , linux-arm-kernel@lists.infradead.org, Caesar Wang 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 From: Huang Tao Select rktimer0 as broadcast timer. Signed-off-by: Huang Tao Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Heiko Stuebner Tested-by: Jianqun Xu Signed-off-by: Caesar Wang --- Changes in v2: - %s/ARM64/arm64. arch/arm64/boot/dts/rockchip/rk3399.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index d331e80..f0d1935 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -542,6 +542,14 @@ interrupts = ; }; + rktimer: rktimer@ff850000 { + compatible = "rockchip,rk3399-timer"; + reg = <0x0 0xff850000 0x0 0x1000>; + interrupts = ; + clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>; + clock-names = "pclk", "timer"; + }; + spdif: spdif@ff870000 { compatible = "rockchip,rk3399-spdif"; reg = <0x0 0xff870000 0x0 0x1000>;