1 // SPDX-License-Identifier: GPL-2.0-only
5 #include "msm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
11 model = "Longcheer L8150";
12 compatible = "longcheer,l8150", "qcom,msm8916-v1-qrd/9-v1", "qcom,msm8916";
15 serial0 = &blsp1_uart2;
19 stdout-path = "serial0";
23 // wcnss.mdt is not relocatable, so it must be loaded at 0x8b600000
24 /delete-node/ wcnss@89300000;
26 wcnss_mem: wcnss@8b600000 {
27 reg = <0x0 0x8b600000 0x0 0x600000>;
36 vmmc-supply = <&pm8916_l8>;
37 vqmmc-supply = <&pm8916_l5>;
39 pinctrl-names = "default", "sleep";
40 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
41 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
47 vmmc-supply = <&pm8916_l11>;
48 vqmmc-supply = <&pm8916_l12>;
50 pinctrl-names = "default", "sleep";
51 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>;
52 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
59 pinctrl-names = "default", "sleep";
60 pinctrl-0 = <&blsp1_uart2_default>;
61 pinctrl-1 = <&blsp1_uart2_sleep>;
66 dr_mode = "peripheral";
76 v1p8-supply = <&pm8916_l7>;
77 v3p3-supply = <&pm8916_l13>;
87 // FIXME: Use extcon device provided by charger driver when available
89 compatible = "linux,extcon-usb-gpio";
90 vbus-gpio = <&msmgpio 62 GPIO_ACTIVE_HIGH>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&usb_vbus_default>;
96 compatible = "gpio-keys";
98 pinctrl-names = "default";
99 pinctrl-0 = <&gpio_keys_default>;
101 label = "GPIO Buttons";
105 gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>;
106 linux,code = <KEY_VOLUMEUP>;
112 gpio_keys_default: gpio-keys-default {
119 drive-strength = <2>;
124 usb_vbus_default: usb-vbus-default {
140 compatible = "qcom,pm8941-resin";
141 interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
143 linux,code = <KEY_VOLUMEDOWN>;
149 &smd_rpm_regulators {
150 vdd_l1_l2_l3-supply = <&pm8916_s3>;
151 vdd_l4_l5_l6-supply = <&pm8916_s4>;
152 vdd_l7-supply = <&pm8916_s4>;
155 regulator-min-microvolt = <500000>;
156 regulator-max-microvolt = <1300000>;
160 regulator-min-microvolt = <1200000>;
161 regulator-max-microvolt = <1300000>;
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <2100000>;
170 regulator-min-microvolt = <1225000>;
171 regulator-max-microvolt = <1225000>;
175 regulator-min-microvolt = <1200000>;
176 regulator-max-microvolt = <1200000>;
180 regulator-min-microvolt = <500000>;
181 regulator-max-microvolt = <1287500>;
185 regulator-min-microvolt = <2050000>;
186 regulator-max-microvolt = <2050000>;
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1800000>;
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1800000>;
200 regulator-min-microvolt = <1800000>;
201 regulator-max-microvolt = <1800000>;
205 regulator-min-microvolt = <2850000>;
206 regulator-max-microvolt = <2900000>;
210 regulator-min-microvolt = <3300000>;
211 regulator-max-microvolt = <3300000>;
215 regulator-min-microvolt = <2700000>;
216 regulator-max-microvolt = <2800000>;
220 regulator-min-microvolt = <1800000>;
221 regulator-max-microvolt = <2950000>;
222 regulator-allow-set-load;
223 regulator-system-load = <200000>;
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <2950000>;
232 regulator-min-microvolt = <3075000>;
233 regulator-max-microvolt = <3075000>;
237 regulator-min-microvolt = <1800000>;
238 regulator-max-microvolt = <3300000>;
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <3300000>;
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <3300000>;
252 regulator-min-microvolt = <2850000>;
253 regulator-max-microvolt = <2850000>;
257 regulator-min-microvolt = <2700000>;
258 regulator-max-microvolt = <2700000>;