Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1406798

[PATCH 5/5] ARM64: dts: rockchip: add rktimer device node for rk3399

From Caesar Wang <wxt@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH 5/5] ARM64: dts: rockchip: add rktimer device node for rk3399
Date 2016-05-25 12:00 +0200
Message-ID <rCDLA-7RB-27@gated-at.bofh.it> (permalink)
References <rCDLz-7RB-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Huang Tao <huangtao@rock-chips.com>

Select rktimer0 as broadcast timer.

Signed-off-by: Huang Tao <huangtao@rock-chips.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Heiko Stuebner <heiko@sntech.de>
Tested-by: Jianqun Xu <jay.xu@rock-chips.com>

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
---

 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 46f325a..f0c0d76 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -492,6 +492,14 @@
 		interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	rktimer: rktimer@ff850000 {
+		compatible = "rockchip,rk3399-timer";
+		reg = <0x0 0xff850000 0x0 0x1000>;
+		interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>;
+		clock-names = "pclk", "timer";
+	};
+
 	spdif: spdif@ff870000 {
 		compatible = "rockchip,rk3399-spdif";
 		reg = <0x0 0xff870000 0x0 0x1000>;
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] clocksource: rockchip/timer: Support rktimer for rk3399 Caesar Wang <wxt@rock-chips.com> - 2016-05-25 12:00 +0200
  [PATCH 5/5] ARM64: dts: rockchip: add rktimer device node for rk3399 Caesar Wang <wxt@rock-chips.com> - 2016-05-25 12:00 +0200
  [PATCH 1/5] dt-bindings: document rk3399 rk-timer bindings Caesar Wang <wxt@rock-chips.com> - 2016-05-25 12:00 +0200
    Re: [PATCH 1/5] dt-bindings: document rk3399 rk-timer bindings Rob Herring <robh@kernel.org> - 2016-05-25 21:30 +0200

csiph-web