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