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 = "ASUS ZenWatch 2";
15 compatible = "asus,sparrow", "qcom,apq8026";
16 chassis-type = "watch";
17 qcom,msm-id = <199 0x20000>;
18 qcom,board-id = <8 3005>;
21 sbl_region: sbl@2f00000 {
22 reg = <0x02f00000 0x100000>;
25 external_image_region: external-image@3100000 {
26 reg = <0x3100000 0x200000>;
29 peripheral_region: peripheral@3300000 {
30 reg = <0x3300000 0x600000>;
33 adsp_region: adsp@3900000 {
34 reg = <0x3900000 0x1400000>;
37 modem_region: modem@4d00000 {
38 reg = <0x4d00000 0x1b00000>;
41 modem_efs_region: modem-efs@7f00000 {
42 reg = <0x7f00000 0x100000>;
47 vreg_wlan: wlan-regulator {
48 compatible = "regulator-fixed";
50 regulator-name = "wl-reg";
51 regulator-min-microvolt = <2950000>;
52 regulator-max-microvolt = <2950000>;
54 gpio = <&tlmm 35 GPIO_ACTIVE_HIGH>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&wlan_regulator_default_state>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&blsp1_uart1_default_state>;
73 compatible = "brcm,bcm43430a1-bt";
74 max-speed = <3000000>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&bluetooth_default_state>;
79 host-wakeup-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>;
80 device-wakeup-gpios = <&tlmm 61 GPIO_ACTIVE_HIGH>;
81 shutdown-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
91 compatible = "qcom,rpm-pm8226-regulators";
94 regulator-min-microvolt = <1200000>;
95 regulator-max-microvolt = <1300000>;
98 regulator-min-microvolt = <1800000>;
99 regulator-max-microvolt = <2200000>;
102 regulator-min-microvolt = <1150000>;
103 regulator-max-microvolt = <1150000>;
107 regulator-min-microvolt = <1225000>;
108 regulator-max-microvolt = <1225000>;
111 regulator-min-microvolt = <1200000>;
112 regulator-max-microvolt = <1200000>;
115 regulator-min-microvolt = <750000>;
116 regulator-max-microvolt = <1337500>;
119 regulator-min-microvolt = <1200000>;
120 regulator-max-microvolt = <1200000>;
123 regulator-min-microvolt = <1200000>;
124 regulator-max-microvolt = <1200000>;
127 regulator-min-microvolt = <1800000>;
128 regulator-max-microvolt = <1800000>;
131 regulator-min-microvolt = <1900000>;
132 regulator-max-microvolt = <1900000>;
135 regulator-min-microvolt = <1800000>;
136 regulator-max-microvolt = <1800000>;
139 regulator-min-microvolt = <1800000>;
140 regulator-max-microvolt = <1800000>;
143 regulator-min-microvolt = <1800000>;
144 regulator-max-microvolt = <1800000>;
147 regulator-min-microvolt = <1800000>;
148 regulator-max-microvolt = <1800000>;
151 regulator-min-microvolt = <2750000>;
152 regulator-max-microvolt = <2750000>;
155 regulator-min-microvolt = <3000000>;
156 regulator-max-microvolt = <3000000>;
159 regulator-min-microvolt = <3000000>;
160 regulator-max-microvolt = <3000000>;
163 regulator-min-microvolt = <2950000>;
164 regulator-max-microvolt = <2950000>;
167 regulator-min-microvolt = <2950000>;
168 regulator-max-microvolt = <2950000>;
171 regulator-min-microvolt = <2850000>;
172 regulator-max-microvolt = <2850000>;
175 regulator-min-microvolt = <3075000>;
176 regulator-max-microvolt = <3075000>;
179 regulator-min-microvolt = <1800000>;
180 regulator-max-microvolt = <2950000>;
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <2950000>;
187 regulator-min-microvolt = <1800000>;
188 regulator-max-microvolt = <1800000>;
191 regulator-min-microvolt = <1300000>;
192 regulator-max-microvolt = <1350000>;
195 regulator-min-microvolt = <1775000>;
196 regulator-max-microvolt = <2125000>;
199 regulator-min-microvolt = <1225000>;
200 regulator-max-microvolt = <1225000>;
203 regulator-min-microvolt = <2050000>;
204 regulator-max-microvolt = <2050000>;
207 regulator-min-microvolt = <1800000>;
208 regulator-max-microvolt = <2950000>;
211 pm8226_lvs1: lvs1 {};
218 vmmc-supply = <&pm8226_l17>;
219 vqmmc-supply = <&pm8226_l6>;
228 max-frequency = <100000000>;
231 vmmc-supply = <&vreg_wlan>;
232 vqmmc-supply = <&pm8226_l6>;
234 #address-cells = <1>;
238 compatible = "brcm,bcm43430a1-fmac", "brcm,bcm4329-fmac";
241 interrupts-extended = <&tlmm 46 IRQ_TYPE_EDGE_FALLING>;
242 interrupt-names = "host-wake";
244 pinctrl-names = "default";
245 pinctrl-0 = <&wlan_hostwake_default_state>;
250 qcom,fast-charge-safe-current = <1500000>;
251 qcom,fast-charge-current-limit = <350000>;
252 qcom,fast-charge-safe-voltage = <4430000>;
253 qcom,fast-charge-high-threshold-voltage = <4400000>;
254 qcom,auto-recharge-threshold-voltage = <4300000>;
255 qcom,minimum-input-voltage = <4400000>;
259 blsp1_uart1_default_state: blsp1-uart1-default-state {
260 pins = "gpio0", "gpio1", "gpio2", "gpio3";
261 function = "blsp_uart1";
262 drive-strength = <8>;
266 bluetooth_default_state: bluetooth-default-state {
267 pins = "gpio48", "gpio61";
269 drive-strength = <8>;
273 wlan_hostwake_default_state: wlan-hostwake-default-state {
276 drive-strength = <2>;
280 wlan_regulator_default_state: wlan-regulator-default-state {
283 drive-strength = <2>;
291 dr_mode = "peripheral";
296 v1p8-supply = <&pm8226_l10>;
297 v3p3-supply = <&pm8226_l20>;