1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2022, Julian Braha <julianbraha@gmail.com>
7 #include "msm8953.dtsi"
9 #include "pmi8950.dtsi"
11 /delete-node/ &qseecom_mem;
14 model = "Motorola Moto G6";
15 compatible = "motorola,ali", "qcom,sdm450";
16 chassis-type = "handset";
17 qcom,msm-id = <338 0>;
18 qcom,board-id = <0x43 0xc200>;
21 compatible = "gpio-keys";
25 gpios = <&tlmm 85 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_VOLUMEUP>;
31 qseecom_mem: qseecom@84300000 {
32 reg = <0x0 0x84300000 0x0 0x2000000>;
37 compatible = "ramoops";
38 reg = <0x0 0xef000000 0x0 0xc0000>;
39 console-size = <0x40000>;
43 vph_pwr: vph-pwr-regulator {
44 compatible = "regulator-fixed";
45 regulator-name = "vph_pwr";
52 vdd-supply = <&pm8953_l3>;
53 vdda-pll-supply = <&pm8953_l7>;
54 vdda-phy-dpdm-supply = <&pm8953_l13>;
63 compatible = "edt,edt-ft5406";
65 interrupt-parent = <&tlmm>;
66 interrupts = <65 IRQ_TYPE_EDGE_FALLING>;
67 vcc-supply = <&pm8953_l10>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&ts_int_active &ts_reset_active>;
72 reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
73 touchscreen-size-x = <1080>;
74 touchscreen-size-y = <2160>;
79 linux,code = <KEY_VOLUMEDOWN>;
84 qcom,num-strings = <3>;
93 compatible = "qcom,rpm-pm8953-regulators";
95 vdd_s1-supply = <&vph_pwr>;
96 vdd_s2-supply = <&vph_pwr>;
97 vdd_s3-supply = <&vph_pwr>;
98 vdd_s4-supply = <&vph_pwr>;
99 vdd_s5-supply = <&vph_pwr>;
100 vdd_s6-supply = <&vph_pwr>;
101 vdd_s7-supply = <&vph_pwr>;
102 vdd_l1-supply = <&pm8953_s3>;
103 vdd_l2_l3-supply = <&pm8953_s3>;
104 vdd_l4_l5_l6_l7_l16_l19-supply = <&pm8953_s4>;
105 vdd_l8_l11_l12_l13_l14_l15-supply = <&vph_pwr>;
106 vdd_l9_l10_l17_l18_l22-supply = <&vph_pwr>;
109 regulator-min-microvolt = <795000>;
110 regulator-max-microvolt = <1081000>;
114 regulator-min-microvolt = <1224000>;
115 regulator-max-microvolt = <1224000>;
119 regulator-min-microvolt = <1900000>;
120 regulator-max-microvolt = <2050000>;
124 regulator-min-microvolt = <1000000>;
125 regulator-max-microvolt = <1100000>;
129 regulator-min-microvolt = <975000>;
130 regulator-max-microvolt = <1225000>;
134 regulator-min-microvolt = <925000>;
135 regulator-max-microvolt = <925000>;
139 regulator-min-microvolt = <1800000>;
140 regulator-max-microvolt = <1800000>;
144 regulator-min-microvolt = <1800000>;
145 regulator-max-microvolt = <1800000>;
149 regulator-min-microvolt = <1800000>;
150 regulator-max-microvolt = <1900000>;
154 regulator-min-microvolt = <2900000>;
155 regulator-max-microvolt = <2900000>;
159 regulator-min-microvolt = <3000000>;
160 regulator-max-microvolt = <3300000>;
164 regulator-min-microvolt = <2850000>;
165 regulator-max-microvolt = <2850000>;
169 regulator-min-microvolt = <2950000>;
170 regulator-max-microvolt = <2950000>;
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <2950000>;
179 regulator-min-microvolt = <3125000>;
180 regulator-max-microvolt = <3125000>;
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
189 regulator-min-microvolt = <2850000>;
190 regulator-max-microvolt = <2850000>;
194 regulator-min-microvolt = <1200000>;
195 regulator-max-microvolt = <1350000>;
199 regulator-min-microvolt = <2800000>;
200 regulator-max-microvolt = <2850000>;
204 regulator-min-microvolt = <975000>;
205 regulator-max-microvolt = <1225000>;
211 vmmc-supply = <&pm8953_l8>;
212 vqmmc-supply = <&pm8953_l5>;
218 vmmc-supply = <&pm8953_l11>;
219 vqmmc-supply = <&pm8953_l12>;
221 pinctrl-names = "default", "sleep";
222 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_off>;
223 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
229 gpio-reserved-ranges = <95 5>, <111 1>, <126 1>;
231 ts_int_active: ts-int-active-state {
234 drive-strength = <8>;
238 ts_reset_active: ts-reset-active-state {
241 drive-strength = <0x08>;
251 dr_mode = "peripheral";