blob: 4aa05e07b9b225c070dbb2f7d7351f592d996d4c [file] [log] [blame]
Sathish Ambley9d69ac32012-03-21 10:28:26 -07001/* Copyright (c) 2012, Code Aurora Forum. 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 */
Sathish Ambley4df614c2011-10-07 16:30:46 -070012
13/include/ "skeleton.dtsi"
14
15/ {
16 model = "Qualcomm MSM Copper";
Sathish Ambley9d69ac32012-03-21 10:28:26 -070017 compatible = "qcom,msmcopper";
Sathish Ambley4df614c2011-10-07 16:30:46 -070018 interrupt-parent = <&intc>;
19
20 intc: interrupt-controller@F9000000 {
21 compatible = "qcom,msm-qgic2";
22 interrupt-controller;
Michael Bohanc7224532012-01-06 16:02:52 -080023 #interrupt-cells = <3>;
Sathish Ambley4df614c2011-10-07 16:30:46 -070024 reg = <0xF9000000 0x1000>,
25 <0xF9002000 0x1000>;
26 };
Sathish Ambley3d50c762011-10-25 15:26:00 -070027
Michael Bohan0425f6f2012-01-17 14:36:39 -080028 msmgpio: gpio@fd400000 {
29 compatible = "qcom,msm-gpio";
30 interrupt-controller;
31 #interrupt-cells = <2>;
32 reg = <0xfd400000 0x4000>;
33 };
34
Sathish Ambley098f9bd2011-11-09 16:32:53 -080035 timer {
Sathish Ambley2f27a172012-03-16 10:46:28 -070036 compatible = "qcom,msm-qtimer", "arm,armv7-timer";
Michael Bohanc7224532012-01-06 16:02:52 -080037 interrupts = <1 2 0>;
Sathish Ambley2f27a172012-03-16 10:46:28 -070038 clock-frequency = <19200000>;
Sathish Ambley098f9bd2011-11-09 16:32:53 -080039 };
40
David Brown225abee2012-02-09 22:28:50 -080041 serial@f991f000 {
Sathish Ambley3d50c762011-10-25 15:26:00 -070042 compatible = "qcom,msm-lsuart-v14";
David Brown225abee2012-02-09 22:28:50 -080043 reg = <0xf991f000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -080044 interrupts = <0 109 0>;
Sathish Ambley3d50c762011-10-25 15:26:00 -070045 };
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053046
Sathish Ambley9d69ac32012-03-21 10:28:26 -070047 serial@f995e000 {
48 compatible = "qcom,msm-lsuart-v14";
49 reg = <0xf995e000 0x1000>;
50 interrupts = <0 114 0>;
51 };
52
David Brown225abee2012-02-09 22:28:50 -080053 usb@f9a55000 {
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053054 compatible = "qcom,hsusb-otg";
David Brown225abee2012-02-09 22:28:50 -080055 reg = <0xf9a55000 0x400>;
Michael Bohanc7224532012-01-06 16:02:52 -080056 interrupts = <0 134 0>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053057
58 qcom,hsusb-otg-phy-type = <2>;
59 qcom,hsusb-otg-mode = <1>;
60 qcom,hsusb-otg-otg-control = <1>;
61 };
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053062
David Brown225abee2012-02-09 22:28:50 -080063 qcom,sdcc@f980b000 {
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053064 cell-index = <1>;
65 compatible = "qcom,msm-sdcc";
David Brown225abee2012-02-09 22:28:50 -080066 reg = <0xf980b000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -080067 interrupts = <0 123 0>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053068
Subhash Jadavani56e0eaa2012-03-13 18:06:04 +053069 qcom,sdcc-clk-rates = <400000 24000000 48000000 96000000 192000000>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053070 qcom,sdcc-sup-voltages = <3300 3300>;
71 qcom,sdcc-bus-width = <8>;
Subhash Jadavani56e0eaa2012-03-13 18:06:04 +053072 qcom,sdcc-hs200;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053073 qcom,sdcc-nonremovable;
74 qcom,sdcc-disable_cmd23;
75 };
76
David Brown225abee2012-02-09 22:28:50 -080077 qcom,sdcc@f984b000 {
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053078 cell-index = <3>;
79 compatible = "qcom,msm-sdcc";
David Brown225abee2012-02-09 22:28:50 -080080 reg = <0xf984b000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -080081 interrupts = <0 127 0>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053082
83 qcom,sdcc-clk-rates = <400000 24000000 48000000>;
84 qcom,sdcc-sup-voltages = <3300 3300>;
85 qcom,sdcc-bus-width = <4>;
86 qcom,sdcc-disable_cmd23;
87 };
Yan He1466daa2011-11-30 17:25:38 -080088
David Brown225abee2012-02-09 22:28:50 -080089 qcom,sps@f9980000 {
Yan He1466daa2011-11-30 17:25:38 -080090 compatible = "qcom,msm_sps";
David Brown225abee2012-02-09 22:28:50 -080091 reg = <0xf9984000 0x15000>,
92 <0xf9999000 0xb000>;
Michael Bohanc7224532012-01-06 16:02:52 -080093 interrupts = <0 94 0>;
Yan He1466daa2011-11-30 17:25:38 -080094
95 qcom,bam-dma-res-pipes = <6>;
96 };
97
Harini Jayaraman5f98dbb2011-12-20 13:38:19 -070098 spi@f9924000 {
99 compatible = "qcom,spi-qup-v2";
100 reg = <0xf9924000 0x1000>;
Michael Bohan857c8ac2012-01-23 16:57:34 -0800101 interrupts = <0 96 0>;
Harini Jayaraman5f98dbb2011-12-20 13:38:19 -0700102 spi-max-frequency = <24000000>;
103 };
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700104
Sagar Dhariaa316a962012-03-21 16:13:22 -0600105 slim@fe12f000 {
106 cell-index = <1>;
107 compatible = "qcom,slim-msm";
108 reg = <0xfe12f000 0x35000>,
109 <0xfe104000 0x20000>;
110 reg-names = "slimbus_physical", "slimbus_bam_physical";
111 interrupts = <0 163 0 0 164 0>;
112 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
113 qcom,min-clk-gear = <10>;
114 };
115
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700116 qcom,spmi@fc4c0000 {
117 cell-index = <0>;
118 compatible = "qcom,spmi-pmic-arb";
119 reg = <0xfc4cf000 0x1000>,
120 <0Xfc4cb000 0x1000>;
121 /* 190,ee0_krait_hlos_spmi_periph_irq */
122 /* 187,channel_0_krait_hlos_trans_done_irq */
123 interrupts = <0 190 0 0 187 0>;
124 qcom,pmic-arb-ee = <0>;
125 qcom,pmic-arb-channel = <0>;
Gilad Avidova11c0b52012-02-15 15:30:49 -0700126 qcom,pmic-arb-ppid-map = <0x13000000>, /* PM8941_LDO1 */
127 <0x13100001>, /* PM8941_LDO2 */
128 <0x13200002>, /* PM8941_LDO3 */
129 <0x13300003>, /* PM8941_LDO4 */
130 <0x13400004>, /* PM8941_LDO5 */
131 <0x13500005>, /* PM8941_LDO6 */
132 <0x13600006>, /* PM8941_LDO7 */
133 <0x13700007>, /* PM8941_LDO8 */
134 <0x13800008>, /* PM8941_LDO9 */
135 <0x13900009>, /* PM8941_LDO10 */
136 <0x13a0000a>, /* PM8941_LDO11 */
137 <0x13b0000b>, /* PM8941_LDO12 */
138 <0x13c0000c>, /* PM8941_LDO13 */
139 <0x13d0000d>, /* PM8941_LDO14 */
140 <0x13e0000e>, /* PM8941_LDO15 */
141 <0x13f0000f>, /* PM8941_LDO16 */
142 <0x14000010>, /* PM8941_LDO17 */
143 <0x14100011>, /* PM8941_LDO18 */
144 <0x14200012>, /* PM8941_LDO19 */
145 <0x14300013>, /* PM8941_LDO20 */
146 <0x14400014>, /* PM8941_LDO21 */
147 <0x14500015>, /* PM8941_LDO22 */
148 <0x14600016>, /* PM8941_LDO23 */
149 <0x14700017>, /* PM8941_LDO24 */
150 <0x14800018>, /* PM8941_LDO25 */
151 <0x14900019>, /* PM8941_LDO26 */
152 <0x0c00001a>, /* PM8941_GPIO1 */
153 <0x0c10001b>, /* PM8941_GPIO2 */
154 <0x0c20001c>, /* PM8941_GPIO3 */
155 <0x0c30001d>, /* PM8941_GPIO4 */
156 <0x0c40001e>, /* PM8941_GPIO5 */
157 <0x0c50001f>, /* PM8941_GPIO6 */
158 <0x0c600020>, /* PM8941_GPIO7 */
159 <0x0c700021>, /* PM8941_GPIO8 */
160 <0x0c800022>, /* PM8941_GPIO9 */
161 <0x0c900023>, /* PM8941_GPIO10 */
162 <0x0ca00024>, /* PM8941_GPIO11 */
163 <0x0cb00025>, /* PM8941_GPIO12 */
164 <0x0cc00026>, /* PM8941_GPIO13 */
165 <0x0cd00027>, /* PM8941_GPIO14 */
166 <0x0ce00028>, /* PM8941_GPIO15 */
167 <0x0cf00029>, /* PM8941_GPIO16 */
168 <0x0d00002a>, /* PM8941_GPIO17 */
169 <0x0d10002b>, /* PM8941_GPIO18 */
170 <0x0d20002c>, /* PM8941_GPIO19 */
171 <0x0d30002d>, /* PM8941_GPIO20 */
172 <0x0d40002e>, /* PM8941_GPIO21 */
173 <0x0d50002f>, /* PM8941_GPIO22 */
174 <0x0d600030>, /* PM8941_GPIO23 */
175 <0x0d700031>, /* PM8941_GPIO24 */
176 <0x0d800032>, /* PM8941_GPIO25 */
177 <0x0d900033>, /* PM8941_GPIO26 */
178 <0x0da00034>, /* PM8941_GPIO27 */
179 <0x0db00035>, /* PM8941_GPIO28 */
180 <0x0dc00036>, /* PM8941_GPIO29 */
181 <0x0dd00037>, /* PM8941_GPIO30 */
182 <0x0de00038>, /* PM8941_GPIO31 */
183 <0x0df00039>, /* PM8941_GPIO32 */
184 <0x0e00003a>, /* PM8941_GPIO33 */
185 <0x0e10003b>, /* PM8941_GPIO34 */
186 <0x0e20003c>, /* PM8941_GPIO35 */
187 <0x0e30003d>, /* PM8941_GPIO36 */
188 <0x0280003e>, /* COINCELL */
189 <0x0100003f>, /* SMBC_OVP */
190 <0x01100040>, /* SMBC_CHG */
191 <0x01200041>, /* SMBC_BIF */
192 <0x00500042>, /* INTERRUPT */
193 <0x00100043>, /* PM8941_0 */
194 <0x20100044>, /* PM8841_0 */
195 <0x10100045>, /* PM8941_1 */
196 <0x30100046>, /* PM8841_1 */
197 <0x00800047>, /* PON0 */
198 <0x20800048>, /* PON1 */
199 <0x11000049>, /* PM8941_SMPS1 */
200 <0x1110004a>, /* PM8941_SMPS2 */
201 <0x1120004b>, /* PM8941_SMPS3 */
202 <0x3100004c>, /* PM8841_SMPS1 */
203 <0x3110004d>, /* PM8841_SMPS2 */
204 <0x3120004e>, /* PM8841_SMPS3 */
205 <0x3130004f>, /* PM8841_SMPS4 */
206 <0x31400050>, /* PM8841_SMPS5 */
207 <0x31500051>, /* PM8841_SMPS6 */
208 <0x31600052>, /* PM8841_SMPS7 */
209 <0x31700053>, /* PM8841_SMPS8 */
210 <0x05000054>, /* SHARED_XO */
211 <0x05100055>, /* BB_CLK1 */
212 <0x05200056>, /* BB_CLK2 */
213 <0x05900057>, /* SLEEP_CLK */
214 <0x07000058>, /* PBS_CORE */
215 <0x07100059>, /* PBS_CLIENT1 */
216 <0x0720005a>; /* PBS_CLIENT2 */
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700217 };
Sagar Dharia218edb92012-01-15 18:03:01 -0700218
219 i2c@f9966000 {
220 cell-index = <0>;
221 compatible = "qcom,i2c-qup";
222 reg = <0Xf9966000 0x1000>;
223 reg-names = "qup_phys_addr";
224 interrupts = <0 104 0>;
225 interrupt-names = "qup_err_intr";
226 qcom,i2c-bus-freq = <100000>;
227 qcom,i2c-src-freq = <24000000>;
228 };
Sathish Ambley4df614c2011-10-07 16:30:46 -0700229};