Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / reset / nuvoton,npcm-reset.txt
1 Nuvoton NPCM Reset controller
2
3 Required 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
8 Optional 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
14 Example:
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
22 Specifying reset lines connected to IP NPCM7XX modules
23 ======================================================
24 example:
25
26         spi0: spi@..... {
27                 ...
28                 resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>;
29                 ...
30         };
31
32 The index could be found in <dt-bindings/reset/nuvoton,npcm7xx-reset.h>.