1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2021, Luca Weiss <luca@z3ntu.xyz>
8 #include "qcom-msm8226.dtsi"
9 #include "qcom-pm8226.dtsi"
11 /delete-node/ &adsp_region;
14 model = "LG G Watch R";
15 compatible = "lg,lenok", "qcom,apq8026";
16 qcom,board-id = <132 0x0a>;
17 qcom,msm-id = <199 0x20000>;
20 serial0 = &blsp1_uart3;
21 serial1 = &blsp1_uart4;
25 stdout-path = "serial0:115200n8";
29 sbl_region: sbl@2f00000 {
30 reg = <0x02f00000 0x100000>;
34 external_image_region: external-image@3100000 {
35 reg = <0x03100000 0x200000>;
39 adsp_region: adsp@3300000 {
40 reg = <0x03300000 0x1400000>;
45 vreg_wlan: wlan-regulator {
46 compatible = "regulator-fixed";
48 regulator-name = "wl-reg";
49 regulator-min-microvolt = <2950000>;
50 regulator-max-microvolt = <2950000>;
52 gpio = <&tlmm 46 GPIO_ACTIVE_HIGH>;
55 pinctrl-names = "default";
56 pinctrl-0 = <&wlan_regulator_default_state>;
68 compatible = "ti,bq27421";
75 clock-frequency = <384000>;
78 compatible = "syna,rmi4-i2c";
81 interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>;
82 vdd-supply = <&pm8226_l15>;
83 vio-supply = <&pm8226_l22>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&touch_pins>;
93 syna,nosleep-mode = <1>;
98 syna,sensor-type = <1>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&blsp1_uart4_default_state>;
114 compatible = "brcm,bcm43430a0-bt";
116 max-speed = <3000000>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&bluetooth_default_state>;
121 host-wakeup-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>;
122 device-wakeup-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
123 shutdown-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
129 compatible = "qcom,rpm-pm8226-regulators";
132 regulator-min-microvolt = <1200000>;
133 regulator-max-microvolt = <1350000>;
136 regulator-min-microvolt = <1800000>;
137 regulator-max-microvolt = <2200000>;
140 regulator-min-microvolt = <1150000>;
141 regulator-max-microvolt = <1150000>;
145 regulator-min-microvolt = <1225000>;
146 regulator-max-microvolt = <1225000>;
149 regulator-min-microvolt = <1200000>;
150 regulator-max-microvolt = <1200000>;
153 regulator-min-microvolt = <750000>;
154 regulator-max-microvolt = <1337500>;
157 regulator-min-microvolt = <1200000>;
158 regulator-max-microvolt = <1200000>;
161 regulator-min-microvolt = <1200000>;
162 regulator-max-microvolt = <1200000>;
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
169 regulator-min-microvolt = <1850000>;
170 regulator-max-microvolt = <1850000>;
173 regulator-min-microvolt = <1800000>;
174 regulator-max-microvolt = <1800000>;
177 regulator-min-microvolt = <2050000>;
178 regulator-max-microvolt = <2050000>;
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
185 regulator-min-microvolt = <1800000>;
186 regulator-max-microvolt = <1800000>;
189 regulator-min-microvolt = <2750000>;
190 regulator-max-microvolt = <2750000>;
193 regulator-min-microvolt = <3300000>;
194 regulator-max-microvolt = <3300000>;
197 regulator-min-microvolt = <3000000>;
198 regulator-max-microvolt = <3350000>;
201 regulator-min-microvolt = <2950000>;
202 regulator-max-microvolt = <2950000>;
205 regulator-min-microvolt = <3000000>;
206 regulator-max-microvolt = <3300000>;
209 regulator-min-microvolt = <3000000>;
210 regulator-max-microvolt = <3000000>;
213 regulator-min-microvolt = <3075000>;
214 regulator-max-microvolt = <3075000>;
217 regulator-min-microvolt = <1800000>;
218 regulator-max-microvolt = <2950000>;
221 regulator-min-microvolt = <1800000>;
222 regulator-max-microvolt = <1800000>;
225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <2950000>;
229 regulator-min-microvolt = <1300000>;
230 regulator-max-microvolt = <1350000>;
233 regulator-min-microvolt = <1775000>;
234 regulator-max-microvolt = <2125000>;
237 regulator-min-microvolt = <1225000>;
238 regulator-max-microvolt = <1225000>;
241 regulator-min-microvolt = <2050000>;
242 regulator-max-microvolt = <2050000>;
245 regulator-min-microvolt = <2700000>;
246 regulator-max-microvolt = <3000000>;
249 pm8226_lvs1: lvs1 {};
256 vmmc-supply = <&pm8226_l17>;
257 vqmmc-supply = <&pm8226_l6>;
266 max-frequency = <100000000>;
269 vmmc-supply = <&vreg_wlan>;
270 vqmmc-supply = <&pm8226_l6>;
272 #address-cells = <1>;
276 compatible = "brcm,bcm43430a0-fmac", "brcm,bcm4329-fmac";
279 interrupts-extended = <&tlmm 37 IRQ_TYPE_EDGE_FALLING>;
280 interrupt-names = "host-wake";
282 pinctrl-names = "default";
283 pinctrl-0 = <&wlan_hostwake_default_state>;
288 qcom,fast-charge-safe-current = <450000>;
289 qcom,fast-charge-current-limit = <400000>;
290 qcom,fast-charge-safe-voltage = <4350000>;
291 qcom,fast-charge-high-threshold-voltage = <4350000>;
292 qcom,auto-recharge-threshold-voltage = <4240000>;
293 qcom,minimum-input-voltage = <4450000>;
297 blsp1_uart4_default_state: blsp1-uart4-default-state {
298 pins = "gpio12", "gpio13", "gpio14", "gpio15";
299 function = "blsp_uart4";
300 drive-strength = <8>;
304 bluetooth_default_state: bluetooth-default-state {
305 pins = "gpio47", "gpio48";
307 drive-strength = <2>;
317 drive-strength = <8>;
326 drive-strength = <8>;
332 wlan_hostwake_default_state: wlan-hostwake-default-state {
335 drive-strength = <2>;
340 wlan_regulator_default_state: wlan-regulator-default-state {
343 drive-strength = <2>;
351 dr_mode = "peripheral";
356 v1p8-supply = <&pm8226_l10>;
357 v3p3-supply = <&pm8226_l20>;