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"
12 model = "ASUS ZenWatch 2";
13 compatible = "asus,sparrow", "qcom,apq8026";
14 chassis-type = "watch";
15 qcom,msm-id = <199 0x20000>;
16 qcom,board-id = <8 3005>;
19 sbl_region: sbl@2f00000 {
20 reg = <0x02f00000 0x100000>;
23 external_image_region: external-image@3100000 {
24 reg = <0x3100000 0x200000>;
27 peripheral_region: peripheral@3300000 {
28 reg = <0x3300000 0x600000>;
31 adsp_region: adsp@3900000 {
32 reg = <0x3900000 0x1400000>;
35 modem_region: modem@4d00000 {
36 reg = <0x4d00000 0x1b00000>;
39 modem_efs_region: modem-efs@7f00000 {
40 reg = <0x7f00000 0x100000>;
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 35 GPIO_ACTIVE_HIGH>;
55 pinctrl-names = "default";
56 pinctrl-0 = <&wlan_regulator_default_state>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&blsp1_uart1_default_state>;
67 compatible = "brcm,bcm43430a1-bt";
68 max-speed = <3000000>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&bluetooth_default_state>;
73 host-wakeup-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>;
74 device-wakeup-gpios = <&tlmm 61 GPIO_ACTIVE_HIGH>;
75 shutdown-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
85 compatible = "qcom,rpm-pm8226-regulators";
88 regulator-min-microvolt = <1200000>;
89 regulator-max-microvolt = <1300000>;
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <2200000>;
96 regulator-min-microvolt = <1150000>;
97 regulator-max-microvolt = <1150000>;
101 regulator-min-microvolt = <1225000>;
102 regulator-max-microvolt = <1225000>;
105 regulator-min-microvolt = <1200000>;
106 regulator-max-microvolt = <1200000>;
109 regulator-min-microvolt = <750000>;
110 regulator-max-microvolt = <1337500>;
113 regulator-min-microvolt = <1200000>;
114 regulator-max-microvolt = <1200000>;
117 regulator-min-microvolt = <1200000>;
118 regulator-max-microvolt = <1200000>;
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <1800000>;
125 regulator-min-microvolt = <1900000>;
126 regulator-max-microvolt = <1900000>;
129 regulator-min-microvolt = <1800000>;
130 regulator-max-microvolt = <1800000>;
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <1800000>;
137 regulator-min-microvolt = <1800000>;
138 regulator-max-microvolt = <1800000>;
141 regulator-min-microvolt = <1800000>;
142 regulator-max-microvolt = <1800000>;
145 regulator-min-microvolt = <2750000>;
146 regulator-max-microvolt = <2750000>;
149 regulator-min-microvolt = <3000000>;
150 regulator-max-microvolt = <3000000>;
153 regulator-min-microvolt = <3000000>;
154 regulator-max-microvolt = <3000000>;
157 regulator-min-microvolt = <2950000>;
158 regulator-max-microvolt = <2950000>;
161 regulator-min-microvolt = <2950000>;
162 regulator-max-microvolt = <2950000>;
165 regulator-min-microvolt = <2850000>;
166 regulator-max-microvolt = <2850000>;
169 regulator-min-microvolt = <3075000>;
170 regulator-max-microvolt = <3075000>;
173 regulator-min-microvolt = <1800000>;
174 regulator-max-microvolt = <2950000>;
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <2950000>;
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
185 regulator-min-microvolt = <1300000>;
186 regulator-max-microvolt = <1350000>;
189 regulator-min-microvolt = <1775000>;
190 regulator-max-microvolt = <2125000>;
193 regulator-min-microvolt = <1225000>;
194 regulator-max-microvolt = <1225000>;
197 regulator-min-microvolt = <2050000>;
198 regulator-max-microvolt = <2050000>;
201 regulator-min-microvolt = <1800000>;
202 regulator-max-microvolt = <2950000>;
205 pm8226_lvs1: lvs1 {};
212 vmmc-supply = <&pm8226_l17>;
213 vqmmc-supply = <&pm8226_l6>;
222 max-frequency = <100000000>;
225 vmmc-supply = <&vreg_wlan>;
226 vqmmc-supply = <&pm8226_l6>;
228 #address-cells = <1>;
232 compatible = "brcm,bcm43430a1-fmac", "brcm,bcm4329-fmac";
235 interrupts-extended = <&tlmm 46 IRQ_TYPE_EDGE_FALLING>;
236 interrupt-names = "host-wake";
238 pinctrl-names = "default";
239 pinctrl-0 = <&wlan_hostwake_default_state>;
244 qcom,fast-charge-safe-current = <1500000>;
245 qcom,fast-charge-current-limit = <350000>;
246 qcom,fast-charge-safe-voltage = <4430000>;
247 qcom,fast-charge-high-threshold-voltage = <4400000>;
248 qcom,auto-recharge-threshold-voltage = <4300000>;
249 qcom,minimum-input-voltage = <4400000>;
253 blsp1_uart1_default_state: blsp1-uart1-default-state {
254 pins = "gpio0", "gpio1", "gpio2", "gpio3";
255 function = "blsp_uart1";
256 drive-strength = <8>;
260 bluetooth_default_state: bluetooth-default-state {
261 pins = "gpio48", "gpio61";
263 drive-strength = <8>;
268 wlan_hostwake_default_state: wlan-hostwake-default-state {
271 drive-strength = <2>;
276 wlan_regulator_default_state: wlan-regulator-default-state {
279 drive-strength = <2>;
287 dr_mode = "peripheral";
292 v1p8-supply = <&pm8226_l10>;
293 v3p3-supply = <&pm8226_l20>;