blob: def7b8cbed03e37fbb97002d05ea8a9ae80c2fd9 [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 */
Suman Tatiraju392822d2013-03-27 11:26:24 -070051 <26 512 0 4656000>, <89 604 0 5120000>,
Lucille Sylvester395e6ce2013-01-18 17:09:02 -070052 /* Turbo / Nominal */
Suman Tatiraju392822d2013-03-27 11:26:24 -070053 <26 512 0 7464000>, <89 604 0 5120000>,
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>;
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080060
61 qcom,mdss-wb-off = <0x00011100 0x00011500
62 0x00011900 0x00011D00 0x00012100>;
63 qcom,mdss-intf-off = <0x00012500 0x00012700
64 0x00012900 0x00012b00>;
Siddhartha Agrawal98f415c2013-03-26 16:58:01 -070065 qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>;
Sree Sesha Aravind Vadrevu30b53702013-04-09 16:37:47 -070066 qcom,mdss-has-bwc;
Sree Sesha Aravind Vadrevu691d5812013-04-09 21:34:28 -070067 qcom,mdss-has-decimation;
Carl Vanderlip79fd23e2013-04-24 10:12:09 -070068 qcom,mdss-ad-off = <0x0013100 0x00013300>;
Adrian Salido-Moreno42559bc2013-02-07 14:34:45 -080069};
Vinay Kaliab35a0182013-02-16 16:44:34 -080070
Ujwal Patel47c187d2013-04-03 19:26:52 -070071&mdss_hdmi_tx {
72 reg = <0xfd922100 0x370>,
73 <0xfd922500 0x7C>,
74 <0xfc4b8000 0x60F0>;
75 reg-names = "core_physical", "phy_physical", "qfprom_physical";
76};
77
Vinay Kaliab35a0182013-02-16 16:44:34 -080078&msm_vidc {
79 qcom,vidc-ns-map = <0x40000000 0x40000000>;
80 qcom,load-freq-tbl = <979200 465000000>,
81 <783360 465000000>,
82 <489600 266670000>,
83 <244800 133330000>;
84 qcom,reg-presets = <0x80070 0x11FFF>,
85 <0x80074 0xA4>,
86 <0x800A8 0x1FFF>,
87 <0x80124 0x3>,
88 <0xE0020 0x5555556>,
89 <0xE0024 0x0>;
90 qcom,bus-ports = <1>;
91 qcom,enc-ocmem-ab-ib = <0 0>,
92 <138000 1034000>,
93 <414000 1034000>,
94 <940000 1034000>,
95 <1880000 2068000>,
96 <3008000 3309000>,
97 <3760000 4136000>,
98 <4468000 2457000>;
99 qcom,dec-ocmem-ab-ib = <0 0>,
100 <176000 519000>,
101 <456000 519000>,
102 <864000 519000>,
103 <1728000 1038000>,
104 <2766000 1661000>,
105 <3456000 2076000>,
106 <3662000 2198000>;
107 qcom,enc-ddr-ab-ib = <0 0>,
108 <60000 302000>,
109 <182000 302000>,
110 <402000 302000>,
111 <804000 604000>,
112 <1288000 967000>,
113 <2340000 1404000>,
114 <24940000 1496000>;
115 qcom,dec-ddr-ab-ib = <0 0>,
116 <104000 303000>,
117 <268000 303000>,
118 <506000 303000>,
119 <1012000 606000>,
120 <1620000 970000>,
121 <2024000 1212000>,
122 <2132000 1279000>;
Shalaj Jainc2feb4d2013-02-12 13:44:00 -0800123 qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream
124 &venus_domain_sec_pixel &venus_domain_sec_non_pixel>;
125 qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>;
126 qcom,buffer-type-tz-usage-table = <0x91 0x1>,
127 <0x42 0x2>,
128 <0x120 0x3>;
Vinay Kaliab35a0182013-02-16 16:44:34 -0800129};
Abhijeet Dharmapurikar46a7ad32013-02-23 12:50:19 -0800130
131&krait_pdn {
132 qcom,use-phase-switching;
133};