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 * Attempting to enable these devices causes a "synchronous
88 * external abort". Suspected cause is that the debug power
89 * domain is not enabled by default on this device.
90 * Disable these devices for now to avoid the crash.
92 * See: https://lore.kernel.org/linux-arm-msm/20190618202623.GA53651@gerhold.net/
94 tpiu@820000 { status = "disabled"; };
95 funnel@821000 { status = "disabled"; };
96 replicator@824000 { status = "disabled"; };
97 etf@825000 { status = "disabled"; };
98 etr@826000 { status = "disabled"; };
99 funnel@841000 { status = "disabled"; };
100 debug@850000 { status = "disabled"; };
101 debug@852000 { status = "disabled"; };
102 debug@854000 { status = "disabled"; };
103 debug@856000 { status = "disabled"; };
104 etm@85c000 { status = "disabled"; };
105 etm@85d000 { status = "disabled"; };
106 etm@85e000 { status = "disabled"; };
107 etm@85f000 { status = "disabled"; };
110 // FIXME: Use extcon device provided by charger driver when available
112 compatible = "linux,extcon-usb-gpio";
113 vbus-gpio = <&msmgpio 62 GPIO_ACTIVE_HIGH>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&usb_vbus_default>;
119 compatible = "gpio-keys";
121 pinctrl-names = "default";
122 pinctrl-0 = <&gpio_keys_default>;
124 label = "GPIO Buttons";
128 gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>;
129 linux,code = <KEY_VOLUMEUP>;
135 gpio_keys_default: gpio_keys_default {
142 drive-strength = <2>;
147 usb_vbus_default: usb-vbus-default {
163 compatible = "qcom,pm8941-resin";
164 interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
166 linux,code = <KEY_VOLUMEDOWN>;
172 &smd_rpm_regulators {
173 vdd_l1_l2_l3-supply = <&pm8916_s3>;
174 vdd_l4_l5_l6-supply = <&pm8916_s4>;
175 vdd_l7-supply = <&pm8916_s4>;
178 regulator-min-microvolt = <500000>;
179 regulator-max-microvolt = <1300000>;
183 regulator-min-microvolt = <1200000>;
184 regulator-max-microvolt = <1300000>;
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <2100000>;
193 regulator-min-microvolt = <1225000>;
194 regulator-max-microvolt = <1225000>;
198 regulator-min-microvolt = <1200000>;
199 regulator-max-microvolt = <1200000>;
203 regulator-min-microvolt = <500000>;
204 regulator-max-microvolt = <1287500>;
208 regulator-min-microvolt = <2050000>;
209 regulator-max-microvolt = <2050000>;
213 regulator-min-microvolt = <1800000>;
214 regulator-max-microvolt = <1800000>;
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <1800000>;
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <1800000>;
228 regulator-min-microvolt = <2850000>;
229 regulator-max-microvolt = <2900000>;
233 regulator-min-microvolt = <3300000>;
234 regulator-max-microvolt = <3300000>;
238 regulator-min-microvolt = <2700000>;
239 regulator-max-microvolt = <2800000>;
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <2950000>;
245 regulator-allow-set-load;
246 regulator-system-load = <200000>;
250 regulator-min-microvolt = <1800000>;
251 regulator-max-microvolt = <2950000>;
255 regulator-min-microvolt = <3075000>;
256 regulator-max-microvolt = <3075000>;
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <3300000>;
265 regulator-min-microvolt = <1800000>;
266 regulator-max-microvolt = <3300000>;
270 regulator-min-microvolt = <1800000>;
271 regulator-max-microvolt = <3300000>;
275 regulator-min-microvolt = <2850000>;
276 regulator-max-microvolt = <2850000>;
280 regulator-min-microvolt = <2700000>;
281 regulator-max-microvolt = <2700000>;