|
27 | 27 | cpus { |
28 | 28 | #address-cells = <1>; |
29 | 29 | #size-cells = <0>; |
| 30 | + enable-method = "rockchip,rk3036-smp"; |
30 | 31 |
|
31 | 32 | cpu0: cpu@f00 { |
32 | 33 | device_type = "cpu"; |
33 | 34 | compatible = "arm,cortex-a7"; |
34 | 35 | reg = <0xf00>; |
35 | 36 | clock-latency = <40000>; |
36 | 37 | clocks = <&cru ARMCLK>; |
37 | | - operating-points = < |
38 | | - /* KHz uV */ |
39 | | - 816000 1000000 |
40 | | - >; |
| 38 | + resets = <&cru SRST_CORE0>; |
| 39 | + operating-points-v2 = <&cpu_opp_table>; |
41 | 40 | #cooling-cells = <2>; /* min followed by max */ |
42 | 41 | }; |
43 | 42 |
|
44 | 43 | cpu1: cpu@f01 { |
45 | 44 | device_type = "cpu"; |
46 | 45 | compatible = "arm,cortex-a7"; |
47 | 46 | reg = <0xf01>; |
| 47 | + resets = <&cru SRST_CORE1>; |
| 48 | + operating-points-v2 = <&cpu_opp_table>; |
48 | 49 | }; |
49 | 50 |
|
50 | 51 | cpu2: cpu@f02 { |
51 | 52 | device_type = "cpu"; |
52 | 53 | compatible = "arm,cortex-a7"; |
53 | 54 | reg = <0xf02>; |
| 55 | + resets = <&cru SRST_CORE2>; |
| 56 | + operating-points-v2 = <&cpu_opp_table>; |
54 | 57 | }; |
55 | 58 |
|
56 | 59 | cpu3: cpu@f03 { |
57 | 60 | device_type = "cpu"; |
58 | 61 | compatible = "arm,cortex-a7"; |
59 | 62 | reg = <0xf03>; |
| 63 | + resets = <&cru SRST_CORE3>; |
| 64 | + operating-points-v2 = <&cpu_opp_table>; |
| 65 | + }; |
| 66 | + }; |
| 67 | + |
| 68 | + cpu_opp_table: opp-table-0 { |
| 69 | + compatible = "operating-points-v2"; |
| 70 | + opp-shared; |
| 71 | + |
| 72 | + opp-216000000 { |
| 73 | + opp-hz = /bits/ 64 <216000000>; |
| 74 | + opp-microvolt = <950000 950000 1325000>; |
| 75 | + }; |
| 76 | + opp-408000000 { |
| 77 | + opp-hz = /bits/ 64 <408000000>; |
| 78 | + opp-microvolt = <950000 950000 1325000>; |
| 79 | + }; |
| 80 | + opp-600000000 { |
| 81 | + opp-hz = /bits/ 64 <600000000>; |
| 82 | + opp-microvolt = <950000 950000 1325000>; |
| 83 | + }; |
| 84 | + opp-696000000 { |
| 85 | + opp-hz = /bits/ 64 <696000000>; |
| 86 | + opp-microvolt = <975000 975000 1325000>; |
| 87 | + }; |
| 88 | + opp-816000000 { |
| 89 | + opp-hz = /bits/ 64 <816000000>; |
| 90 | + opp-microvolt = <1075000 1075000 1325000>; |
| 91 | + opp-suspend; |
| 92 | + }; |
| 93 | + opp-1008000000 { |
| 94 | + opp-hz = /bits/ 64 <1008000000>; |
| 95 | + opp-microvolt = <1200000 1200000 1325000>; |
| 96 | + }; |
| 97 | + opp-1200000000 { |
| 98 | + opp-hz = /bits/ 64 <1200000000>; |
| 99 | + opp-microvolt = <1325000 1325000 1325000>; |
60 | 100 | }; |
61 | 101 | }; |
62 | 102 |
|
|
76 | 116 | #clock-cells = <0>; |
77 | 117 | }; |
78 | 118 |
|
| 119 | + imem: sram@10080000 { |
| 120 | + compatible = "mmio-sram"; |
| 121 | + reg = <0x10080000 0x2000>; |
| 122 | + #address-cells = <1>; |
| 123 | + #size-cells = <1>; |
| 124 | + ranges = <0 0x10080000 0x2000>; |
| 125 | + |
| 126 | + smp-sram@0 { |
| 127 | + compatible = "rockchip,rk3066-smp-sram"; |
| 128 | + reg = <0x00 0x10>; |
| 129 | + }; |
| 130 | + }; |
| 131 | + |
79 | 132 | pmu: syscon@100a0000 { |
80 | 133 | compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd"; |
81 | 134 | reg = <0x100a0000 0x1000>; |
|
0 commit comments