All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: watchdog: Document armada-37xx-wdt binding
@ 2018-09-02 19:59 Marek Behún
  2018-09-02 20:02 ` Marek Behun
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Behún @ 2018-09-02 19:59 UTC (permalink / raw)
  To: devicetree; +Cc: Rob Herring, Guenter Roeck, Marek Behún

This adds device tree binding documentation for the CPU watchdog found
on Armada 37xx SOCs (EspressoBin, Turris Mox).

Signed-off-by: Marek Behún <marek.behun@nic.cz>
---
 .../bindings/watchdog/armada-37xx-wdt.txt          | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt

diff --git a/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt b/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
new file mode 100644
index 000000000000..4ba9e40ad386
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
@@ -0,0 +1,23 @@
+* Armada 37xx CPU Watchdog Timer Controller
+
+Required properties:
+- compatible : must be "marvell,armada-3700-wdt"
+- reg : base physical address of the controller and length of memory mapped
+	region.
+- clocks : the clock feeding the watchdog timer. See clock-bindings.txt
+- marvell,system-controller : reference to syscon node for the CPU Miscellaneous
+	Registers
+
+Example:
+
+	cpu_misc: system-controller@d000 {
+		compatible = "syscon", "simple-mfd";
+		reg = <0xd000 0x1000>;
+	};
+
+	wdt: watchdog-timer@8300 {
+		compatible = "marvell,armada-3700-wdt";
+		reg = <0x8300 0x40>;
+		marvell,system-controller = <&cpu_misc>;
+		clocks = <&xtalclk>;
+	};
-- 
2.16.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: watchdog: Document armada-37xx-wdt binding
  2018-09-02 19:59 [PATCH] dt-bindings: watchdog: Document armada-37xx-wdt binding Marek Behún
@ 2018-09-02 20:02 ` Marek Behun
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Behun @ 2018-09-02 20:02 UTC (permalink / raw)
  To: devicetree; +Cc: Rob Herring

Could someone from devicetree please review this?
Thanks.

Marek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-03  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-02 19:59 [PATCH] dt-bindings: watchdog: Document armada-37xx-wdt binding Marek Behún
2018-09-02 20:02 ` Marek Behun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.