blob: 1ee1f4754be8ad05b2bd2fc43a7bb8c768ea5972 [file] [log] [blame]
Abhijeet Dharmapurikar7e37e6e2012-08-23 18:58:44 -07001/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
Pu Chen1335e872012-08-01 08:45:25 -06002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12/ {
13 qcom,kgsl-3d0@fdb00000 {
14 label = "kgsl-3d0";
15 compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d";
16 reg = <0xfdb00000 0x20000>;
17 reg-names = "kgsl_3d0_reg_memory";
18 interrupts = <0 33 0>;
19 interrupt-names = "kgsl_3d0_irq";
20 qcom,id = <0>;
21
22 qcom,chipid = <0x03030000>;
23
24 qcom,initial-pwrlevel = <1>;
25
26 qcom,idle-timeout = <83>; //<HZ/12>
27 qcom,nap-allowed = <1>;
28 qcom,clk-map = <0x00000016>; //KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE
29
30 /* Bus Scale Settings */
Rajeev Kulkarnic9162002012-11-22 00:42:58 -080031 qcom,msm-bus,name = "grp3d";
32 qcom,msm-bus,num-cases = <4>;
33 qcom,msm-bus,active-only = <0>;
34 qcom,msm-bus,num-paths = <2>;
35 qcom,msm-bus,vectors-KBps =
36 <26 512 0 0>, <89 604 0 0>,
37 <26 512 0 2000000>, <89 604 0 3000000>,
38 <26 512 0 4000000>, <89 604 0 5000000>,
39 <26 512 0 6400000>, <89 604 0 7600000>;
Pu Chen1335e872012-08-01 08:45:25 -060040
41 /* GDSC oxili regulators */
42 vddcx-supply = <&gdsc_oxili_cx>;
43 vdd-supply = <&gdsc_oxili_gx>;
44
45 /* Power levels */
46
47 /* IOMMU Data */
48 iommu = <&kgsl_iommu>;
49
50 qcom,gpu-pwrlevels {
51 #address-cells = <1>;
52 #size-cells = <0>;
53
54 compatible = "qcom,gpu-pwrlevels";
55
56 qcom,gpu-pwrlevel@0 {
57 reg = <0>;
58 qcom,gpu-freq = <500000000>;
59 qcom,bus-freq = <3>;
60 qcom,io-fraction = <0>;
61 };
62
63 qcom,gpu-pwrlevel@1 {
64 reg = <1>;
65 qcom,gpu-freq = <333000000>;
66 qcom,bus-freq = <2>;
67 qcom,io-fraction = <33>;
68 };
69
70 qcom,gpu-pwrlevel@2 {
71 reg = <2>;
72 qcom,gpu-freq = <200000000>;
73 qcom,bus-freq = <1>;
74 qcom,io-fraction = <100>;
75 };
76
77 qcom,gpu-pwrlevel@3 {
78 reg = <3>;
79 qcom,gpu-freq = <27000000>;
80 qcom,bus-freq = <0>;
81 qcom,io-fraction = <0>;
82 };
83 };
84
85 qcom,dcvs-core-info {
86 #address-cells = <1>;
87 #size-cells = <0>;
88
89 compatible = "qcom,dcvs-core-info";
90
Abhijeet Dharmapurikarb6c05772012-08-26 18:27:53 -070091 qcom,num-cores = <1>;
92 qcom,sensors = <0>;
93
Abhijeet Dharmapurikar7e37e6e2012-08-23 18:58:44 -070094 qcom,core-core-type = <1>;
95
96 qcom,algo-disable-pc-threshold = <0>;
97 qcom,algo-em-win-size-min-us = <100000>;
98 qcom,algo-em-win-size-max-us = <300000>;
Pu Chen1335e872012-08-01 08:45:25 -060099 qcom,algo-em-max-util-pct = <97>;
Abhijeet Dharmapurikar7e37e6e2012-08-23 18:58:44 -0700100 qcom,algo-group-id = <95>;
101 qcom,algo-max-freq-chg-time-us = <100000>;
102 qcom,algo-slack-mode-dynamic = <100000>;
103 qcom,algo-slack-weight-thresh-pct = <0>;
104 qcom,algo-slack-time-min-us = <39000>;
105 qcom,algo-slack-time-max-us = <39000>;
106 qcom,algo-ss-win-size-min-us = <1000000>;
107 qcom,algo-ss-win-size-max-us = <1000000>;
108 qcom,algo-ss-util-pct = <95>;
Steve Muckle8d0782e2012-12-06 14:31:00 -0800109 qcom,algo-ss-no-corr-below-freq = <0>;
Pu Chen1335e872012-08-01 08:45:25 -0600110
Abhijeet Dharmapurikar7e37e6e2012-08-23 18:58:44 -0700111 qcom,energy-active-coeff-a = <2492>;
112 qcom,energy-active-coeff-b = <0>;
113 qcom,energy-active-coeff-c = <0>;
114 qcom,energy-leakage-coeff-a = <11>;
115 qcom,energy-leakage-coeff-b = <157150>;
116 qcom,energy-leakage-coeff-c = <0>;
117 qcom,energy-leakage-coeff-d = <0>;
118
119 qcom,power-current-temp = <25>;
120 qcom,power-num-freq = <4>;
121
Pu Chen1335e872012-08-01 08:45:25 -0600122 qcom,dcvs-freq@0 {
123 reg = <0>;
124 qcom,freq = <0>;
Abhijeet Dharmapurikar7e37e6e2012-08-23 18:58:44 -0700125 qcom,voltage = <0>;
126 qcom,is_trans_level = <0>;
127 qcom,active-energy-offset = <100>;
128 qcom,leakage-energy-offset = <0>;
Pu Chen1335e872012-08-01 08:45:25 -0600129 };
130
131 qcom,dcvs-freq@1 {
132 reg = <1>;
133 qcom,freq = <0>;
Abhijeet Dharmapurikar7e37e6e2012-08-23 18:58:44 -0700134 qcom,voltage = <0>;
135 qcom,is_trans_level = <0>;
136 qcom,active-energy-offset = <100>;
137 qcom,leakage-energy-offset = <0>;
Pu Chen1335e872012-08-01 08:45:25 -0600138 };
139
140 qcom,dcvs-freq@2 {
141 reg = <2>;
142 qcom,freq = <0>;
Abhijeet Dharmapurikar7e37e6e2012-08-23 18:58:44 -0700143 qcom,voltage = <0>;
144 qcom,is_trans_level = <0>;
145 qcom,active-energy-offset = <100>;
146 qcom,leakage-energy-offset = <0>;
Pu Chen1335e872012-08-01 08:45:25 -0600147 };
148
149 qcom,dcvs-freq@3 {
150 reg = <3>;
151 qcom,freq = <0>;
Abhijeet Dharmapurikar7e37e6e2012-08-23 18:58:44 -0700152 qcom,voltage = <0>;
153 qcom,is_trans_level = <0>;
154 qcom,active-energy-offset = <844545>;
155 qcom,leakage-energy-offset = <0>;
Pu Chen1335e872012-08-01 08:45:25 -0600156 };
157 };
158
159 };
160};