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>
9 model = "LGE MSM 8974 HAMMERHEAD";
10 compatible = "lge,hammerhead", "qcom,msm8974";
13 serial0 = &blsp1_uart1;
17 stdout-path = "serial0:115200n8";
25 regulator-min-microvolt = <675000>;
26 regulator-max-microvolt = <1050000>;
30 regulator-min-microvolt = <500000>;
31 regulator-max-microvolt = <1050000>;
35 regulator-min-microvolt = <1050000>;
36 regulator-max-microvolt = <1050000>;
40 regulator-min-microvolt = <815000>;
41 regulator-max-microvolt = <900000>;
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>;
57 regulator-min-microvolt = <1300000>;
58 regulator-max-microvolt = <1300000>;
65 regulator-min-microvolt = <2150000>;
66 regulator-max-microvolt = <2150000>;
72 regulator-min-microvolt = <1800000>;
73 regulator-max-microvolt = <1800000>;
80 regulator-min-microvolt = <1225000>;
81 regulator-max-microvolt = <1225000>;
88 regulator-min-microvolt = <1200000>;
89 regulator-max-microvolt = <1200000>;
93 regulator-min-microvolt = <1225000>;
94 regulator-max-microvolt = <1225000>;
98 regulator-min-microvolt = <1225000>;
99 regulator-max-microvolt = <1225000>;
103 regulator-min-microvolt = <1800000>;
104 regulator-max-microvolt = <1800000>;
108 regulator-min-microvolt = <1800000>;
109 regulator-max-microvolt = <1800000>;
115 regulator-min-microvolt = <1800000>;
116 regulator-max-microvolt = <1800000>;
122 regulator-min-microvolt = <1800000>;
123 regulator-max-microvolt = <1800000>;
127 regulator-min-microvolt = <1800000>;
128 regulator-max-microvolt = <2950000>;
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <2950000>;
137 regulator-min-microvolt = <1300000>;
138 regulator-max-microvolt = <1300000>;
142 regulator-min-microvolt = <1800000>;
143 regulator-max-microvolt = <1800000>;
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <2950000>;
157 regulator-min-microvolt = <1800000>;
158 regulator-max-microvolt = <1800000>;
162 regulator-min-microvolt = <2050000>;
163 regulator-max-microvolt = <2050000>;
167 regulator-min-microvolt = <2700000>;
168 regulator-max-microvolt = <2700000>;
172 regulator-min-microvolt = <2850000>;
173 regulator-max-microvolt = <2850000>;
177 regulator-min-microvolt = <2850000>;
178 regulator-max-microvolt = <2850000>;
182 regulator-min-microvolt = <3000000>;
183 regulator-max-microvolt = <3300000>;
187 regulator-min-microvolt = <2950000>;
188 regulator-max-microvolt = <2950000>;
194 regulator-min-microvolt = <2950000>;
195 regulator-max-microvolt = <2950000>;
201 regulator-min-microvolt = <3000000>;
202 regulator-max-microvolt = <3300000>;
206 regulator-min-microvolt = <3000000>;
207 regulator-max-microvolt = <3000000>;
211 regulator-min-microvolt = <3075000>;
212 regulator-max-microvolt = <3075000>;
228 sdhc1_pin_a: sdhc1-pin-active {
231 drive-strength = <16>;
236 pins = "sdc1_cmd", "sdc1_data";
237 drive-strength = <10>;
246 vmmc-supply = <&pm8941_l20>;
247 vqmmc-supply = <&pm8941_s3>;
252 pinctrl-names = "default";
253 pinctrl-0 = <&sdhc1_pin_a>;
257 compatible = "gpio-keys";
258 input-name = "gpio-keys";
260 pinctrl-names = "default";
261 pinctrl-0 = <&gpio_keys_pin_a>;
265 gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
266 linux,input-type = <1>;
267 linux,code = <KEY_VOLUMEUP>;
271 label = "volume_down";
272 gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
273 linux,input-type = <1>;
274 linux,code = <KEY_VOLUMEDOWN>;
282 gpio_keys_pin_a: gpio-keys-active {
283 pins = "gpio2", "gpio3";
287 power-source = <PM8941_GPIO_S3>;