Geert Uytterhoeven | d5f2ac6 | 2017-07-04 17:41:35 +0200 | [diff] [blame] | 1 | * Renesas SMP SRAM |
| 2 | |
| 3 | Renesas R-Car Gen2 and RZ/G1 SoCs need a small piece of SRAM for the jump stub |
| 4 | for secondary CPU bringup and CPU hotplug. |
| 5 | This memory is reserved by adding a child node to a "mmio-sram" node, cfr. |
| 6 | Documentation/devicetree/bindings/sram/sram.txt. |
| 7 | |
| 8 | Required child node properties: |
| 9 | - compatible: Must be "renesas,smp-sram", |
| 10 | - reg: Address and length of the reserved SRAM. |
| 11 | The full physical (bus) address must be aligned to a 256 KiB boundary. |
| 12 | |
| 13 | |
| 14 | Example: |
| 15 | |
| 16 | icram1: sram@e63c0000 { |
| 17 | compatible = "mmio-sram"; |
| 18 | reg = <0 0xe63c0000 0 0x1000>; |
| 19 | #address-cells = <1>; |
| 20 | #size-cells = <1>; |
| 21 | ranges = <0 0 0xe63c0000 0x1000>; |
| 22 | |
| 23 | smp-sram@0 { |
| 24 | compatible = "renesas,smp-sram"; |
| 25 | reg = <0 0x10>; |
| 26 | }; |
| 27 | }; |