blob: 14897ba357a3e30613a0cd2d8a7ce3f912104ee2 [file] [log] [blame]
Matt Wagantall6a374e62014-01-16 21:04:49 -08001/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
Jordan Crousea60e2ee2013-07-08 12:25:57 -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/*
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.dtsi"
20
21/* GPU overrides */
22&msm_gpu {
23 /* Updated chip ID */
24 qcom,chipid = <0x03030001>;
25
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060026 qcom,initial-pwrlevel = <2>;
Jordan Crousea60e2ee2013-07-08 12:25:57 -060027
28 /* Updated bus bandwidth requirements */
29 qcom,msm-bus,vectors-KBps =
30 /* Off */
31 <26 512 0 0>, <89 604 0 0>,
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060032 /* Sub-SVS / SVS */
33 <26 512 0 1600000>, <89 604 0 3000000>,
Jordan Crousea60e2ee2013-07-08 12:25:57 -060034 /* SVS */
35 <26 512 0 2400000>, <89 604 0 3000000>,
36 /* Nominal / SVS */
37 <26 512 0 4656000>, <89 604 0 3000000>,
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060038 /* SVS / Nominal */
39 <26 512 0 2400000>, <89 604 0 5120000>,
Jordan Crousea60e2ee2013-07-08 12:25:57 -060040 /* Nominal */
41 <26 512 0 4656000>, <89 604 0 5120000>,
42 /* Turbo / Nominal */
43 <26 512 0 7464000>, <89 604 0 5120000>,
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060044 /* Nominal / Turbo */
45 <26 512 0 4656000>, <89 604 0 6400000>,
Jordan Crousea60e2ee2013-07-08 12:25:57 -060046 /* 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>;
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060058 qcom,bus-freq = <8>;
Jordan Crousea60e2ee2013-07-08 12:25:57 -060059 qcom,io-fraction = <33>;
60 };
61
62 qcom,gpu-pwrlevel@1 {
63 reg = <1>;
64 qcom,gpu-freq = <389000000>;
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060065 qcom,bus-freq = <5>;
Jordan Crousea60e2ee2013-07-08 12:25:57 -060066 qcom,io-fraction = <33>;
67 };
68
69 qcom,gpu-pwrlevel@2 {
70 reg = <2>;
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060071 qcom,gpu-freq = <320000000>;
72 qcom,bus-freq = <5>;
Jordan Crousea60e2ee2013-07-08 12:25:57 -060073 qcom,io-fraction = <66>;
74 };
75
76 qcom,gpu-pwrlevel@3 {
77 reg = <3>;
Jordan Crousea60e2ee2013-07-08 12:25:57 -060078 qcom,gpu-freq = <200000000>;
79 qcom,bus-freq = <2>;
80 qcom,io-fraction = <100>;
81 };
82
Lucille Sylvesterb80b6c92013-09-20 16:53:50 -060083 qcom,gpu-pwrlevel@4 {
84 reg = <4>;
Jordan Crousea60e2ee2013-07-08 12:25:57 -060085 qcom,gpu-freq = <27000000>;
86 qcom,bus-freq = <0>;
87 qcom,io-fraction = <0>;
88 };
89 };
90};
Matt Wagantall92fa3092013-07-18 18:51:58 -070091
92&gdsc_mdss {
93 qcom,retain-periph;
94 qcom,retain-mem;
95};
Matt Wagantall6a374e62014-01-16 21:04:49 -080096
97&gdsc_venus {
98 qcom,skip-logic-collapse;
99};