diff options
author | Linaro CI <ci_notify@linaro.org> | 2018-08-14 08:03:35 +0000 |
---|---|---|
committer | Linaro CI <ci_notify@linaro.org> | 2018-08-14 08:03:35 +0000 |
commit | 2e356bc35f90bcee9f67d0b10567a1e8618107f9 (patch) | |
tree | 4a5f4064ad53d2fe29b56c6c02c93b48fc45cf57 /Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt | |
parent | 3e2f26b16458485bf28d72abab2b50492335649e (diff) | |
parent | 2327620c9c132f9c55812b586d941de8595ef1b6 (diff) |
Merge remote-tracking branch 'sumit-lts/lts-4.4.y-hikey' into linux-4.4.y4.4.148-rc1-hikey-20180814-256
Diffstat (limited to 'Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt')
-rw-r--r-- | Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt | 36 |
1 files changed, 36 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..d0f91c557e27 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt @@ -0,0 +1,36 @@ +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: should be one of the following: + "hisilicon,hi6220-sysctrl", "syscon" for peritheral reset, + "hisilicon,hi6220-pmctrl", "syscon" for media system reset. +- 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>. |