xref: /freebsd/sys/contrib/device-tree/Bindings/reset/nuvoton,npcm-reset.txt (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1Nuvoton NPCM Reset controller
2
3Required properties:
4- compatible : "nuvoton,npcm750-reset" for NPCM7XX BMC
5- reg : specifies physical base address and size of the register.
6- #reset-cells: must be set to 2
7
8Optional property:
9- nuvoton,sw-reset-number - Contains the software reset number to restart the SoC.
10  NPCM7xx contain four software reset that represent numbers 1 to 4.
11
12  If 'nuvoton,sw-reset-number' is not specified software reset is disabled.
13
14Example:
15	rstc: rstc@f0801000 {
16		compatible = "nuvoton,npcm750-reset";
17		reg = <0xf0801000 0x70>;
18		#reset-cells = <2>;
19		nuvoton,sw-reset-number = <2>;
20	};
21
22Specifying reset lines connected to IP NPCM7XX modules
23======================================================
24example:
25
26        spi0: spi@..... {
27                ...
28                resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>;
29                ...
30        };
31
32The index could be found in <dt-bindings/reset/nuvoton,npcm7xx-reset.h>.
33