blob: 61f2c4f10860d91aee112c67fd9560171dba8a10 [file] [log] [blame]
Stepan Moskovchenko1b6dac62013-01-15 18:48:51 -08001/* 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/*
14 * As a general rule, only version-specific property overrides should be placed
15 * inside this file. However, device definitions should be placed inside the
16 * msm8974.dtsi file.
17 */
18
19/include/ "msm8974.dtsi"
Olav Haugan8e32a992013-01-31 11:42:28 -080020/include/ "msm8974-v2-iommu.dtsi"
Shalaj Jain300e5ce2013-02-09 16:15:56 -080021/include/ "msm8974-v2-iommu-domains.dtsi"
Mahesh Sivasubramanian84c31c92013-03-06 18:19:49 -070022/include/ "msm8974-v2-pm.dtsi"
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -080023
24/ {
Manu Gautam8a7a8f12013-01-22 13:56:29 +053025 android_usb@fe8050c8 {
26 compatible = "qcom,android-usb";
27 reg = <0xfe8050c8 0xc8>;
28 qcom,android-usb-swfi-latency = <1>;
29 };
30
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -080031 qcom,msm-imem@fe805000 {
32 compatible = "qcom,msm-imem";
33 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
34 };
35};
Jordan Crousec13e9e92013-01-29 10:13:36 -070036
37/* GPU overrides */
38&msm_gpu {
39 /* Updated chip ID */
40 qcom,chipid = <0x03030001>;
41
42 /* Updated bus bandwidth requirements */
43 qcom,msm-bus,vectors-KBps =
44 /* Off */
45 <26 512 0 0>, <89 604 0 0>,
46 /* SVS */
Lucille Sylvester395e6ce2013-01-18 17:09:02 -070047 <26 512 0 2400000>, <89 604 0 3000000>,
48 /* Nominal / SVS */
49 <26 512 0 4656000>, <89 604 0 3000000>,
Jordan Crousec13e9e92013-01-29 10:13:36 -070050 /* Nominal */
Lucille Sylvester395e6ce2013-01-18 17:09:02 -070051 <26 512 0 4656000>, <89 604 0 5334880>,
52 /* Turbo / Nominal */
53 <26 512 0 7464000>, <89 604 0 5334880>,
Jordan Crousec13e9e92013-01-29 10:13:36 -070054 /* Turbo */
55 <26 512 0 7464000>, <89 604 0 6400000>;
56};
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080057
58&mdss_mdp {
59 qcom,vbif-settings = <0x0004 0x00000001>;
60 qcom,mdp-settings = <0x02E0 0x000000A9>,
61 <0x02E4 0x00000055>;
62
63 qcom,mdss-wb-off = <0x00011100 0x00011500
64 0x00011900 0x00011D00 0x00012100>;
65 qcom,mdss-intf-off = <0x00012500 0x00012700
66 0x00012900 0x00012b00>;
Siddhartha Agrawal98f415c2013-03-26 16:58:01 -070067 qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>;
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080068};
Vinay Kaliab35a0182013-02-16 16:44:34 -080069
70&msm_vidc {
71 qcom,vidc-ns-map = <0x40000000 0x40000000>;
72 qcom,load-freq-tbl = <979200 465000000>,
73 <783360 465000000>,
74 <489600 266670000>,
75 <244800 133330000>;
76 qcom,reg-presets = <0x80070 0x11FFF>,
77 <0x80074 0xA4>,
78 <0x800A8 0x1FFF>,
79 <0x80124 0x3>,
80 <0xE0020 0x5555556>,
81 <0xE0024 0x0>;
82 qcom,bus-ports = <1>;
83 qcom,enc-ocmem-ab-ib = <0 0>,
84 <138000 1034000>,
85 <414000 1034000>,
86 <940000 1034000>,
87 <1880000 2068000>,
88 <3008000 3309000>,
89 <3760000 4136000>,
90 <4468000 2457000>;
91 qcom,dec-ocmem-ab-ib = <0 0>,
92 <176000 519000>,
93 <456000 519000>,
94 <864000 519000>,
95 <1728000 1038000>,
96 <2766000 1661000>,
97 <3456000 2076000>,
98 <3662000 2198000>;
99 qcom,enc-ddr-ab-ib = <0 0>,
100 <60000 302000>,
101 <182000 302000>,
102 <402000 302000>,
103 <804000 604000>,
104 <1288000 967000>,
105 <2340000 1404000>,
106 <24940000 1496000>;
107 qcom,dec-ddr-ab-ib = <0 0>,
108 <104000 303000>,
109 <268000 303000>,
110 <506000 303000>,
111 <1012000 606000>,
112 <1620000 970000>,
113 <2024000 1212000>,
114 <2132000 1279000>;
Shalaj Jainc2feb4d2013-02-12 13:44:00 -0800115 qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream
116 &venus_domain_sec_pixel &venus_domain_sec_non_pixel>;
117 qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>;
118 qcom,buffer-type-tz-usage-table = <0x91 0x1>,
119 <0x42 0x2>,
120 <0x120 0x3>;
Vinay Kaliab35a0182013-02-16 16:44:34 -0800121};
Abhijeet Dharmapurikar46a7ad32013-02-23 12:50:19 -0800122
123&krait_pdn {
124 qcom,use-phase-switching;
125};