18c2ecf20Sopenharmony_ciCSR SiRFSoC Reset Controller 28c2ecf20Sopenharmony_ci====================================== 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciPlease also refer to reset.txt in this directory for common reset 58c2ecf20Sopenharmony_cicontroller binding usage. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciRequired properties: 88c2ecf20Sopenharmony_ci- compatible: Should be "sirf,prima2-rstc" or "sirf,marco-rstc" 98c2ecf20Sopenharmony_ci- reg: should be register base and length as documented in the 108c2ecf20Sopenharmony_ci datasheet 118c2ecf20Sopenharmony_ci- #reset-cells: 1, see below 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciexample: 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_cirstc: reset-controller@88010000 { 168c2ecf20Sopenharmony_ci compatible = "sirf,prima2-rstc"; 178c2ecf20Sopenharmony_ci reg = <0x88010000 0x1000>; 188c2ecf20Sopenharmony_ci #reset-cells = <1>; 198c2ecf20Sopenharmony_ci}; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciSpecifying reset lines connected to IP modules 228c2ecf20Sopenharmony_ci============================================== 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciThe reset controller(rstc) manages various reset sources. This module provides 258c2ecf20Sopenharmony_cireset signals for most blocks in system. Those device nodes should specify the 268c2ecf20Sopenharmony_cireset line on the rstc in their resets property, containing a phandle to the 278c2ecf20Sopenharmony_cirstc device node and a RESET_INDEX specifying which module to reset, as described 288c2ecf20Sopenharmony_ciin reset.txt. 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciFor SiRFSoC, RESET_INDEX is just reset_bit defined in SW_RST0 and SW_RST1 registers. 318c2ecf20Sopenharmony_ciFor modules whose rest_bit is in SW_RST0, its RESET_INDEX is 0~31. For modules whose 328c2ecf20Sopenharmony_cirest_bit is in SW_RST1, its RESET_INDEX is 32~63. 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciexample: 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_civpp@90020000 { 378c2ecf20Sopenharmony_ci compatible = "sirf,prima2-vpp"; 388c2ecf20Sopenharmony_ci reg = <0x90020000 0x10000>; 398c2ecf20Sopenharmony_ci interrupts = <31>; 408c2ecf20Sopenharmony_ci clocks = <&clks 35>; 418c2ecf20Sopenharmony_ci resets = <&rstc 6>; 428c2ecf20Sopenharmony_ci}; 43