Commit | Line | Data |
---|---|---|
de18e014 HS |
1 | Rockchip SRAM for smp bringup: |
2 | ------------------------------ | |
3 | ||
4 | Rockchip's smp-capable SoCs use the first part of the sram for the bringup | |
5 | of the cores. Once the core gets powered up it executes the code that is | |
6 | residing at the very beginning of the sram. | |
7 | ||
8 | Therefore a reserved section sub-node has to be added to the mmio-sram | |
9 | declaration. | |
10 | ||
11 | Required sub-node properties: | |
12 | - compatible : should be "rockchip,rk3066-smp-sram" | |
13 | ||
14 | The rest of the properties should follow the generic mmio-sram discription | |
15 | found in ../../misc/sram.txt | |
16 | ||
17 | Example: | |
18 | ||
19 | sram: sram@10080000 { | |
20 | compatible = "mmio-sram"; | |
21 | reg = <0x10080000 0x10000>; | |
22 | #address-cells = <1>; | |
23 | #size-cells = <1>; | |
24 | ranges; | |
25 | ||
26 | smp-sram@10080000 { | |
27 | compatible = "rockchip,rk3066-smp-sram"; | |
28 | reg = <0x10080000 0x50>; | |
29 | }; | |
30 | }; |