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"
12 model = "LG G Watch R";
13 compatible = "lg,lenok", "qcom,apq8026";
14 qcom,board-id = <132 0x0a>;
15 qcom,msm-id = <199 0x20000>;
18 serial0 = &blsp1_uart3;
19 serial1 = &blsp1_uart4;
23 stdout-path = "serial0:115200n8";
26 vreg_wlan: wlan-regulator {
27 compatible = "regulator-fixed";
29 regulator-name = "wl-reg";
30 regulator-min-microvolt = <2950000>;
31 regulator-max-microvolt = <2950000>;
33 gpio = <&tlmm 46 GPIO_ACTIVE_HIGH>;
36 pinctrl-names = "default";
37 pinctrl-0 = <&wlan_regulator_default_state>;
45 compatible = "ti,bq27421";
52 clock-frequency = <384000>;
55 compatible = "syna,rmi4-i2c";
58 interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>;
59 vdd-supply = <&pm8226_l15>;
60 vio-supply = <&pm8226_l22>;
62 pinctrl-names = "default";
63 pinctrl-0 = <&touch_pins>;
70 syna,nosleep-mode = <1>;
75 syna,sensor-type = <1>;
87 pinctrl-names = "default";
88 pinctrl-0 = <&blsp1_uart4_default_state>;
91 compatible = "brcm,bcm43430a0-bt";
93 max-speed = <3000000>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&bluetooth_default_state>;
98 host-wakeup-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>;
99 device-wakeup-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
100 shutdown-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
106 compatible = "qcom,rpm-pm8226-regulators";
109 regulator-min-microvolt = <1200000>;
110 regulator-max-microvolt = <1350000>;
113 regulator-min-microvolt = <1800000>;
114 regulator-max-microvolt = <2200000>;
117 regulator-min-microvolt = <1150000>;
118 regulator-max-microvolt = <1150000>;
122 regulator-min-microvolt = <1225000>;
123 regulator-max-microvolt = <1225000>;
126 regulator-min-microvolt = <1200000>;
127 regulator-max-microvolt = <1200000>;
130 regulator-min-microvolt = <750000>;
131 regulator-max-microvolt = <1337500>;
134 regulator-min-microvolt = <1200000>;
135 regulator-max-microvolt = <1200000>;
138 regulator-min-microvolt = <1200000>;
139 regulator-max-microvolt = <1200000>;
142 regulator-min-microvolt = <1800000>;
143 regulator-max-microvolt = <1800000>;
146 regulator-min-microvolt = <1850000>;
147 regulator-max-microvolt = <1850000>;
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <1800000>;
154 regulator-min-microvolt = <2050000>;
155 regulator-max-microvolt = <2050000>;
158 regulator-min-microvolt = <1800000>;
159 regulator-max-microvolt = <1800000>;
162 regulator-min-microvolt = <1800000>;
163 regulator-max-microvolt = <1800000>;
166 regulator-min-microvolt = <2750000>;
167 regulator-max-microvolt = <2750000>;
170 regulator-min-microvolt = <3300000>;
171 regulator-max-microvolt = <3300000>;
174 regulator-min-microvolt = <3000000>;
175 regulator-max-microvolt = <3350000>;
178 regulator-min-microvolt = <2950000>;
179 regulator-max-microvolt = <2950000>;
182 regulator-min-microvolt = <3000000>;
183 regulator-max-microvolt = <3300000>;
186 regulator-min-microvolt = <3000000>;
187 regulator-max-microvolt = <3000000>;
190 regulator-min-microvolt = <3075000>;
191 regulator-max-microvolt = <3075000>;
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <2950000>;
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <2950000>;
206 regulator-min-microvolt = <1300000>;
207 regulator-max-microvolt = <1350000>;
210 regulator-min-microvolt = <1775000>;
211 regulator-max-microvolt = <2125000>;
214 regulator-min-microvolt = <1225000>;
215 regulator-max-microvolt = <1225000>;
218 regulator-min-microvolt = <2050000>;
219 regulator-max-microvolt = <2050000>;
222 regulator-min-microvolt = <2700000>;
223 regulator-max-microvolt = <3000000>;
226 pm8226_lvs1: lvs1 {};
233 vmmc-supply = <&pm8226_l17>;
234 vqmmc-supply = <&pm8226_l6>;
243 max-frequency = <100000000>;
246 vmmc-supply = <&vreg_wlan>;
247 vqmmc-supply = <&pm8226_l6>;
249 #address-cells = <1>;
253 compatible = "brcm,bcm43430a0-fmac", "brcm,bcm4329-fmac";
256 interrupts-extended = <&tlmm 37 IRQ_TYPE_EDGE_FALLING>;
257 interrupt-names = "host-wake";
259 pinctrl-names = "default";
260 pinctrl-0 = <&wlan_hostwake_default_state>;
265 qcom,fast-charge-safe-current = <450000>;
266 qcom,fast-charge-current-limit = <400000>;
267 qcom,fast-charge-safe-voltage = <4350000>;
268 qcom,fast-charge-high-threshold-voltage = <4350000>;
269 qcom,auto-recharge-threshold-voltage = <4240000>;
270 qcom,minimum-input-voltage = <4450000>;
274 blsp1_uart4_default_state: blsp1-uart4-default-state {
275 pins = "gpio12", "gpio13", "gpio14", "gpio15";
276 function = "blsp_uart4";
277 drive-strength = <8>;
281 bluetooth_default_state: bluetooth-default-state {
282 pins = "gpio47", "gpio48";
284 drive-strength = <2>;
294 drive-strength = <8>;
303 drive-strength = <8>;
309 wlan_hostwake_default_state: wlan-hostwake-default-state {
312 drive-strength = <2>;
317 wlan_regulator_default_state: wlan-regulator-default-state {
320 drive-strength = <2>;
328 dr_mode = "peripheral";
333 v1p8-supply = <&pm8226_l10>;
334 v3p3-supply = <&pm8226_l20>;