1 Allwinner SRAM for smp bringup:
2 ------------------------------------------------
4 Allwinner's A80 SoC uses part of the secure sram for hotplugging of the
5 primary core (cpu0). Once the core gets powered up it checks if a magic
6 value is set at a specific location. If it is then the BROM will jump
7 to the software entry address, instead of executing a standard boot.
9 Therefore a reserved section sub-node has to be added to the mmio-sram
12 Note that this is separate from the Allwinner SRAM controller found in
13 ../../sram/sunxi-sram.txt. This SRAM is secure only and not mappable to
16 Also there are no "secure-only" properties. The implementation should
17 check if this SRAM is usable first.
19 Required sub-node properties:
20 - compatible : depending on the SoC this should be one of:
21 "allwinner,sun9i-a80-smp-sram"
23 The rest of the properties should follow the generic mmio-sram discription
24 found in ../../misc/sram.txt
29 /* 256 KiB secure SRAM at 0x20000 */
30 compatible = "mmio-sram";
31 reg = <0x00020000 0x40000>;
34 ranges = <0 0x00020000 0x40000>;
38 * This is checked by BROM to determine if
39 * cpu0 should jump to SMP entry vector
41 compatible = "allwinner,sun9i-a80-smp-sram";