xref: /freebsd/sys/contrib/device-tree/Bindings/reset/hisilicon,hi6220-reset.txt (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1Hisilicon System Reset Controller
2======================================
3
4Please also refer to reset.txt in this directory for common reset
5controller binding usage.
6
7The reset controller registers are part of the system-ctl block on
8hi6220 SoC.
9
10Required properties:
11- compatible: should be one of the following:
12  - "hisilicon,hi6220-sysctrl", "syscon" : For peripheral reset controller.
13  - "hisilicon,hi6220-mediactrl", "syscon" : For media reset controller.
14  - "hisilicon,hi6220-aoctrl", "syscon" : For ao reset controller.
15- reg: should be register base and length as documented in the
16  datasheet
17- #reset-cells: 1, see below
18
19Example:
20sys_ctrl: sys_ctrl@f7030000 {
21	compatible = "hisilicon,hi6220-sysctrl", "syscon";
22	reg = <0x0 0xf7030000 0x0 0x2000>;
23	#clock-cells = <1>;
24	#reset-cells = <1>;
25};
26
27Specifying reset lines connected to IP modules
28==============================================
29example:
30
31        uart1: serial@..... {
32                ...
33                resets = <&sys_ctrl PERIPH_RSTEN3_UART1>;
34                ...
35        };
36
37The index could be found in <dt-bindings/reset/hisi,hi6220-resets.h>.
38