mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
06cc5c1d4d
Enable support for the Hisilicon HiX5HD2 SoC. This HiX5HD2 SoC series support both single and dual Cortex-A9 cores. Add ARCH_HIX5HD2 to distinguish HiX5HD2 from Hi3xxx. They are different in implementation such as SMP, IPs integarted and earlycon configure. Signed-off-by: Haifeng Yan <yanhaifeng@gmail.com> Signed-off-by: Jiancheng Xue <jchxue@gmail.com> Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> Acked-by: Wei Xu <xuwei5@hisilicon.com> Signed-off-by: Olof Johansson <olof@lixom.net>
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
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>;
|
|
};
|
|
|
|
-----------------------------------------------------------------------
|
|
Hisilicon CPU controller
|
|
|
|
Required properties:
|
|
- compatible : "hisilicon,cpuctrl"
|
|
- reg : Register address and size
|
|
|
|
The clock registers and power registers of secondary cores are defined
|
|
in CPU controller, especially in HIX5HD2 SoC.
|
|
|
|
-----------------------------------------------------------------------
|
|
PCTRL: Peripheral misc control register
|
|
|
|
Required Properties:
|
|
- compatible: "hisilicon,pctrl"
|
|
- reg: Address and size of pctrl.
|
|
|
|
Example:
|
|
|
|
/* for Hi3620 */
|
|
pctrl: pctrl@fca09000 {
|
|
compatible = "hisilicon,pctrl";
|
|
reg = <0xfca09000 0x1000>;
|
|
};
|