1*4882a593SmuzhiyunNuvoton NPCM Reset controller 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible : "nuvoton,npcm750-reset" for NPCM7XX BMC 5*4882a593Smuzhiyun- reg : specifies physical base address and size of the register. 6*4882a593Smuzhiyun- #reset-cells: must be set to 2 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunOptional property: 9*4882a593Smuzhiyun- nuvoton,sw-reset-number - Contains the software reset number to restart the SoC. 10*4882a593Smuzhiyun NPCM7xx contain four software reset that represent numbers 1 to 4. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun If 'nuvoton,sw-reset-number' is not specified software reset is disabled. 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunExample: 15*4882a593Smuzhiyun rstc: rstc@f0801000 { 16*4882a593Smuzhiyun compatible = "nuvoton,npcm750-reset"; 17*4882a593Smuzhiyun reg = <0xf0801000 0x70>; 18*4882a593Smuzhiyun #reset-cells = <2>; 19*4882a593Smuzhiyun nuvoton,sw-reset-number = <2>; 20*4882a593Smuzhiyun }; 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunSpecifying reset lines connected to IP NPCM7XX modules 23*4882a593Smuzhiyun====================================================== 24*4882a593Smuzhiyunexample: 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun spi0: spi@..... { 27*4882a593Smuzhiyun ... 28*4882a593Smuzhiyun resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>; 29*4882a593Smuzhiyun ... 30*4882a593Smuzhiyun }; 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunThe index could be found in <dt-bindings/reset/nuvoton,npcm7xx-reset.h>. 33