1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2022, Luca Weiss <luca@z3ntu.xyz>
7 #include <dt-bindings/leds/common.h>
10 #include "pmi632.dtsi"
13 model = "Fairphone 3";
14 compatible = "fairphone,fp3", "qcom,sdm632";
15 chassis-type = "handset";
16 qcom,msm-id = <349 0>;
17 qcom,board-id = <8 0x10000>;
26 stdout-path = "serial0:115200n8";
30 compatible = "gpio-keys";
34 linux,code = <KEY_VOLUMEUP>;
35 gpios = <&tlmm 85 GPIO_ACTIVE_LOW>;
39 vph_pwr: vph-pwr-regulator {
40 compatible = "regulator-fixed";
41 regulator-name = "vph_pwr";
49 vdd-supply = <&pm8953_l3>;
50 vdda-pll-supply = <&pm8953_l7>;
51 vdda-phy-dpdm-supply = <&pm8953_l13>;
58 compatible = "himax,hx83112b";
60 interrupt-parent = <&tlmm>;
61 interrupts = <65 IRQ_TYPE_LEVEL_LOW>;
62 touchscreen-size-x = <1080>;
63 touchscreen-size-y = <2160>;
64 reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
72 compatible = "nxp,nq310", "nxp,nxp-nci-i2c";
75 interrupt-parent = <&tlmm>;
76 interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
78 enable-gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>;
79 firmware-gpios = <&tlmm 62 GPIO_ACTIVE_HIGH>;
85 linux,code = <KEY_VOLUMEDOWN>;
92 color = <LED_COLOR_ID_RGB>;
93 function = LED_FUNCTION_STATUS;
100 color = <LED_COLOR_ID_RED>;
105 color = <LED_COLOR_ID_GREEN>;
110 color = <LED_COLOR_ID_BLUE>;
117 vmmc-supply = <&pm8953_l8>;
118 vqmmc-supply = <&pm8953_l5>;
123 vmmc-supply = <&pm8953_l11>;
124 vqmmc-supply = <&pm8953_l12>;
126 cd-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
131 compatible = "qcom,rpm-pm8953-regulators";
133 vdd_l1-supply = <&pm8953_s3>;
134 vdd_l2_l3-supply = <&pm8953_s3>;
135 vdd_l4_l5_l6_l7_l16_l19-supply = <&pm8953_s4>;
136 vdd_l8_l11_l12_l13_l14_l15-supply = <&vph_pwr>;
137 vdd_l9_l10_l17_l18_l22-supply = <&vph_pwr>;
140 regulator-min-microvolt = <984000>;
141 regulator-max-microvolt = <1240000>;
144 regulator-min-microvolt = <1036000>;
145 regulator-max-microvolt = <2040000>;
148 regulator-min-microvolt = <1036000>;
149 regulator-max-microvolt = <2040000>;
153 regulator-min-microvolt = <975000>;
154 regulator-max-microvolt = <1050000>;
157 regulator-min-microvolt = <975000>;
158 regulator-max-microvolt = <1175000>;
161 regulator-min-microvolt = <925000>;
162 regulator-max-microvolt = <925000>;
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
169 regulator-min-microvolt = <1800000>;
170 regulator-max-microvolt = <1800000>;
173 regulator-min-microvolt = <1800000>;
174 regulator-max-microvolt = <1900000>;
177 regulator-min-microvolt = <2900000>;
178 regulator-max-microvolt = <2900000>;
181 regulator-min-microvolt = <3000000>;
182 regulator-max-microvolt = <3300000>;
185 regulator-min-microvolt = <2800000>;
186 regulator-max-microvolt = <3000000>;
189 regulator-min-microvolt = <2950000>;
190 regulator-max-microvolt = <2950000>;
193 regulator-min-microvolt = <1800000>;
194 regulator-max-microvolt = <2950000>;
197 regulator-min-microvolt = <3125000>;
198 regulator-max-microvolt = <3125000>;
201 regulator-min-microvolt = <1800000>;
202 regulator-max-microvolt = <1800000>;
205 regulator-min-microvolt = <2850000>;
206 regulator-max-microvolt = <2850000>;
209 regulator-min-microvolt = <1200000>;
210 regulator-max-microvolt = <1350000>;
213 regulator-min-microvolt = <2800000>;
214 regulator-max-microvolt = <2800000>;
217 regulator-min-microvolt = <975000>;
218 regulator-max-microvolt = <1225000>;
225 * 0-3: unused but protected by TZ
226 * 135-138: fingerprint reader (SPI)
228 gpio-reserved-ranges = <0 4>, <135 4>;
240 dr_mode = "peripheral";