blob: 224089e1a0d07caaff3f97ba4007faf2e9bb2e96 [file] [log] [blame]
Stepan Moskovchenko632d4162013-01-24 16:00:08 -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
Stepan Moskovchenko920a1012013-04-26 14:34:14 -070013/include/ "skeleton64.dtsi"
Stepan Moskovchenko632d4162013-01-24 16:00:08 -080014
15/ {
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -070016 model = "Qualcomm APQ 8084";
17 compatible = "qcom,apq8084";
Stepan Moskovchenko632d4162013-01-24 16:00:08 -080018 interrupt-parent = <&intc>;
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070019 soc: soc { };
20};
21
22/include/ "apq8084-ion.dtsi"
23
24&soc {
25 #address-cells = <1>;
26 #size-cells = <1>;
Stepan Moskovchenko920a1012013-04-26 14:34:14 -070027 ranges = <0 0 0 0xffffffff>;
Stepan Moskovchenko632d4162013-01-24 16:00:08 -080028
29 intc: interrupt-controller@f9000000 {
30 compatible = "qcom,msm-qgic2";
31 interrupt-controller;
32 #interrupt-cells = <3>;
33 reg = <0xF9000000 0x1000>,
34 <0xF9002000 0x1000>;
35 };
36
37 msmgpio: gpio@fd510000 {
38 compatible = "qcom,msm-gpio";
39 gpio-controller;
40 #gpio-cells = <2>;
41 interrupt-controller;
42 #interrupt-cells = <2>;
43 reg = <0xfd510000 0x4000>;
44 ngpio = <146>;
45 interrupts = <0 208 0>;
46 qcom,direct-connect-irqs = <8>;
47 };
48
49 timer {
50 compatible = "arm,armv7-timer";
51 interrupts = <1 2 0 1 3 0>;
52 clock-frequency = <19200000>;
53 };
54
55 serial@f991f000 {
56 compatible = "qcom,msm-lsuart-v14";
57 reg = <0xf991f000 0x1000>;
58 interrupts = <0 109 0>;
59 status = "disabled";
60 };
61
62 qcom,cache_erp {
63 compatible = "qcom,cache_erp";
64 interrupts = <1 9 0>, <0 2 0>;
65 interrupt-names = "l1_irq", "l2_irq";
66 };
67
68 qcom,cache_dump {
69 compatible = "qcom,cache_dump";
70 qcom,l1-dump-size = <0x100000>;
71 qcom,l2-dump-size = <0x500000>;
72 qcom,memory-reservation-type = "EBI1";
73 qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */
74 };
75
76 rpm_bus: qcom,rpm-smd {
77 compatible = "qcom,rpm-smd";
78 rpm-channel-name = "rpm_requests";
79 rpm-channel-type = <15>; /* SMD_APPS_RPM */
80 rpm-standalone;
81 };
82
Stepan Moskovchenkob8dd6a92013-03-18 18:53:34 -070083 qcom,msm-imem@fe805000 {
84 compatible = "qcom,msm-imem";
85 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
Laura Abbott2fd1fc62013-03-05 14:30:47 -080086 };
87
88 qcom,msm-rtb {
89 compatible = "qcom,msm-rtb";
90 qcom,memory-reservation-type = "EBI1";
91 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
92 };
Stepan Moskovchenkob8dd6a92013-03-18 18:53:34 -070093
Venkat Gopalakrishnand7ba4e32013-03-29 19:51:19 -070094 sdcc1: qcom,sdcc@f9824000 {
95 cell-index = <1>; /* SDC1 eMMC slot */
96 compatible = "qcom,msm-sdcc";
97 reg = <0xf9824000 0x800>;
98 reg-names = "core_mem";
99 interrupts = <0 123 0>;
100 interrupt-names = "core_irq";
101
102 qcom,bus-width = <8>;
103 status = "disabled";
104 };
105
106 sdcc2: qcom,sdcc@f98a4000 {
107 cell-index = <2>; /* SDC2 SD card slot */
108 compatible = "qcom,msm-sdcc";
109 reg = <0xf98a4000 0x800>;
110 reg-names = "core_mem";
111 interrupts = <0 125 0>;
112 interrupt-names = "core_irq";
113
114
115 qcom,bus-width = <4>;
116 status = "disabled";
117 };
Kenneth Heitke72e12c02013-04-22 17:30:58 -0600118
119 spmi_bus: qcom,spmi@fc4c0000 {
120 cell-index = <0>;
121 compatible = "qcom,spmi-pmic-arb";
122 reg-names = "core", "intr", "cnfg";
123 reg = <0xfc4cf000 0x1000>,
124 <0Xfc4cb000 0x1000>,
125 <0Xfc4ca000 0x1000>;
126 /* 190,ee0_krait_hlos_spmi_periph_irq */
127 /* 187,channel_0_krait_hlos_trans_done_irq */
128 interrupts = <0 190 0>, <0 187 0>;
129 qcom,not-wakeup;
130 qcom,pmic-arb-ee = <0>;
131 qcom,pmic-arb-channel = <0>;
132 #address-cells = <1>;
133 #size-cells = <0>;
134 interrupt-controller;
135 #interrupt-cells = <3>;
136 };
Hemant Kumar303c9412013-04-19 12:33:31 -0700137
138 usb3: qcom,ssusb@f9200000 {
139 compatible = "qcom,dwc-usb3-msm";
140 reg = <0xf9200000 0xfc000>,
141 <0xfd4ab000 0x4>;
142 #address-cells = <1>;
143 #size-cells = <1>;
144 ranges;
145 interrupts = <0 133 0>;
146 interrupt-names = "hs_phy_irq";
147 ssusb_vdd_dig-supply = <&pma8084_s1>;
148 SSUSB_1p8-supply = <&pma8084_l6>;
149 hsusb_vdd_dig-supply = <&pma8084_s1>;
150 HSUSB_1p8-supply = <&pma8084_l6>;
151 HSUSB_3p3-supply = <&pma8084_l24>;
152 qcom,dwc-usb3-msm-dbm-eps = <4>;
153 qcom,vdd-voltage-level = <0 900000 1050000>;
154
155 dwc3@f9200000 {
156 compatible = "synopsys,dwc3";
157 reg = <0xf9200000 0xfc000>;
158 interrupt-parent = <&intc>;
159 interrupts = <0 131 0>, <0 179 0>;
160 interrupt-names = "irq", "otg_irq";
161 tx-fifo-resize;
162 };
163 };
164
165 android_usb {
166 compatible = "qcom,android-usb";
167 };
Neeti Desai3db510c2013-04-29 14:31:31 -0700168
169 qcom,ocmem@fdd00000 {
170 compatible = "qcom,msm-ocmem";
171 reg = <0xfdd00000 0x2000>,
172 <0xfdd02000 0x2000>,
173 <0xfe039000 0x400>,
174 <0xfec00000 0x200000>;
175 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
176 interrupts = <0 76 0 0 77 0>;
177 interrupt-names = "ocmem_irq", "dm_irq";
178 qcom,ocmem-num-regions = <0x4>;
179 qcom,ocmem-num-macros = <0x20>;
180 qcom,resource-type = <0x706d636f>;
181 #address-cells = <1>;
182 #size-cells = <1>;
183 ranges = <0x0 0xfec00000 0x200000>;
184
185 partition@0 {
186 reg = <0x0 0x180000>;
187 qcom,ocmem-part-name = "graphics";
188 qcom,ocmem-part-min = <0x80000>;
189 };
190
191 partition@80000 {
192 reg = <0x180000 0x80000>;
193 qcom,ocmem-part-name = "lp_audio";
194 qcom,ocmem-part-min = <0x80000>;
195 };
196
197 partition@100000 {
198 reg = <0x180000 0x80000>;
199 qcom,ocmem-part-name = "video";
200 qcom,ocmem-part-min = <0x55000>;
201 };
202
203 };
Laura Abbott8fadcbc2013-05-17 17:44:16 -0700204
205 memory_hole: qcom,msm-mem-hole {
206 compatible = "qcom,msm-mem-hole";
207 qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */
208 };
Stepan Moskovchenko632d4162013-01-24 16:00:08 -0800209};
David Collinsce8b1162013-04-23 09:01:57 -0700210
211/include/ "msm-pma8084.dtsi"
David Collinsb8e4fe52013-04-23 09:04:30 -0700212/include/ "apq8084-regulator.dtsi"