blob: 38eacd1c8d2d4cdbb53ab93c38eb39e1095acfc4 [file] [log] [blame]
Maria Yu6451c372017-09-28 17:04:28 +08001/*
Shefali Jain235fab72018-01-05 13:10:38 +05302 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
Maria Yu6451c372017-09-28 17:04:28 +08003 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include "msm8953.dtsi"
15
16/ {
17 model = "Qualcomm Technologies, Inc. SDM450";
18 compatible = "qcom,sdm450";
19 qcom,msm-id = <338 0x0>;
Maria Yuf307a0f2017-11-24 16:34:30 +080020 qcom,msm-name = "SDM450";
Maria Yu6451c372017-09-28 17:04:28 +080021};
22
Maria Yu3f751322017-12-07 19:45:07 +080023&CPU4 {
24 efficiency = <1024>;
25};
26
27&CPU5 {
28 efficiency = <1024>;
29};
30
31&CPU6 {
32 efficiency = <1024>;
33};
34
35&CPU7 {
36 efficiency = <1024>;
37};
Shefali Jain235fab72018-01-05 13:10:38 +053038
39&clock_gcc_gfx {
40 compatible = "qcom,gcc-gfx-sdm450";
41 qcom,gfxfreq-corner =
42 < 0 0 >,
43 < 133330000 1 >, /* Min SVS */
44 < 216000000 2 >, /* Low SVS */
45 < 320000000 3 >, /* SVS */
46 < 400000000 4 >, /* SVS Plus */
47 < 510000000 5 >, /* NOM */
48 < 560000000 6 >, /* Nom Plus */
49 < 600000000 7 >; /* Turbo */
50};
Sunil Khatri18f32cb2018-01-03 17:38:43 +053051
52/* GPU Overrides*/
53&msm_gpu {
54
55 /delete-node/qcom,gpu-pwrlevels;
56
57 qcom,gpu-pwrlevels {
58 #address-cells = <1>;
59 #size-cells = <0>;
60
61 compatible = "qcom,gpu-pwrlevels";
62
63 /* TURBO */
64 qcom,gpu-pwrlevel@0 {
65 reg = <0>;
66 qcom,gpu-freq = <600000000>;
67 qcom,bus-freq = <10>;
68 qcom,bus-min = <10>;
69 qcom,bus-max = <10>;
70 };
71
72 /* NOM+ */
73 qcom,gpu-pwrlevel@1 {
74 reg = <1>;
75 qcom,gpu-freq = <560000000>;
76 qcom,bus-freq = <10>;
77 qcom,bus-min = <8>;
78 qcom,bus-max = <10>;
79 };
80
81 /* NOM */
82 qcom,gpu-pwrlevel@2 {
83 reg = <2>;
84 qcom,gpu-freq = <510000000>;
85 qcom,bus-freq = <9>;
86 qcom,bus-min = <6>;
87 qcom,bus-max = <10>;
88 };
89
90 /* SVS+ */
91 qcom,gpu-pwrlevel@3 {
92 reg = <3>;
93 qcom,gpu-freq = <400000000>;
94 qcom,bus-freq = <7>;
95 qcom,bus-min = <5>;
96 qcom,bus-max = <8>;
97 };
98
99 /* SVS */
100 qcom,gpu-pwrlevel@4 {
101 reg = <4>;
102 qcom,gpu-freq = <320000000>;
103 qcom,bus-freq = <4>;
104 qcom,bus-min = <2>;
105 qcom,bus-max = <6>;
106 };
107
108 /* Low SVS */
109 qcom,gpu-pwrlevel@5 {
110 reg = <5>;
111 qcom,gpu-freq = <216000000>;
112 qcom,bus-freq = <1>;
113 qcom,bus-min = <1>;
114 qcom,bus-max = <4>;
115 };
116
117 /* Min SVS */
118 qcom,gpu-pwrlevel@6 {
119 reg = <6>;
120 qcom,gpu-freq = <133300000>;
121 qcom,bus-freq = <1>;
122 qcom,bus-min = <1>;
123 qcom,bus-max = <4>;
124 };
125 /* XO */
126 qcom,gpu-pwrlevel@7 {
127 reg = <7>;
128 qcom,gpu-freq = <19200000>;
129 qcom,bus-freq = <0>;
130 qcom,bus-min = <0>;
131 };
132 };
133};