blob: 6146454cf3dfb47161f32531991c8d0f73392aa6 [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"
David Collins02817ff2013-06-18 09:31:00 -070020
21/include/ "msm-pm8x41-rpm-regulator.dtsi"
22/include/ "msm-pm8841.dtsi"
23&spmi_bus {
24 pm8941_lsid0: qcom,pm8941@0 {
25 reg = <0x0>;
26 };
27 pm8941_lsid1: qcom,pm8941@1 {
28 reg = <0x1>;
29 };
30};
31/include/ "msm-pm8941.dtsi"
32/include/ "msm8974-regulator.dtsi"
33/include/ "msm8974-clock.dtsi"
34
Olav Haugan54166782013-01-28 16:59:51 -080035/include/ "msm8974-v1-iommu.dtsi"
Shalaj Jainbea62682013-01-31 18:26:20 -080036/include/ "msm8974-v1-iommu-domains.dtsi"
Mahesh Sivasubramanian84c31c92013-03-06 18:19:49 -070037/include/ "msm8974-v1-pm.dtsi"
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -080038
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070039&soc {
Manu Gautam8a7a8f12013-01-22 13:56:29 +053040 android_usb@fc42b0c8 {
41 compatible = "qcom,android-usb";
42 reg = <0xfc42b0c8 0xc8>;
43 qcom,android-usb-swfi-latency = <1>;
44 };
45
Abhimanyu Kapur032b1f42013-01-18 00:10:50 -080046 qcom,msm-imem@fc42b000 {
47 compatible = "qcom,msm-imem";
48 reg = <0xfc42b000 0x1000>; /* Address and size of IMEM */
49 };
50};
Siddartha Mohanadoss4a8544c2013-02-01 19:44:33 -080051
52&tsens {
53 qcom,calibration-less-mode;
54};
Gilad Avidovad837622013-02-15 09:42:49 -070055
56/* I2C clock frequency overrides */
57&i2c_0 {
58 qcom,i2c-src-freq = <19200000>;
59};
60
61&i2c_2 {
62 qcom,i2c-src-freq = <19200000>;
63};
Vinay Kaliab35a0182013-02-16 16:44:34 -080064
Pratik Patel1f3ea352013-02-09 21:13:23 -080065/* CoreSight */
66&tmc_etr {
67 qcom,reset-flush-race;
Pushkar Joshiffbac902013-05-13 22:53:52 -070068 qcom,byte-cntr-absent;
Pratik Patel1f3ea352013-02-09 21:13:23 -080069};
70
Pratik Patelf26a0e42013-02-11 12:00:04 -080071&stm {
72 qcom,write-64bit;
73};
74
Siddhartha Agrawal98f415c2013-03-26 16:58:01 -070075&mdss_mdp {
76 qcom,mdss-pingpong-off = <0x00021B00 0x00021C00 0x00021D00>;
77};
78
Vinay Kaliab35a0182013-02-16 16:44:34 -080079&msm_vidc {
80 qcom,vidc-cp-map = <0x1000000 0x3f000000>;
81 qcom,vidc-ns-map = <0x40000000 0x40000000>;
82 qcom,load-freq-tbl = <979200 410000000>,
83 <783360 410000000>,
84 <489600 266670000>,
85 <244800 133330000>;
86 qcom,reg-presets = <0x80004 0x1>,
87 <0x80178 0x00001FFF>,
88 <0x8017c 0x1FFF1FFF>,
89 <0x800b0 0x10101001>,
90 <0x800b4 0x10101010>,
91 <0x800b8 0x10101010>,
92 <0x800bc 0x00000010>,
93 <0x800c0 0x1010100f>,
94 <0x800c4 0x10101010>,
95 <0x800c8 0x10101010>,
96 <0x800cc 0x00000010>,
97 <0x800d0 0x00001010>,
98 <0x800d4 0x00001010>,
99 <0x800f0 0x00000030>,
100 <0x800d8 0x00000707>,
101 <0x800dc 0x00000707>,
102 <0x80124 0x00000001>,
103 <0xE0020 0x5555556>,
104 <0xE0024 0x0>;
105 qcom,bus-ports = <1>;
106 qcom,enc-ocmem-ab-ib = <0 0>,
107 <138200 1222000>,
108 <414700 1222000>,
109 <940000 2444000>,
110 <1880000 2444000>,
111 <3008000 3910400>,
112 <3760000 4888000>;
113 qcom,dec-ocmem-ab-ib = <0 0>,
114 <176900 1556640>,
115 <456200 1556640>,
116 <864800 1556640>,
117 <1729600 3113280>,
118 <2767360 4981248>,
119 <3459200 6226560>;
120 qcom,enc-ddr-ab-ib = <0 0>,
121 <60000 664950>,
122 <181000 664950>,
123 <403000 664950>,
124 <806000 1329900>,
125 <1289600 2127840>,
126 <161200 6400000>;
127 qcom,dec-ddr-ab-ib = <0 0>,
128 <110000 909000>,
129 <268000 909000>,
130 <505000 909000>,
131 <1010000 1818000>,
132 <1616000 2908800>,
133 <2020000 6400000>;
Shalaj Jainc2feb4d2013-02-12 13:44:00 -0800134 qcom,iommu-groups = <&venus_domain_ns &venus_domain_cp>;
135 qcom,iommu-group-buffer-types = <0xfff 0x1ff>;
136 qcom,buffer-type-tz-usage-table = <0x1 0x1>,
Cullum Baldwin673f9862013-10-25 17:39:47 -0700137 <0x7fe 0x2>;
Vinay Kaliab35a0182013-02-16 16:44:34 -0800138};
Jeff Hugod368de02013-02-28 10:54:55 -0700139
140&sfpb_spinlock {
141 status = "disable";
142};
143
144&ldrex_spinlock {
145 status = "ok";
146};
Manu Gautam59ce5872013-04-04 13:54:50 +0530147
148&usb_otg {
149 qcom,hsusb-otg-pnoc-errata-fix;
150};
Matt Wagantall92fa3092013-07-18 18:51:58 -0700151
Vijayavardhan Vennapusa51f76c12014-02-17 11:01:12 +0530152&usb3 {
153 qcom,usbin-vadc = <&pm8941_vadc>;
154};
155
Matt Wagantall92fa3092013-07-18 18:51:58 -0700156&gdsc_venus {
157 qcom,skip-logic-collapse;
158 qcom,retain-periph;
159 qcom,retain-mem;
160};
161
162&gdsc_mdss {
163 qcom,skip-logic-collapse;
164 qcom,retain-periph;
165 qcom,retain-mem;
166};
167
168&gdsc_oxili_gx {
169 qcom,retain-mem;
170 qcom,retain-periph;
171};
Abhijeet Dharmapurikar579347c2013-07-19 12:35:06 -0700172
173&krait_regulator_pmic {
174 status = "ok";
175
176 qcom,ctl@2000 {
177 status = "ok";
178 };
179
180 qcom,ps@2100 {
181 status = "ok";
182 };
183
184 qcom,freq@2200 {
185 status = "ok";
186 };
187};