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 8hi3660 SoC. 9 10Required properties: 11- compatible: should be 12 "hisilicon,hi3660-reset" 13- hisi,rst-syscon: phandle of the reset's syscon. 14- #reset-cells : Specifies the number of cells needed to encode a 15 reset source. The type shall be a <u32> and the value shall be 2. 16 17 Cell #1 : offset of the reset assert control 18 register from the syscon register base 19 offset + 4: deassert control register 20 offset + 8: status control register 21 Cell #2 : bit position of the reset in the reset control register 22 23Example: 24 iomcu: iomcu@ffd7e000 { 25 compatible = "hisilicon,hi3660-iomcu", "syscon"; 26 reg = <0x0 0xffd7e000 0x0 0x1000>; 27 }; 28 29 iomcu_rst: iomcu_rst_controller { 30 compatible = "hisilicon,hi3660-reset"; 31 hisi,rst-syscon = <&iomcu>; 32 #reset-cells = <2>; 33 }; 34 35Specifying reset lines connected to IP modules 36============================================== 37example: 38 39 i2c0: i2c@..... { 40 ... 41 resets = <&iomcu_rst 0x20 3>; /* offset: 0x20; bit: 3 */ 42 ... 43 }; 44