npcm_timer driver is changed to use SECCNT counter.

Signed-off-by: Jim Liu <jjl...@nuvoton.com>
---
 arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/arch/arm/dts/nuvoton-common-npcm8xx.dtsi 
b/arch/arm/dts/nuvoton-common-npcm8xx.dtsi
index db7517cc9ba..be06b2a0cae 100644
--- a/arch/arm/dts/nuvoton-common-npcm8xx.dtsi
+++ b/arch/arm/dts/nuvoton-common-npcm8xx.dtsi
@@ -62,6 +62,11 @@
                        reg = <0x0 0xf0801000 0x0 0x1000>;
                };
 
+               timer0: timer@f0801068 {
+                       compatible = "nuvoton,npcm845-timer";
+                       reg = <0x0 0xf0801068 0x0 0x8>;
+               };
+
                sdhci0: sdhci@f0842000 {
                        compatible = "nuvoton,npcm845-sdhci";
                        reg = <0x0 0xf0842000 0x0 0x100>;
@@ -157,14 +162,6 @@
                                status = "disabled";
                        };
 
-                       timer0: timer@8000 {
-                               compatible = "nuvoton,npcm845-timer";
-                               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
-                               reg = <0x8000 0x1C>;
-                               clocks = <&clk NPCM8XX_CLK_REFCLK>;
-                               clock-names = "refclk";
-                       };
-
                        serial0: serial@0 {
                                compatible = "nuvoton,npcm845-uart", 
"nuvoton,npcm750-uart";
                                reg = <0x0 0x1000>;
-- 
2.34.1

Reply via email to