1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2022, Luca Weiss <luca@z3ntu.xyz>
8 #include "qcom-msm8226.dtsi"
9 #include "qcom-pm8226.dtsi"
11 /delete-node/ &adsp_region;
14 model = "Huawei Watch";
15 compatible = "huawei,sturgeon", "qcom,apq8026";
16 chassis-type = "watch";
17 qcom,msm-id = <199 0x20000>;
18 qcom,board-id = <8 4>;
21 sbl_region: sbl@2f00000 {
22 reg = <0x02f00000 0x100000>;
26 external_image_region: external-image@3100000 {
27 reg = <0x3100000 0x200000>;
31 peripheral_region: peripheral@3300000 {
32 reg = <0x3300000 0x600000>;
36 adsp_region: adsp@3900000 {
37 reg = <0x3900000 0x1400000>;
41 modem_region: modem@4d00000 {
42 reg = <0x4d00000 0x1b00000>;
46 modem_efs_region: modem-efs@7f00000 {
47 reg = <0x7f00000 0x100000>;
52 vreg_wlan: wlan-regulator {
53 compatible = "regulator-fixed";
55 regulator-name = "wl-reg";
56 regulator-min-microvolt = <2950000>;
57 regulator-max-microvolt = <2950000>;
59 gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>;
62 pinctrl-names = "default";
63 pinctrl-0 = <&wlan_regulator_default_state>;
72 clock-frequency = <384000>;
77 compatible = "syna,rmi4-i2c";
80 interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>;
81 vdd-supply = <&pm8226_l19>;
82 vio-supply = <&pm8226_lvs1>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&touch_default_state>;
87 syna,startup-delay-ms = <160>;
94 syna,nosleep-mode = <1>;
99 syna,sensor-type = <1>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&blsp1_uart4_default_state>;
111 compatible = "brcm,bcm43430a0-bt";
112 max-speed = <3000000>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&bluetooth_default_state>;
117 host-wakeup-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
118 device-wakeup-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
119 shutdown-gpios = <&tlmm 67 GPIO_ACTIVE_HIGH>;
125 compatible = "qcom,rpm-pm8226-regulators";
128 regulator-min-microvolt = <1200000>;
129 regulator-max-microvolt = <1300000>;
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <2200000>;
138 regulator-min-microvolt = <1150000>;
139 regulator-max-microvolt = <1150000>;
143 regulator-min-microvolt = <1225000>;
144 regulator-max-microvolt = <1225000>;
148 regulator-min-microvolt = <1200000>;
149 regulator-max-microvolt = <1200000>;
153 regulator-min-microvolt = <750000>;
154 regulator-max-microvolt = <1337500>;
158 regulator-min-microvolt = <1200000>;
159 regulator-max-microvolt = <1200000>;
163 regulator-min-microvolt = <1200000>;
164 regulator-max-microvolt = <1200000>;
168 regulator-min-microvolt = <1800000>;
169 regulator-max-microvolt = <1800000>;
173 regulator-min-microvolt = <1850000>;
174 regulator-max-microvolt = <1850000>;
178 regulator-min-microvolt = <1800000>;
179 regulator-max-microvolt = <1800000>;
183 regulator-min-microvolt = <2050000>;
184 regulator-max-microvolt = <2050000>;
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
193 regulator-min-microvolt = <1800000>;
194 regulator-max-microvolt = <1800000>;
198 regulator-min-microvolt = <2750000>;
199 regulator-max-microvolt = <2750000>;
203 regulator-min-microvolt = <2800000>;
204 regulator-max-microvolt = <2800000>;
208 regulator-min-microvolt = <3000000>;
209 regulator-max-microvolt = <3350000>;
213 regulator-min-microvolt = <2950000>;
214 regulator-max-microvolt = <2950000>;
218 regulator-min-microvolt = <2950000>;
219 regulator-max-microvolt = <2950000>;
223 regulator-min-microvolt = <2850000>;
224 regulator-max-microvolt = <2850000>;
228 regulator-min-microvolt = <3075000>;
229 regulator-max-microvolt = <3075000>;
233 regulator-min-microvolt = <1800000>;
234 regulator-max-microvolt = <2950000>;
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <2950000>;
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <2950000>;
248 regulator-min-microvolt = <1300000>;
249 regulator-max-microvolt = <1350000>;
253 regulator-min-microvolt = <1775000>;
254 regulator-max-microvolt = <2125000>;
258 regulator-min-microvolt = <1225000>;
259 regulator-max-microvolt = <1225000>;
263 regulator-min-microvolt = <2050000>;
264 regulator-max-microvolt = <2050000>;
268 regulator-min-microvolt = <1800000>;
269 regulator-max-microvolt = <2950000>;
272 pm8226_lvs1: lvs1 {};
277 vmmc-supply = <&pm8226_l17>;
278 vqmmc-supply = <&pm8226_l6>;
287 max-frequency = <100000000>;
290 vmmc-supply = <&vreg_wlan>;
291 vqmmc-supply = <&pm8226_l6>;
293 #address-cells = <1>;
299 compatible = "brcm,bcm43430a0-fmac", "brcm,bcm4329-fmac";
302 interrupts-extended = <&tlmm 66 IRQ_TYPE_EDGE_FALLING>;
303 interrupt-names = "host-wake";
305 pinctrl-names = "default";
306 pinctrl-0 = <&wlan_hostwake_default_state>;
311 qcom,fast-charge-safe-voltage = <4370000>;
312 qcom,fast-charge-high-threshold-voltage = <4350000>;
313 qcom,minimum-input-voltage = <4350000>;
314 qcom,fast-charge-current-limit = <300000>;
315 qcom,fast-charge-safe-current = <600000>;
316 qcom,auto-recharge-threshold-voltage = <4240000>;
320 blsp1_uart4_default_state: blsp1-uart4-default-state {
321 pins = "gpio12", "gpio13", "gpio14", "gpio15";
322 function = "blsp_uart4";
323 drive-strength = <8>;
327 bluetooth_default_state: bluetooth-default-state {
328 pins = "gpio63", "gpio64";
330 drive-strength = <2>;
334 touch_default_state: touch-default-state {
338 drive-strength = <8>;
345 drive-strength = <6>;
350 wlan_hostwake_default_state: wlan-hostwake-default-state {
353 drive-strength = <2>;
357 wlan_regulator_default_state: wlan-regulator-default-state {
360 drive-strength = <2>;
367 dr_mode = "peripheral";
373 v1p8-supply = <&pm8226_l10>;
374 v3p3-supply = <&pm8226_l20>;