df0a452b8526de02bc935f235123acb7ae87b54c
[cascardo/linux.git] / Documentation / devicetree / bindings / arm / hisilicon / hisilicon.txt
1 Hisilicon Platforms Device Tree Bindings
2 ----------------------------------------------------
3
4 Hi4511 Board
5 Required root node properties:
6         - compatible = "hisilicon,hi3620-hi4511";
7
8 Hisilicon system controller
9
10 Required properties:
11 - compatible : "hisilicon,sysctrl"
12 - reg : Register address and size
13
14 Optional properties:
15 - smp-offset : offset in sysctrl for notifying slave cpu booting
16                 cpu 1, reg;
17                 cpu 2, reg + 0x4;
18                 cpu 3, reg + 0x8;
19                 If reg value is not zero, cpun exit wfi and go
20 - resume-offset : offset in sysctrl for notifying cpu0 when resume
21 - reboot-offset : offset in sysctrl for system reboot
22
23 Example:
24
25         /* for Hi3620 */
26         sysctrl: system-controller@fc802000 {
27                 compatible = "hisilicon,sysctrl";
28                 reg = <0xfc802000 0x1000>;
29                 smp-offset = <0x31c>;
30                 resume-offset = <0x308>;
31                 reboot-offset = <0x4>;
32         };
33
34 PCTRL: Peripheral misc control register
35
36 Required Properties:
37 - compatible: "hisilicon,pctrl"
38 - reg: Address and size of pctrl.
39
40 Example:
41
42         /* for Hi3620 */
43         pctrl: pctrl@fca09000 {
44                 compatible = "hisilicon,pctrl";
45                 reg = <0xfca09000 0x1000>;
46         };