aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2018-09-24 13:06:52 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-10-13 15:19:40 +0200
commit8562205592a69dd8817f9ff361fc0ffc55f5e9fe (patch)
treef5243614380ab104d3b5f5ef8988ee3dece1e4b3 /Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt
parentwatchdog: Add support for Armada 37xx CPU watchdog (diff)
downloadlinux-dev-8562205592a69dd8817f9ff361fc0ffc55f5e9fe.tar.xz
linux-dev-8562205592a69dd8817f9ff361fc0ffc55f5e9fe.zip
dt-bindings: watchdog: Document armada-37xx-wdt binding
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> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt23
1 files changed, 23 insertions, 0 deletions
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..a8d00c31a1d8
--- /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 = "marvell,armada-3700-cpu-misc", "syscon";
+ reg = <0xd000 0x1000>;
+ };
+
+ wdt: watchdog@8300 {
+ compatible = "marvell,armada-3700-wdt";
+ reg = <0x8300 0x40>;
+ marvell,system-controller = <&cpu_misc>;
+ clocks = <&xtalclk>;
+ };