mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-25 08:19:32 +07:00
a9434e96d9
Enable SMP support on hi3xxx platform Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Tested-by: Zhang Mingjun <zhang.mingjun@linaro.org> Tested-by: Li Xin <li.xin@linaro.org> Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> [khilman: fix checkpatch errors] Signed-off-by: Kevin Hilman <khilman@linaro.org>
33 lines
826 B
Plaintext
33 lines
826 B
Plaintext
Hisilicon Platforms Device Tree Bindings
|
|
----------------------------------------------------
|
|
|
|
Hi4511 Board
|
|
Required root node properties:
|
|
- compatible = "hisilicon,hi3620-hi4511";
|
|
|
|
Hisilicon system controller
|
|
|
|
Required properties:
|
|
- compatible : "hisilicon,sysctrl"
|
|
- reg : Register address and size
|
|
|
|
Optional properties:
|
|
- smp-offset : offset in sysctrl for notifying slave cpu booting
|
|
cpu 1, reg;
|
|
cpu 2, reg + 0x4;
|
|
cpu 3, reg + 0x8;
|
|
If reg value is not zero, cpun exit wfi and go
|
|
- resume-offset : offset in sysctrl for notifying cpu0 when resume
|
|
- reboot-offset : offset in sysctrl for system reboot
|
|
|
|
Example:
|
|
|
|
/* for Hi3620 */
|
|
sysctrl: system-controller@fc802000 {
|
|
compatible = "hisilicon,sysctrl";
|
|
reg = <0xfc802000 0x1000>;
|
|
smp-offset = <0x31c>;
|
|
resume-offset = <0x308>;
|
|
reboot-offset = <0x4>;
|
|
};
|