Commit | Line | Data |
---|---|---|
973747fb | 1 | #include "qcom-apq8064-v2.0.dtsi" |
226355fb SK |
2 | #include "qcom-apq8064-arrow-db600c-pins.dtsi" |
3 | #include <dt-bindings/gpio/gpio.h> | |
973747fb SK |
4 | |
5 | / { | |
6 | model = "Arrow Electronics, APQ8064 DB600c"; | |
7 | compatible = "arrow,db600c", "qcom,apq8064"; | |
8 | ||
9 | aliases { | |
10 | serial0 = &gsbi7_serial; | |
11 | serial1 = &gsbi1_serial; | |
12 | }; | |
13 | ||
696a8a16 SK |
14 | regulators { |
15 | compatible = "simple-bus"; | |
16 | vph: regulator-fixed@1 { | |
17 | compatible = "regulator-fixed"; | |
18 | regulator-min-microvolt = <4500000>; | |
19 | regulator-max-microvolt = <4500000>; | |
20 | regulator-name = "VPH"; | |
21 | regulator-type = "voltage"; | |
22 | regulator-boot-on; | |
23 | }; | |
c2284786 SK |
24 | |
25 | /* on board fixed 3.3v supply */ | |
26 | vcc3v3: vcc3v3 { | |
27 | compatible = "regulator-fixed"; | |
28 | regulator-name = "VCC3V3"; | |
29 | regulator-min-microvolt = <3300000>; | |
30 | regulator-max-microvolt = <3300000>; | |
31 | regulator-always-on; | |
32 | }; | |
33 | ||
696a8a16 SK |
34 | }; |
35 | ||
973747fb | 36 | soc { |
696a8a16 SK |
37 | rpm@108000 { |
38 | regulators { | |
39 | vdd_s1-supply = <&vph>; | |
40 | vdd_s2-supply = <&vph>; | |
41 | vdd_s3-supply = <&vph>; | |
42 | vdd_s4-supply = <&vph>; | |
43 | vdd_s5-supply = <&vph>; | |
44 | vdd_s6-supply = <&vph>; | |
45 | vdd_s7-supply = <&vph>; | |
46 | vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; | |
47 | vdd_l3_l15_l17-supply = <&vph>; | |
48 | vdd_l4_l14-supply = <&vph>; | |
49 | vdd_l5_l8_l16-supply = <&vph>; | |
50 | vdd_l6_l7-supply = <&vph>; | |
51 | vdd_l9_l11-supply = <&vph>; | |
52 | vdd_l10_l22-supply = <&vph>; | |
53 | vdd_l21_l23_l29-supply = <&vph>; | |
54 | vdd_l24-supply = <&pm8921_s1>; | |
55 | vdd_l25-supply = <&pm8921_s1>; | |
56 | vdd_l26-supply = <&pm8921_s7>; | |
57 | vdd_l27-supply = <&pm8921_s7>; | |
58 | vdd_l28-supply = <&pm8921_s7>; | |
59 | vin_lvs1_3_6-supply = <&pm8921_s4>; | |
60 | vin_lvs2-supply = <&pm8921_s1>; | |
61 | vin_lvs4_5_7-supply = <&pm8921_s4>; | |
62 | ||
63 | s1 { | |
64 | regulator-always-on; | |
65 | regulator-min-microvolt = <1225000>; | |
66 | regulator-max-microvolt = <1225000>; | |
67 | qcom,switch-mode-frequency = <3200000>; | |
68 | bias-pull-down; | |
69 | }; | |
70 | ||
f43a9271 SK |
71 | s3 { |
72 | regulator-min-microvolt = <1000000>; | |
73 | regulator-max-microvolt = <1400000>; | |
74 | qcom,switch-mode-frequency = <4800000>; | |
75 | }; | |
76 | ||
696a8a16 SK |
77 | s4 { |
78 | regulator-min-microvolt = <1800000>; | |
79 | regulator-max-microvolt = <1800000>; | |
80 | qcom,switch-mode-frequency = <3200000>; | |
81 | bias-pull-down; | |
82 | regulator-always-on; | |
83 | }; | |
84 | ||
85 | s7 { | |
86 | regulator-min-microvolt = <1300000>; | |
87 | regulator-max-microvolt = <1300000>; | |
88 | qcom,switch-mode-frequency = <3200000>; | |
89 | }; | |
226355fb | 90 | |
f43a9271 SK |
91 | l3 { |
92 | regulator-min-microvolt = <3050000>; | |
93 | regulator-max-microvolt = <3300000>; | |
94 | bias-pull-down; | |
95 | }; | |
96 | ||
97 | l4 { | |
98 | regulator-min-microvolt = <1000000>; | |
99 | regulator-max-microvolt = <1800000>; | |
100 | bias-pull-down; | |
101 | }; | |
102 | ||
226355fb SK |
103 | l5 { |
104 | regulator-min-microvolt = <2750000>; | |
105 | regulator-max-microvolt = <3000000>; | |
106 | bias-pull-down; | |
107 | regulator-boot-on; | |
108 | regulator-always-on; | |
109 | }; | |
110 | ||
111 | l6 { | |
112 | regulator-min-microvolt = <2950000>; | |
113 | regulator-max-microvolt = <2950000>; | |
114 | bias-pull-down; | |
115 | }; | |
f43a9271 SK |
116 | |
117 | l23 { | |
118 | regulator-min-microvolt = <1700000>; | |
119 | regulator-max-microvolt = <1900000>; | |
120 | bias-pull-down; | |
121 | }; | |
c2284786 SK |
122 | |
123 | lvs6 { | |
124 | bias-pull-down; | |
125 | }; | |
2ce36229 SK |
126 | |
127 | lvs7 { | |
128 | bias-pull-down; | |
129 | }; | |
696a8a16 SK |
130 | }; |
131 | }; | |
132 | ||
973747fb SK |
133 | gsbi@12440000 { |
134 | status = "okay"; | |
135 | qcom,mode = <GSBI_PROT_UART_W_FC>; | |
136 | serial@12450000 { | |
137 | label = "LS-UART1"; | |
138 | status = "okay"; | |
139 | pinctrl-names = "default"; | |
140 | pinctrl-0 = <&gsbi1_uart_4pins>; | |
141 | }; | |
142 | }; | |
143 | ||
144 | /* DEBUG UART */ | |
145 | gsbi@16600000 { | |
146 | status = "okay"; | |
147 | qcom,mode = <GSBI_PROT_I2C_UART>; | |
148 | serial@16640000 { | |
149 | label = "LS-UART0"; | |
150 | status = "okay"; | |
151 | pinctrl-names = "default"; | |
152 | pinctrl-0 = <&gsbi7_uart_2pins>; | |
153 | }; | |
154 | }; | |
226355fb | 155 | |
2f29160f SK |
156 | leds { |
157 | pinctrl-names = "default"; | |
158 | pinctrl-0 = <&user_leds>, <&mpp_leds>; | |
159 | ||
160 | compatible = "gpio-leds"; | |
161 | ||
162 | user-led0 { | |
163 | label = "user0-led"; | |
164 | gpios = <&tlmm_pinmux 3 GPIO_ACTIVE_HIGH>; | |
165 | linux,default-trigger = "heartbeat"; | |
166 | default-state = "off"; | |
167 | }; | |
168 | ||
169 | user-led1 { | |
170 | label = "user1-led"; | |
171 | gpios = <&tlmm_pinmux 7 GPIO_ACTIVE_HIGH>; | |
172 | linux,default-trigger = "mmc0"; | |
173 | default-state = "off"; | |
174 | }; | |
175 | ||
176 | user-led2 { | |
177 | label = "user2-led"; | |
178 | gpios = <&tlmm_pinmux 10 GPIO_ACTIVE_HIGH>; | |
179 | linux,default-trigger = "mmc1"; | |
180 | default-state = "off"; | |
181 | }; | |
182 | ||
183 | user-led3 { | |
184 | label = "user3-led"; | |
185 | gpios = <&tlmm_pinmux 11 GPIO_ACTIVE_HIGH>; | |
186 | linux,default-trigger = "none"; | |
187 | default-state = "off"; | |
188 | }; | |
189 | ||
190 | wifi-led { | |
191 | label = "WiFi-led"; | |
192 | gpios = <&pm8921_mpps 7 GPIO_ACTIVE_HIGH>; | |
193 | default-state = "off"; | |
194 | }; | |
195 | ||
196 | bt-led { | |
197 | label = "BT-led"; | |
198 | gpios = <&pm8921_mpps 8 GPIO_ACTIVE_HIGH>; | |
199 | default-state = "off"; | |
200 | }; | |
201 | }; | |
202 | ||
c2284786 SK |
203 | pci@1b500000 { |
204 | status = "okay"; | |
205 | vdda-supply = <&pm8921_s3>; | |
206 | vdda_phy-supply = <&pm8921_lvs6>; | |
207 | vdda_refclk-supply = <&vcc3v3>; | |
208 | pinctrl-0 = <&pcie_pins>; | |
209 | pinctrl-names = "default"; | |
210 | perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; | |
211 | }; | |
212 | ||
2ce36229 SK |
213 | phy@1b400000 { |
214 | status = "okay"; | |
215 | }; | |
216 | ||
217 | sata@29000000 { | |
218 | status = "okay"; | |
219 | target-supply = <&pm8921_lvs7>; | |
220 | }; | |
221 | ||
f43a9271 SK |
222 | /* OTG */ |
223 | phy@12500000 { | |
224 | status = "okay"; | |
225 | dr_mode = "peripheral"; | |
226 | vddcx-supply = <&pm8921_s3>; | |
227 | v3p3-supply = <&pm8921_l3>; | |
228 | v1p8-supply = <&pm8921_l4>; | |
229 | }; | |
230 | ||
231 | phy@12520000 { | |
232 | status = "okay"; | |
233 | vddcx-supply = <&pm8921_s3>; | |
234 | v3p3-supply = <&pm8921_l3>; | |
235 | v1p8-supply = <&pm8921_l23>; | |
236 | }; | |
237 | ||
238 | phy@12530000 { | |
239 | status = "okay"; | |
240 | vddcx-supply = <&pm8921_s3>; | |
241 | v3p3-supply = <&pm8921_l3>; | |
242 | v1p8-supply = <&pm8921_l23>; | |
243 | }; | |
244 | ||
245 | gadget@12500000 { | |
246 | status = "okay"; | |
247 | }; | |
248 | ||
249 | /* OTG */ | |
250 | usb@12500000 { | |
251 | status = "okay"; | |
252 | }; | |
253 | ||
254 | usb@12520000 { | |
255 | status = "okay"; | |
256 | }; | |
257 | ||
258 | usb@12530000 { | |
259 | status = "okay"; | |
260 | }; | |
261 | ||
226355fb SK |
262 | amba { |
263 | /* eMMC */ | |
264 | sdcc@12400000 { | |
265 | status = "okay"; | |
266 | vmmc-supply = <&pm8921_l5>; | |
267 | vqmmc-supply = <&pm8921_s4>; | |
268 | }; | |
269 | ||
270 | /* External micro SD card */ | |
271 | sdcc@12180000 { | |
272 | status = "okay"; | |
273 | vmmc-supply = <&pm8921_l6>; | |
274 | pinctrl-names = "default"; | |
275 | pinctrl-0 = <&card_detect>; | |
276 | cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_HIGH>; | |
277 | }; | |
278 | }; | |
973747fb SK |
279 | }; |
280 | }; |