/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { msm_gpu: qcom,kgsl-3d0@fdb00000 { label = "kgsl-3d0"; compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; reg = <0xfdb00000 0x10000 0xfdb20000 0x10000>; reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; interrupts = <0 33 0>; interrupt-names = "kgsl_3d0_irq"; qcom,id = <0>; qcom,chipid = <0x03030000>; qcom,initial-pwrlevel = <2>; qcom,step-pwrlevel = <2>; qcom,idle-timeout = <8>; // qcom,strtstp-sleepwake; qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE /* Bus Scale Settings */ qcom,msm-bus,name = "grp3d"; qcom,msm-bus,num-cases = <6>; qcom,msm-bus,num-paths = <2>; qcom,msm-bus,vectors-KBps = <26 512 0 0>, <89 604 0 0>, <26 512 0 2200000>, <89 604 0 3000000>, <26 512 0 4000000>, <89 604 0 3000000>, <26 512 0 4000000>, <89 604 0 4500000>, <26 512 0 6400000>, <89 604 0 4500000>, <26 512 0 6400000>, <89 604 0 7600000>; /* GDSC oxili regulators */ vddcx-supply = <&gdsc_oxili_cx>; vdd-supply = <&gdsc_oxili_gx>; /* Power levels */ /* IOMMU Data */ iommu = <&kgsl_iommu>; /* Trace bus */ coresight-id = <67>; coresight-name = "coresight-gfx"; coresight-nr-inports = <0>; coresight-outports = <0>; coresight-child-list = <&funnel_mmss>; coresight-child-ports = <7>; qcom,gpu-pwrlevels { #address-cells = <1>; #size-cells = <0>; compatible = "qcom,gpu-pwrlevels"; qcom,gpu-pwrlevel@0 { reg = <0>; qcom,gpu-freq = <450000000>; qcom,bus-freq = <5>; qcom,io-fraction = <33>; }; qcom,gpu-pwrlevel@1 { reg = <1>; qcom,gpu-freq = <320000000>; qcom,bus-freq = <4>; qcom,io-fraction = <66>; }; qcom,gpu-pwrlevel@2 { reg = <2>; qcom,gpu-freq = <320000000>; qcom,bus-freq = <3>; qcom,io-fraction = <66>; }; qcom,gpu-pwrlevel@3 { reg = <3>; qcom,gpu-freq = <200000000>; qcom,bus-freq = <2>; qcom,io-fraction = <100>; }; qcom,gpu-pwrlevel@4 { reg = <4>; qcom,gpu-freq = <200000000>; qcom,bus-freq = <1>; qcom,io-fraction = <100>; }; qcom,gpu-pwrlevel@5 { reg = <5>; qcom,gpu-freq = <27000000>; qcom,bus-freq = <0>; qcom,io-fraction = <0>; }; }; qcom,dcvs-core-info { #address-cells = <1>; #size-cells = <0>; compatible = "qcom,dcvs-core-info"; qcom,num-cores = <1>; qcom,sensors = <0>; qcom,core-core-type = <1>; qcom,algo-disable-pc-threshold = <0>; qcom,algo-em-win-size-min-us = <100000>; qcom,algo-em-win-size-max-us = <300000>; qcom,algo-em-max-util-pct = <97>; qcom,algo-group-id = <95>; qcom,algo-max-freq-chg-time-us = <100000>; qcom,algo-slack-mode-dynamic = <100000>; qcom,algo-slack-weight-thresh-pct = <0>; qcom,algo-slack-time-min-us = <39000>; qcom,algo-slack-time-max-us = <39000>; qcom,algo-ss-win-size-min-us = <1000000>; qcom,algo-ss-win-size-max-us = <1000000>; qcom,algo-ss-util-pct = <95>; qcom,algo-ss-no-corr-below-freq = <0>; qcom,energy-active-coeff-a = <2492>; qcom,energy-active-coeff-b = <0>; qcom,energy-active-coeff-c = <0>; qcom,energy-leakage-coeff-a = <11>; qcom,energy-leakage-coeff-b = <157150>; qcom,energy-leakage-coeff-c = <0>; qcom,energy-leakage-coeff-d = <0>; qcom,power-current-temp = <25>; qcom,power-num-freq = <4>; qcom,dcvs-freq@0 { reg = <0>; qcom,freq = <0>; qcom,voltage = <0>; qcom,is_trans_level = <0>; qcom,active-energy-offset = <100>; qcom,leakage-energy-offset = <0>; }; qcom,dcvs-freq@1 { reg = <1>; qcom,freq = <0>; qcom,voltage = <0>; qcom,is_trans_level = <0>; qcom,active-energy-offset = <100>; qcom,leakage-energy-offset = <0>; }; qcom,dcvs-freq@2 { reg = <2>; qcom,freq = <0>; qcom,voltage = <0>; qcom,is_trans_level = <0>; qcom,active-energy-offset = <100>; qcom,leakage-energy-offset = <0>; }; qcom,dcvs-freq@3 { reg = <3>; qcom,freq = <0>; qcom,voltage = <0>; qcom,is_trans_level = <0>; qcom,active-energy-offset = <844545>; qcom,leakage-energy-offset = <0>; }; }; }; };