lkml.org 
[lkml]   [2021]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 6/6] ARM: dts: mstar: Switch to compatible "sstar,ssd20xd-timer" on infinity2m
Date
This defines the real oscillators as input of timer1 and timer2 and
switch to "sstar,ssd20xd-timer".

Signed-off-by: Romain Perier <romain.perier@gmail.com>
---
arch/arm/boot/dts/mstar-infinity2m.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/mstar-infinity2m.dtsi b/arch/arm/boot/dts/mstar-infinity2m.dtsi
index 6d4d1d224e96..080a18b9effb 100644
--- a/arch/arm/boot/dts/mstar-infinity2m.dtsi
+++ b/arch/arm/boot/dts/mstar-infinity2m.dtsi
@@ -6,6 +6,14 @@

#include "mstar-infinity.dtsi"

+/ {
+ clk_timer: timer_clk {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <432000000>;
+ };
+};
+
&cpus {
cpu1: cpu@1 {
device_type = "cpu";
@@ -20,3 +28,13 @@ smpctrl: smpctrl@204000 {
status = "disabled";
};
};
+
+&timer1 {
+ compatible = "sstar,ssd20xd-timer";
+ clocks = <&clk_timer>;
+};
+
+&timer2 {
+ compatible = "sstar,ssd20xd-timer";
+ clocks = <&clk_timer>;
+};
--
2.33.0
\
 
 \ /
  Last update: 2021-12-12 19:20    [W:0.064 / U:1.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site