18c2ecf20Sopenharmony_ciNuvoton NPCM Reset controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible : "nuvoton,npcm750-reset" for NPCM7XX BMC
58c2ecf20Sopenharmony_ci- reg : specifies physical base address and size of the register.
68c2ecf20Sopenharmony_ci- #reset-cells: must be set to 2
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciOptional property:
98c2ecf20Sopenharmony_ci- nuvoton,sw-reset-number - Contains the software reset number to restart the SoC.
108c2ecf20Sopenharmony_ci  NPCM7xx contain four software reset that represent numbers 1 to 4.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci  If 'nuvoton,sw-reset-number' is not specified software reset is disabled.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciExample:
158c2ecf20Sopenharmony_ci	rstc: rstc@f0801000 {
168c2ecf20Sopenharmony_ci		compatible = "nuvoton,npcm750-reset";
178c2ecf20Sopenharmony_ci		reg = <0xf0801000 0x70>;
188c2ecf20Sopenharmony_ci		#reset-cells = <2>;
198c2ecf20Sopenharmony_ci		nuvoton,sw-reset-number = <2>;
208c2ecf20Sopenharmony_ci	};
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciSpecifying reset lines connected to IP NPCM7XX modules
238c2ecf20Sopenharmony_ci======================================================
248c2ecf20Sopenharmony_ciexample:
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci        spi0: spi@..... {
278c2ecf20Sopenharmony_ci                ...
288c2ecf20Sopenharmony_ci                resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>;
298c2ecf20Sopenharmony_ci                ...
308c2ecf20Sopenharmony_ci        };
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciThe index could be found in <dt-bindings/reset/nuvoton,npcm7xx-reset.h>.
33