[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210611200801.52139-4-romain.perier@gmail.com>
Date: Fri, 11 Jun 2021 22:08:01 +0200
From: Romain Perier <romain.perier@...il.com>
To: Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Rob Herring <robh+dt@...nel.org>
Cc: Daniel Palmer <daniel@...f.com>,
Mohammed Billoo <mohammed.billoo@...il.com>,
linux-watchdog@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v4 3/3] ARM: dts: mstar: Add watchdog device_node definition
This adds the definition of both an oscillator at 12Mhz required by the
the watchdog and the watchdog device_node.
Signed-off-by: Romain Perier <romain.perier@...il.com>
---
arch/arm/boot/dts/mstar-v7.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi
index 075d583d6f40..2273295e140f 100644
--- a/arch/arm/boot/dts/mstar-v7.dtsi
+++ b/arch/arm/boot/dts/mstar-v7.dtsi
@@ -60,6 +60,14 @@ rtc_xtal: rtc_xtal {
clock-frequency = <32768>;
status = "disabled";
};
+
+ xtal_div2: xtal_div2 {
+ #clock-cells = <0>;
+ compatible = "fixed-factor-clock";
+ clocks = <&xtal>;
+ clock-div = <2>;
+ clock-mult = <1>;
+ };
};
soc: soc {
@@ -101,6 +109,12 @@ reboot {
mask = <0x79>;
};
+ watchdog@...0 {
+ compatible = "mstar,msc313e-wdt";
+ reg = <0x6000 0x1f>;
+ clocks = <&xtal_div2>;
+ };
+
intc_fiq: interrupt-controller@...310 {
compatible = "mstar,mst-intc";
reg = <0x201310 0x40>;
--
2.30.2
Powered by blists - more mailing lists