blob: a972d7fe784309625f32cf3b06b30c2dcd67b147 [file] [log] [blame]
Pu Chen1335e872012-08-01 08:45:25 -06001/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
2 *
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 */
31 qcom,grp3d-vectors = <0 0 0 0>, <2 1 0 0>,
32 <0 0 0 2000>, <2 1 0 3000>,
33 <0 0 0 4000>, <2 1 0 5000>,
34 <0 0 0 6400>, <2 1 0 7600>;
35 qcom,grp3d-num-vectors-per-usecase = <2>;
36 qcom,grp3d-num-bus-scale-usecases = <4>;
37
38 /* GDSC oxili regulators */
39 vddcx-supply = <&gdsc_oxili_cx>;
40 vdd-supply = <&gdsc_oxili_gx>;
41
42 /* Power levels */
43
44 /* IOMMU Data */
45 iommu = <&kgsl_iommu>;
46
47 qcom,gpu-pwrlevels {
48 #address-cells = <1>;
49 #size-cells = <0>;
50
51 compatible = "qcom,gpu-pwrlevels";
52
53 qcom,gpu-pwrlevel@0 {
54 reg = <0>;
55 qcom,gpu-freq = <500000000>;
56 qcom,bus-freq = <3>;
57 qcom,io-fraction = <0>;
58 };
59
60 qcom,gpu-pwrlevel@1 {
61 reg = <1>;
62 qcom,gpu-freq = <333000000>;
63 qcom,bus-freq = <2>;
64 qcom,io-fraction = <33>;
65 };
66
67 qcom,gpu-pwrlevel@2 {
68 reg = <2>;
69 qcom,gpu-freq = <200000000>;
70 qcom,bus-freq = <1>;
71 qcom,io-fraction = <100>;
72 };
73
74 qcom,gpu-pwrlevel@3 {
75 reg = <3>;
76 qcom,gpu-freq = <27000000>;
77 qcom,bus-freq = <0>;
78 qcom,io-fraction = <0>;
79 };
80 };
81
82 qcom,dcvs-core-info {
83 #address-cells = <1>;
84 #size-cells = <0>;
85
86 compatible = "qcom,dcvs-core-info";
87
88 qcom,core-max-time-us = <100000>;
89 qcom,algo-slack-time-us = <39000>;
90 qcom,algo-disable-pc-threshold = <86000>;
91 qcom,algo-ss-window-size = <1000000>;
92 qcom,algo-ss-util-pct = <95>;
93 qcom,algo-em-max-util-pct = <97>;
94 qcom,algo-ss-iobusy-conv = <100>;
95
96 qcom,dcvs-freq@0 {
97 reg = <0>;
98 qcom,freq = <0>;
99 qcom,idle-energy = <0>;
100 qcom,active-energy = <333932>;
101 };
102
103 qcom,dcvs-freq@1 {
104 reg = <1>;
105 qcom,freq = <0>;
106 qcom,idle-energy = <0>;
107 qcom,active-energy = <497532>;
108 };
109
110 qcom,dcvs-freq@2 {
111 reg = <2>;
112 qcom,freq = <0>;
113 qcom,idle-energy = <0>;
114 qcom,active-energy = <707610>;
115 };
116
117 qcom,dcvs-freq@3 {
118 reg = <3>;
119 qcom,freq = <0>;
120 qcom,idle-energy = <0>;
121 qcom,active-energy = <844545>;
122 };
123 };
124
125 };
126};