Lokesh Batra | 8d55eec | 2013-02-26 11:31:21 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. 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 | msm_gpu: qcom,kgsl-3d0@fdc00000 { |
| 14 | label = "kgsl-3d0"; |
| 15 | compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; |
| 16 | reg = <0xfdc00000 0x10000 |
| 17 | 0xfdc10000 0x10000>; |
| 18 | reg-names = "kgsl_3d0_reg_memory", "kgsl_3d0_shader_memory"; |
| 19 | interrupts = <0 33 0>; |
| 20 | interrupt-names = "kgsl_3d0_irq"; |
| 21 | qcom,id = <0>; |
| 22 | |
| 23 | qcom,chipid = <0x03000520>; |
| 24 | |
| 25 | qcom,initial-pwrlevel = <1>; |
| 26 | |
| 27 | qcom,idle-timeout = <8>; /* <HZ/12> */ |
| 28 | qcom,nap-allowed = <1>; |
| 29 | qcom,strtstp-sleepwake; |
Vladimir Razgulin | bae66be | 2013-04-16 12:40:16 -0600 | [diff] [blame] | 30 | qcom,clk-map = <0x000005E>; /* KGSL_CLK_CORE | |
| 31 | KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | |
| 32 | KGSL_CLK_ALT_MEM_IFACE */ |
Lokesh Batra | 8d55eec | 2013-02-26 11:31:21 -0800 | [diff] [blame] | 33 | |
| 34 | /* Bus Scale Settings */ |
| 35 | qcom,msm-bus,name = "grp3d"; |
| 36 | qcom,msm-bus,num-cases = <4>; |
Lokesh Batra | 8d55eec | 2013-02-26 11:31:21 -0800 | [diff] [blame] | 37 | qcom,msm-bus,num-paths = <1>; |
| 38 | qcom,msm-bus,vectors-KBps = |
| 39 | <26 512 0 0>, |
| 40 | <26 512 0 800000>, |
| 41 | <26 512 0 1600000>, |
| 42 | <26 512 0 2128000>; |
| 43 | |
| 44 | /* GDSC oxili regulators */ |
| 45 | vdd-supply = <&gdsc_oxili_cx>; |
| 46 | |
| 47 | /* IOMMU Data */ |
| 48 | iommu = <&gfx_iommu>; |
| 49 | |
| 50 | /* Power levels */ |
| 51 | qcom,gpu-pwrlevels { |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <0>; |
| 54 | |
| 55 | compatible = "qcom,gpu-pwrlevels"; |
| 56 | |
| 57 | qcom,gpu-pwrlevel@0 { |
| 58 | reg = <0>; |
| 59 | qcom,gpu-freq = <400000000>; |
| 60 | qcom,bus-freq = <3>; |
| 61 | qcom,io-fraction = <0>; |
| 62 | }; |
| 63 | |
| 64 | qcom,gpu-pwrlevel@1 { |
| 65 | reg = <1>; |
| 66 | qcom,gpu-freq = <300000000>; |
| 67 | qcom,bus-freq = <2>; |
| 68 | qcom,io-fraction = <33>; |
| 69 | }; |
| 70 | |
| 71 | qcom,gpu-pwrlevel@2 { |
| 72 | reg = <2>; |
| 73 | qcom,gpu-freq = <200000000>; |
| 74 | qcom,bus-freq = <2>; |
| 75 | qcom,io-fraction = <33>; |
| 76 | }; |
| 77 | |
| 78 | qcom,gpu-pwrlevel@3 { |
| 79 | reg = <3>; |
| 80 | qcom,gpu-freq = <150000000>; |
| 81 | qcom,bus-freq = <1>; |
| 82 | qcom,io-fraction = <100>; |
| 83 | }; |
| 84 | |
| 85 | qcom,gpu-pwrlevel@4 { |
| 86 | reg = <4>; |
| 87 | qcom,gpu-freq = <27000000>; |
| 88 | qcom,bus-freq = <0>; |
| 89 | qcom,io-fraction = <0>; |
| 90 | }; |
| 91 | }; |
| 92 | |
| 93 | /* DVCS Info */ |
| 94 | qcom,dcvs-core-info { |
| 95 | #address-cells = <1>; |
| 96 | #size-cells = <0>; |
| 97 | |
| 98 | compatible = "qcom,dcvs-core-info"; |
| 99 | |
| 100 | qcom,num-cores = <1>; |
| 101 | qcom,sensors = <0>; |
| 102 | |
| 103 | qcom,core-core-type = <1>; |
| 104 | |
| 105 | qcom,algo-disable-pc-threshold = <0>; |
| 106 | qcom,algo-em-win-size-min-us = <100000>; |
| 107 | qcom,algo-em-win-size-max-us = <300000>; |
| 108 | qcom,algo-em-max-util-pct = <97>; |
| 109 | qcom,algo-group-id = <95>; |
| 110 | qcom,algo-max-freq-chg-time-us = <100000>; |
| 111 | qcom,algo-slack-mode-dynamic = <100000>; |
| 112 | qcom,algo-slack-weight-thresh-pct = <0>; |
| 113 | qcom,algo-slack-time-min-us = <39000>; |
| 114 | qcom,algo-slack-time-max-us = <39000>; |
| 115 | qcom,algo-ss-win-size-min-us = <1000000>; |
| 116 | qcom,algo-ss-win-size-max-us = <1000000>; |
| 117 | qcom,algo-ss-util-pct = <95>; |
| 118 | qcom,algo-ss-no-corr-below-freq = <0>; |
| 119 | |
| 120 | qcom,energy-active-coeff-a = <2492>; |
| 121 | qcom,energy-active-coeff-b = <0>; |
| 122 | qcom,energy-active-coeff-c = <0>; |
| 123 | qcom,energy-leakage-coeff-a = <11>; |
| 124 | qcom,energy-leakage-coeff-b = <157150>; |
| 125 | qcom,energy-leakage-coeff-c = <0>; |
| 126 | qcom,energy-leakage-coeff-d = <0>; |
| 127 | |
| 128 | qcom,power-current-temp = <25>; |
| 129 | qcom,power-num-freq = <4>; |
| 130 | |
| 131 | qcom,dcvs-freq@0 { |
| 132 | reg = <0>; |
| 133 | qcom,freq = <0>; |
| 134 | qcom,voltage = <0>; |
| 135 | qcom,is_trans_level = <0>; |
| 136 | qcom,active-energy-offset = <100>; |
| 137 | qcom,leakage-energy-offset = <0>; |
| 138 | }; |
| 139 | |
| 140 | qcom,dcvs-freq@1 { |
| 141 | reg = <1>; |
| 142 | qcom,freq = <0>; |
| 143 | qcom,voltage = <0>; |
| 144 | qcom,is_trans_level = <0>; |
| 145 | qcom,active-energy-offset = <100>; |
| 146 | qcom,leakage-energy-offset = <0>; |
| 147 | }; |
| 148 | |
| 149 | qcom,dcvs-freq@2 { |
| 150 | reg = <2>; |
| 151 | qcom,freq = <0>; |
| 152 | qcom,voltage = <0>; |
| 153 | qcom,is_trans_level = <0>; |
| 154 | qcom,active-energy-offset = <100>; |
| 155 | qcom,leakage-energy-offset = <0>; |
| 156 | }; |
| 157 | |
| 158 | qcom,dcvs-freq@3 { |
| 159 | reg = <3>; |
| 160 | qcom,freq = <0>; |
| 161 | qcom,voltage = <0>; |
| 162 | qcom,is_trans_level = <0>; |
| 163 | qcom,active-energy-offset = <844545>; |
| 164 | qcom,leakage-energy-offset = <0>; |
| 165 | }; |
| 166 | }; |
| 167 | }; |
| 168 | }; |