liu zhong | f5c0edb | 2013-01-25 11:18:53 -0700 | [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 | /include/ "msm8974-gpu.dtsi" |
| 14 | |
| 15 | &msm_gpu { |
| 16 | qcom,chipid = <0x03000510>; |
| 17 | |
| 18 | qcom,msm-bus,vectors-KBps = |
| 19 | <26 512 0 0>, <89 604 0 0>, |
| 20 | <26 512 0 1600000>, <89 604 0 6400000>, |
| 21 | <26 512 0 3200000>, <89 604 0 12800000>, |
| 22 | <26 512 0 4264000>, <89 604 0 12800000>; |
| 23 | |
| 24 | /* GDSC oxili regulators */ |
| 25 | vddcx-supply = "\0"; |
| 26 | vdd-supply = <&gdsc_oxili_cx>; |
| 27 | |
| 28 | qcom,gpu-pwrlevels { |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <0>; |
| 31 | |
| 32 | compatible = "qcom,gpu-pwrlevels"; |
| 33 | |
| 34 | qcom,gpu-pwrlevel@0 { |
| 35 | reg = <0>; |
| 36 | qcom,gpu-freq = <450000000>; |
| 37 | qcom,bus-freq = <3>; |
| 38 | qcom,io-fraction = <0>; |
| 39 | }; |
| 40 | |
| 41 | qcom,gpu-pwrlevel@1 { |
| 42 | reg = <1>; |
| 43 | qcom,gpu-freq = <320000000>; |
| 44 | qcom,bus-freq = <2>; |
| 45 | qcom,io-fraction = <33>; |
| 46 | }; |
| 47 | |
| 48 | qcom,gpu-pwrlevel@2 { |
| 49 | reg = <2>; |
| 50 | qcom,gpu-freq = <200000000>; |
| 51 | qcom,bus-freq = <1>; |
| 52 | qcom,io-fraction = <100>; |
| 53 | }; |
| 54 | |
| 55 | qcom,gpu-pwrlevel@3 { |
| 56 | reg = <3>; |
| 57 | qcom,gpu-freq = <19000000>; |
| 58 | qcom,bus-freq = <0>; |
| 59 | qcom,io-fraction = <0>; |
| 60 | }; |
| 61 | }; |
| 62 | }; |