Loading arch/arm/boot/dts/qcom/msm8939-gpu.dtsi 0 → 100644 +108 −0 Original line number Diff line number Diff line /* Copyright (c) 2014, 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@1C00000 { label = "kgsl-3d0"; compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; reg = <0x1C00000 0x10000 0x1C20000 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 = <0x04000500>; qcom,initial-pwrlevel = <1>; qcom,idle-timeout = <8>; //<HZ/12> qcom,strtstp-sleepwake; /* Clocks = KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | KGSL_CLK_ALT_MEM_IFACE */ qcom,clk-map = <0x0000005E>; clocks = <&clock_gcc clk_gcc_oxili_gfx3d_clk>, <&clock_gcc clk_gcc_oxili_ahb_clk>, <&clock_gcc clk_gcc_oxili_gmem_clk>, <&clock_gcc clk_gcc_bimc_gfx_clk>, <&clock_gcc clk_gcc_bimc_gpu_clk>, <&clock_gcc clk_gcc_gtcu_ahb_clk>; clock-names = "core_clk", "iface_clk", "mem_clk", "mem_iface_clk", "alt_mem_iface_clk", "gtcu_iface_clk"; /* Bus Scale Settings */ qcom,msm-bus,name = "grp3d"; qcom,msm-bus,num-cases = <4>; qcom,msm-bus,num-paths = <1>; qcom,msm-bus,vectors-KBps = <26 512 0 0>, <26 512 0 2664000>, <26 512 0 5336000>, <26 512 0 6400000>; /* GDSC oxili regulators */ vdd-supply = <&gdsc_oxili_gx>; /* IOMMU Data */ iommu = <&gfx_iommu>; /* Trace bus */ coresight-id = <67>; coresight-name = "coresight-gfx"; coresight-nr-inports = <0>; coresight-outports = <0>; coresight-child-list = <&funnel_in0>; coresight-child-ports = <4>; /* Power levels */ qcom,gpu-pwrlevels { #address-cells = <1>; #size-cells = <0>; compatible = "qcom,gpu-pwrlevels"; qcom,gpu-pwrlevel@0 { reg = <0>; qcom,gpu-freq = <550000000>; qcom,bus-freq = <3>; qcom,io-fraction = <33>; }; qcom,gpu-pwrlevel@1 { reg = <1>; qcom,gpu-freq = <400000000>; qcom,bus-freq = <2>; qcom,io-fraction = <66>; }; qcom,gpu-pwrlevel@2 { reg = <2>; qcom,gpu-freq = <200000000>; qcom,bus-freq = <1>; qcom,io-fraction = <100>; }; qcom,gpu-pwrlevel@3 { reg = <3>; qcom,gpu-freq = <27000000>; qcom,bus-freq = <0>; qcom,io-fraction = <0>; }; }; }; }; arch/arm/boot/dts/qcom/msm8939.dtsi +2 −0 Original line number Diff line number Diff line Loading @@ -1638,3 +1638,5 @@ qcom,btm-channel-number = <0x68>; }; }; #include "msm8939-gpu.dtsi" Loading
arch/arm/boot/dts/qcom/msm8939-gpu.dtsi 0 → 100644 +108 −0 Original line number Diff line number Diff line /* Copyright (c) 2014, 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@1C00000 { label = "kgsl-3d0"; compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; reg = <0x1C00000 0x10000 0x1C20000 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 = <0x04000500>; qcom,initial-pwrlevel = <1>; qcom,idle-timeout = <8>; //<HZ/12> qcom,strtstp-sleepwake; /* Clocks = KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM | KGSL_CLK_MEM_IFACE | KGSL_CLK_ALT_MEM_IFACE */ qcom,clk-map = <0x0000005E>; clocks = <&clock_gcc clk_gcc_oxili_gfx3d_clk>, <&clock_gcc clk_gcc_oxili_ahb_clk>, <&clock_gcc clk_gcc_oxili_gmem_clk>, <&clock_gcc clk_gcc_bimc_gfx_clk>, <&clock_gcc clk_gcc_bimc_gpu_clk>, <&clock_gcc clk_gcc_gtcu_ahb_clk>; clock-names = "core_clk", "iface_clk", "mem_clk", "mem_iface_clk", "alt_mem_iface_clk", "gtcu_iface_clk"; /* Bus Scale Settings */ qcom,msm-bus,name = "grp3d"; qcom,msm-bus,num-cases = <4>; qcom,msm-bus,num-paths = <1>; qcom,msm-bus,vectors-KBps = <26 512 0 0>, <26 512 0 2664000>, <26 512 0 5336000>, <26 512 0 6400000>; /* GDSC oxili regulators */ vdd-supply = <&gdsc_oxili_gx>; /* IOMMU Data */ iommu = <&gfx_iommu>; /* Trace bus */ coresight-id = <67>; coresight-name = "coresight-gfx"; coresight-nr-inports = <0>; coresight-outports = <0>; coresight-child-list = <&funnel_in0>; coresight-child-ports = <4>; /* Power levels */ qcom,gpu-pwrlevels { #address-cells = <1>; #size-cells = <0>; compatible = "qcom,gpu-pwrlevels"; qcom,gpu-pwrlevel@0 { reg = <0>; qcom,gpu-freq = <550000000>; qcom,bus-freq = <3>; qcom,io-fraction = <33>; }; qcom,gpu-pwrlevel@1 { reg = <1>; qcom,gpu-freq = <400000000>; qcom,bus-freq = <2>; qcom,io-fraction = <66>; }; qcom,gpu-pwrlevel@2 { reg = <2>; qcom,gpu-freq = <200000000>; qcom,bus-freq = <1>; qcom,io-fraction = <100>; }; qcom,gpu-pwrlevel@3 { reg = <3>; qcom,gpu-freq = <27000000>; qcom,bus-freq = <0>; qcom,io-fraction = <0>; }; }; }; };
arch/arm/boot/dts/qcom/msm8939.dtsi +2 −0 Original line number Diff line number Diff line Loading @@ -1638,3 +1638,5 @@ qcom,btm-channel-number = <0x68>; }; }; #include "msm8939-gpu.dtsi"