From 4142fa4b8516dc757b988f2b9f6dd0196ac1ffc8 Mon Sep 17 00:00:00 2001 From: "Huang, Tao" Date: Wed, 6 May 2015 22:03:22 +0800 Subject: [PATCH] arm64: rockchip: rk3368: cpu0 use rockchip timer prepare for power off all cpu when idle Signed-off-by: Huang, Tao --- arch/arm64/boot/dts/rk3368.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rk3368.dtsi b/arch/arm64/boot/dts/rk3368.dtsi index bfa3c0d094f6..cf76ca3778f9 100644 --- a/arch/arm64/boot/dts/rk3368.dtsi +++ b/arch/arm64/boot/dts/rk3368.dtsi @@ -304,6 +304,13 @@ rockchip,broadcast = <1>; }; + timer@ff810020 { + compatible = "rockchip,timer"; + reg = <0x0 0xff810020 0x0 0x20>; + interrupts = ; + rockchip,percpu = <0>; + }; + sram: sram@ff8c0000 { compatible = "mmio-sram"; reg = <0x0 0xff8c0000 0x0 0xf000>; /* 60K (reserved 4K for mailbox)*/ @@ -641,7 +648,6 @@ <&clk_gates12 9>,/*hclk_rom*/ /*PD_ALIVE*/ - <&clk_gates22 13>,/*pclk_timer1*/ <&clk_gates22 12>,/*pclk_timer0*/ <&clk_gates22 9>,/*pclk_alive_niu*/ <&clk_gates22 8>,/*pclk_grf*/ @@ -661,6 +667,9 @@ <&clk_gates20 7>,/*hclk_peri_ahb_arbi*/ <&clk_gates19 1>,/*pclk_peri_axi_matrix*/ + <&clk_gates24 0>, /* g_clk_timer0 */ + <&clk_gates24 1>, /* g_clk_timer1 */ + <&fclk_mcu>, <&stclk_mcu>, <&clk_gates7 0>;/*clk_jtag*/ -- 2.34.1