summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
diff options
context:
space:
mode:
authorChen Feng <puck.chen@hisilicon.com>2015-11-20 10:10:04 +0800
committerPhilipp Zabel <p.zabel@pengutronix.de>2015-11-20 15:41:28 +0100
commit04d112690d2de4dada66952c0d29fc4b8eb82512 (patch)
tree19e70d5a26d71c08418a41d1c79a7fea1aa8e6e0 /Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
parentb354f68ff0277b73d346979eac93545026733057 (diff)
reset: hisilicon: document hisi-hi6220 reset controllers bindings
Add DT bindings documentation for hi6220 SoC reset controller. Signed-off-by: Chen Feng <puck.chen@hisilicon.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt')
-rw-r--r--Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt b/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
new file mode 100644
index 000000000000..e0b185a944ba
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
@@ -0,0 +1,34 @@
+Hisilicon System Reset Controller
+======================================
+
+Please also refer to reset.txt in this directory for common reset
+controller binding usage.
+
+The reset controller registers are part of the system-ctl block on
+hi6220 SoC.
+
+Required properties:
+- compatible: may be "hisilicon,hi6220-sysctrl"
+- reg: should be register base and length as documented in the
+ datasheet
+- #reset-cells: 1, see below
+
+Example:
+sys_ctrl: sys_ctrl@f7030000 {
+ compatible = "hisilicon,hi6220-sysctrl", "syscon";
+ reg = <0x0 0xf7030000 0x0 0x2000>;
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+};
+
+Specifying reset lines connected to IP modules
+==============================================
+example:
+
+ uart1: serial@..... {
+ ...
+ resets = <&sys_ctrl PERIPH_RSTEN3_UART1>;
+ ...
+ };
+
+The index could be found in <dt-bindings/reset/hisi,hi6220-resets.h>.