x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / qcom-msm8974-lge-nexus5-hammerhead.dts
blob382bcc3231a905a1e58228b07366ab886361fa30
1 #include "qcom-msm8974.dtsi"
2 #include "qcom-pm8841.dtsi"
3 #include "qcom-pm8941.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8 / {
9         model = "LGE MSM 8974 HAMMERHEAD";
10         compatible = "lge,hammerhead", "qcom,msm8974";
12         aliases {
13                 serial0 = &blsp1_uart1;
14         };
16         chosen {
17                 stdout-path = "serial0:115200n8";
18         };
20         smd {
21                 rpm {
22                         rpm_requests {
23                                 pm8841-regulators {
24                                         s1 {
25                                                 regulator-min-microvolt = <675000>;
26                                                 regulator-max-microvolt = <1050000>;
27                                         };
29                                         s2 {
30                                                 regulator-min-microvolt = <500000>;
31                                                 regulator-max-microvolt = <1050000>;
32                                         };
34                                         s3 {
35                                                 regulator-min-microvolt = <1050000>;
36                                                 regulator-max-microvolt = <1050000>;
37                                         };
39                                         s4 {
40                                                 regulator-min-microvolt = <815000>;
41                                                 regulator-max-microvolt = <900000>;
42                                         };
43                                 };
45                                 pm8941-regulators {
46                                         vdd_l1_l3-supply = <&pm8941_s1>;
47                                         vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
48                                         vdd_l4_l11-supply = <&pm8941_s1>;
49                                         vdd_l5_l7-supply = <&pm8941_s2>;
50                                         vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
51                                         vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
52                                         vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
53                                         vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
54                                         vdd_l21-supply = <&vreg_boost>;
56                                         s1 {
57                                                 regulator-min-microvolt = <1300000>;
58                                                 regulator-max-microvolt = <1300000>;
60                                                 regulator-always-on;
61                                                 regulator-boot-on;
62                                         };
64                                         s2 {
65                                                 regulator-min-microvolt = <2150000>;
66                                                 regulator-max-microvolt = <2150000>;
68                                                 regulator-boot-on;
69                                         };
71                                         s3 {
72                                                 regulator-min-microvolt = <1800000>;
73                                                 regulator-max-microvolt = <1800000>;
75                                                 regulator-always-on;
76                                                 regulator-boot-on;
77                                         };
79                                         l1 {
80                                                 regulator-min-microvolt = <1225000>;
81                                                 regulator-max-microvolt = <1225000>;
83                                                 regulator-always-on;
84                                                 regulator-boot-on;
85                                         };
87                                         l2 {
88                                                 regulator-min-microvolt = <1200000>;
89                                                 regulator-max-microvolt = <1200000>;
90                                         };
92                                         l3 {
93                                                 regulator-min-microvolt = <1225000>;
94                                                 regulator-max-microvolt = <1225000>;
95                                         };
97                                         l4 {
98                                                 regulator-min-microvolt = <1225000>;
99                                                 regulator-max-microvolt = <1225000>;
100                                         };
102                                         l5 {
103                                                 regulator-min-microvolt = <1800000>;
104                                                 regulator-max-microvolt = <1800000>;
105                                         };
107                                         l6 {
108                                                 regulator-min-microvolt = <1800000>;
109                                                 regulator-max-microvolt = <1800000>;
111                                                 regulator-boot-on;
112                                         };
114                                         l7 {
115                                                 regulator-min-microvolt = <1800000>;
116                                                 regulator-max-microvolt = <1800000>;
118                                                 regulator-boot-on;
119                                         };
121                                         l8 {
122                                                 regulator-min-microvolt = <1800000>;
123                                                 regulator-max-microvolt = <1800000>;
124                                         };
126                                         l9 {
127                                                 regulator-min-microvolt = <1800000>;
128                                                 regulator-max-microvolt = <2950000>;
129                                         };
131                                         l10 {
132                                                 regulator-min-microvolt = <1800000>;
133                                                 regulator-max-microvolt = <2950000>;
134                                         };
136                                         l11 {
137                                                 regulator-min-microvolt = <1300000>;
138                                                 regulator-max-microvolt = <1300000>;
139                                         };
141                                         l12 {
142                                                 regulator-min-microvolt = <1800000>;
143                                                 regulator-max-microvolt = <1800000>;
145                                                 regulator-always-on;
146                                                 regulator-boot-on;
147                                         };
149                                         l13 {
150                                                 regulator-min-microvolt = <1800000>;
151                                                 regulator-max-microvolt = <2950000>;
153                                                 regulator-boot-on;
154                                         };
156                                         l14 {
157                                                 regulator-min-microvolt = <1800000>;
158                                                 regulator-max-microvolt = <1800000>;
159                                         };
161                                         l15 {
162                                                 regulator-min-microvolt = <2050000>;
163                                                 regulator-max-microvolt = <2050000>;
164                                         };
166                                         l16 {
167                                                 regulator-min-microvolt = <2700000>;
168                                                 regulator-max-microvolt = <2700000>;
169                                         };
171                                         l17 {
172                                                 regulator-min-microvolt = <2850000>;
173                                                 regulator-max-microvolt = <2850000>;
174                                         };
176                                         l18 {
177                                                 regulator-min-microvolt = <2850000>;
178                                                 regulator-max-microvolt = <2850000>;
179                                         };
181                                         l19 {
182                                                 regulator-min-microvolt = <3000000>;
183                                                 regulator-max-microvolt = <3300000>;
184                                         };
186                                         l20 {
187                                                 regulator-min-microvolt = <2950000>;
188                                                 regulator-max-microvolt = <2950000>;
190                                                 regulator-boot-on;
191                                         };
193                                         l21 {
194                                                 regulator-min-microvolt = <2950000>;
195                                                 regulator-max-microvolt = <2950000>;
197                                                 regulator-boot-on;
198                                         };
200                                         l22 {
201                                                 regulator-min-microvolt = <3000000>;
202                                                 regulator-max-microvolt = <3300000>;
203                                         };
205                                         l23 {
206                                                 regulator-min-microvolt = <3000000>;
207                                                 regulator-max-microvolt = <3000000>;
208                                         };
210                                         l24 {
211                                                 regulator-min-microvolt = <3075000>;
212                                                 regulator-max-microvolt = <3075000>;
214                                                 regulator-boot-on;
215                                         };
216                                 };
217                         };
218                 };
219         };
222 &soc {
223         serial@f991d000 {
224                 status = "ok";
225         };
227         pinctrl@fd510000 {
228                 sdhc1_pin_a: sdhc1-pin-active {
229                         clk {
230                                 pins = "sdc1_clk";
231                                 drive-strength = <16>;
232                                 bias-disable;
233                         };
235                         cmd-data {
236                                 pins = "sdc1_cmd", "sdc1_data";
237                                 drive-strength = <10>;
238                                 bias-pull-up;
239                         };
240                 };
241         };
243         sdhci@f9824900 {
244                 status = "ok";
246                 vmmc-supply = <&pm8941_l20>;
247                 vqmmc-supply = <&pm8941_s3>;
249                 bus-width = <8>;
250                 non-removable;
252                 pinctrl-names = "default";
253                 pinctrl-0 = <&sdhc1_pin_a>;
254         };
256         gpio-keys {
257                 compatible = "gpio-keys";
258                 input-name = "gpio-keys";
260                 pinctrl-names = "default";
261                 pinctrl-0 = <&gpio_keys_pin_a>;
263                 volume-up {
264                         label = "volume_up";
265                         gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
266                         linux,input-type = <1>;
267                         linux,code = <KEY_VOLUMEUP>;
268                 };
270                 volume-down {
271                         label = "volume_down";
272                         gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
273                         linux,input-type = <1>;
274                         linux,code = <KEY_VOLUMEDOWN>;
275                 };
276         };
279 &spmi_bus {
280         pm8941@0 {
281                 gpios@c000 {
282                         gpio_keys_pin_a: gpio-keys-active {
283                                 pins = "gpio2", "gpio3";
284                                 function = "normal";
286                                 bias-pull-up;
287                                 power-source = <PM8941_GPIO_S3>;
288                         };
289                 };
290         };