mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 10:45:09 +07:00
8064887e02
This patch allows to build the Kernel for Vybrid (VF6xx) SoC when ARMv7-M CPU is selected. The resulting image runs on the secondary Cortex-M4 core. This core has equally access to all peripherals as the main Cortex-A5 core. However, there is no resource control mechanism, hence when both cores are used simultaneously, orthogonal device tree's are required. The boot CPU is dependent on the SoC variant. The available boards use mostly variants where the Cortex-A5 is the primary and hence the boot CPU. Booting the secondary Cortex-M4 CPU needs SoC specific registers written. There is no in kernel support for this right now, a external userspace utility called "m4boot" can be used to boot the kernel: m4boot xipImage initramfs.cpio.lzo vf610m4-colibri.dtb Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
138 lines
4.0 KiB
Plaintext
138 lines
4.0 KiB
Plaintext
Freescale i.MX Platforms Device Tree Bindings
|
|
-----------------------------------------------
|
|
|
|
i.MX23 Evaluation Kit
|
|
Required root node properties:
|
|
- compatible = "fsl,imx23-evk", "fsl,imx23";
|
|
|
|
i.MX25 Product Development Kit
|
|
Required root node properties:
|
|
- compatible = "fsl,imx25-pdk", "fsl,imx25";
|
|
|
|
i.MX27 Product Development Kit
|
|
Required root node properties:
|
|
- compatible = "fsl,imx27-pdk", "fsl,imx27";
|
|
|
|
i.MX28 Evaluation Kit
|
|
Required root node properties:
|
|
- compatible = "fsl,imx28-evk", "fsl,imx28";
|
|
|
|
i.MX51 Babbage Board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx51-babbage", "fsl,imx51";
|
|
|
|
i.MX53 Automotive Reference Design Board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx53-ard", "fsl,imx53";
|
|
|
|
i.MX53 Evaluation Kit
|
|
Required root node properties:
|
|
- compatible = "fsl,imx53-evk", "fsl,imx53";
|
|
|
|
i.MX53 Quick Start Board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx53-qsb", "fsl,imx53";
|
|
|
|
i.MX53 Smart Mobile Reference Design Board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx53-smd", "fsl,imx53";
|
|
|
|
i.MX6 Quad Armadillo2 Board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx6q-arm2", "fsl,imx6q";
|
|
|
|
i.MX6 Quad SABRE Lite Board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx6q-sabrelite", "fsl,imx6q";
|
|
|
|
i.MX6 Quad SABRE Smart Device Board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx6q-sabresd", "fsl,imx6q";
|
|
|
|
i.MX6 Quad SABRE Automotive Board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx6q-sabreauto", "fsl,imx6q";
|
|
|
|
Generic i.MX boards
|
|
-------------------
|
|
|
|
No iomux setup is done for these boards, so this must have been configured
|
|
by the bootloader for boards to work with the generic bindings.
|
|
|
|
i.MX27 generic board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx27";
|
|
|
|
i.MX51 generic board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx51";
|
|
|
|
i.MX53 generic board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx53";
|
|
|
|
i.MX6q generic board
|
|
Required root node properties:
|
|
- compatible = "fsl,imx6q";
|
|
|
|
Freescale Vybrid Platform Device Tree Bindings
|
|
----------------------------------------------
|
|
|
|
For the Vybrid SoC familiy all variants with DDR controller are supported,
|
|
which is the VF5xx and VF6xx series. Out of historical reasons, in most
|
|
places the kernel uses vf610 to refer to the whole familiy.
|
|
The compatible string "fsl,vf610m4" is used for the secondary Cortex-M4
|
|
core support.
|
|
|
|
Required root node compatible property (one of them):
|
|
- compatible = "fsl,vf500";
|
|
- compatible = "fsl,vf510";
|
|
- compatible = "fsl,vf600";
|
|
- compatible = "fsl,vf610";
|
|
- compatible = "fsl,vf610m4";
|
|
|
|
Freescale LS1021A Platform Device Tree Bindings
|
|
------------------------------------------------
|
|
|
|
Required root node compatible properties:
|
|
- compatible = "fsl,ls1021a";
|
|
|
|
Freescale LS1021A SoC-specific Device Tree Bindings
|
|
-------------------------------------------
|
|
|
|
Freescale SCFG
|
|
SCFG is the supplemental configuration unit, that provides SoC specific
|
|
configuration and status registers for the chip. Such as getting PEX port
|
|
status.
|
|
Required properties:
|
|
- compatible: should be "fsl,ls1021a-scfg"
|
|
- reg: should contain base address and length of SCFG memory-mapped registers
|
|
|
|
Example:
|
|
scfg: scfg@1570000 {
|
|
compatible = "fsl,ls1021a-scfg";
|
|
reg = <0x0 0x1570000 0x0 0x10000>;
|
|
};
|
|
|
|
Freescale DCFG
|
|
DCFG is the device configuration unit, that provides general purpose
|
|
configuration and status for the device. Such as setting the secondary
|
|
core start address and release the secondary core from holdoff and startup.
|
|
Required properties:
|
|
- compatible: should be "fsl,ls1021a-dcfg"
|
|
- reg : should contain base address and length of DCFG memory-mapped registers
|
|
|
|
Example:
|
|
dcfg: dcfg@1ee0000 {
|
|
compatible = "fsl,ls1021a-dcfg";
|
|
reg = <0x0 0x1ee0000 0x0 0x10000>;
|
|
};
|
|
|
|
Freescale LS2085A SoC Device Tree Bindings
|
|
------------------------------------------
|
|
|
|
LS2085A ARMv8 based Simulator model
|
|
Required root node properties:
|
|
- compatible = "fsl,ls2085a-simu", "fsl,ls2085a";
|
|
|