devicetree: Add bindings for the ATH79 reset controller
authorAlban Bedel <albeu@free.fr>
Mon, 3 Aug 2015 17:23:51 +0000 (19:23 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 4 Aug 2015 08:41:02 +0000 (10:41 +0200)
Signed-off-by: Alban Bedel <albeu@free.fr>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Documentation/devicetree/bindings/reset/ath79-reset.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/reset/ath79-reset.txt b/Documentation/devicetree/bindings/reset/ath79-reset.txt
new file mode 100644 (file)
index 0000000..4c56330
--- /dev/null
@@ -0,0 +1,20 @@
+Binding for Qualcomm Atheros AR7xxx/AR9XXX reset controller
+
+Please also refer to reset.txt in this directory for common reset
+controller binding usage.
+
+Required Properties:
+- compatible: has to be "qca,<soctype>-reset", "qca,ar7100-reset"
+              as fallback
+- reg: Base address and size of the controllers memory area
+- #reset-cells : Specifies the number of cells needed to encode reset
+                 line, should be 1
+
+Example:
+
+       reset-controller@1806001c {
+               compatible = "qca,ar9132-reset", "qca,ar7100-reset";
+               reg = <0x1806001c 0x4>;
+
+               #reset-cells = <1>;
+       };