blob: e1bd5098abc802d0a8d346d67a6831256a42898c [file] [log] [blame]
Steve Kondikcde41102014-02-15 17:04:36 -08001/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
Steve Kondik464aaea2014-01-18 03:12:00 -08002 *
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/*
14 * As a general rule, only version-specific property overrides should be placed
15 * inside this file. However, device definitions should be placed inside the
16 * msm8974.dtsi file.
17 */
18
19/include/ "msm8974-v2-sec.dtsi"
20
21/* GPU overrides */
22&msm_gpu {
23 /* Updated chip ID */
24 qcom,chipid = <0x03030001>;
25
26 qcom,initial-pwrlevel = <2>;
27
28 /* Updated bus bandwidth requirements */
29 qcom,msm-bus,vectors-KBps =
30 /* Off */
31 <26 512 0 0>, <89 604 0 0>,
32 /* Sub-SVS / SVS */
33 <26 512 0 1600000>, <89 604 0 3000000>,
34 /* SVS */
35 <26 512 0 2400000>, <89 604 0 3000000>,
36 /* Nominal / SVS */
37 <26 512 0 4656000>, <89 604 0 3000000>,
38 /* SVS / Nominal */
39 <26 512 0 2400000>, <89 604 0 5120000>,
40 /* Nominal */
41 <26 512 0 4656000>, <89 604 0 5120000>,
42 /* Turbo / Nominal */
43 <26 512 0 7464000>, <89 604 0 5120000>,
44 /* Nominal / Turbo */
45 <26 512 0 4656000>, <89 604 0 6400000>,
46 /* Turbo */
47 <26 512 0 7464000>, <89 604 0 6400000>;
48
49 qcom,gpu-pwrlevels {
50 #address-cells = <1>;
51 #size-cells = <0>;
52
53 compatible = "qcom,gpu-pwrlevels";
54
55 qcom,gpu-pwrlevel@0 {
56 reg = <0>;
57 qcom,gpu-freq = <450000000>;
58 qcom,bus-freq = <8>;
59 qcom,io-fraction = <33>;
60 };
61
62 qcom,gpu-pwrlevel@1 {
63 reg = <1>;
64 qcom,gpu-freq = <389000000>;
65 qcom,bus-freq = <5>;
66 qcom,io-fraction = <33>;
67 };
68
69 qcom,gpu-pwrlevel@2 {
70 reg = <2>;
71 qcom,gpu-freq = <320000000>;
72 qcom,bus-freq = <5>;
73 qcom,io-fraction = <66>;
74 };
75
76 qcom,gpu-pwrlevel@3 {
77 reg = <3>;
78 qcom,gpu-freq = <200000000>;
79 qcom,bus-freq = <2>;
80 qcom,io-fraction = <100>;
81 };
82
83 qcom,gpu-pwrlevel@4 {
84 reg = <4>;
85 qcom,gpu-freq = <27000000>;
86 qcom,bus-freq = <0>;
87 qcom,io-fraction = <0>;
88 };
89 };
90};
91
92&gdsc_mdss {
93 qcom,retain-periph;
94 qcom,retain-mem;
95};
Steve Kondikcde41102014-02-15 17:04:36 -080096
97&gdsc_venus {
98 qcom,skip-logic-collapse;
99};