1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 serial0 = &blsp1_uart2;
14 stdout-path = "serial0";
21 vmmc-supply = <&pm8916_l8>;
22 vqmmc-supply = <&pm8916_l5>;
24 pinctrl-names = "default", "sleep";
25 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
26 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
32 vmmc-supply = <&pm8916_l11>;
33 vqmmc-supply = <&pm8916_l12>;
35 pinctrl-names = "default", "sleep";
36 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
37 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
39 cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>;
44 pinctrl-names = "default", "sleep";
45 pinctrl-0 = <&blsp1_uart2_default>;
46 pinctrl-1 = <&blsp1_uart2_sleep>;
51 extcon = <&muic>, <&muic>;
60 v1p8-supply = <&pm8916_l7>;
61 v3p3-supply = <&pm8916_l13>;
67 * Attempting to enable these devices causes a "synchronous
68 * external abort". Suspected cause is that the debug power
69 * domain is not enabled by default on this device.
70 * Disable these devices for now to avoid the crash.
72 * See: https://lore.kernel.org/linux-arm-msm/20190618202623.GA53651@gerhold.net/
74 tpiu@820000 { status = "disabled"; };
75 funnel@821000 { status = "disabled"; };
76 replicator@824000 { status = "disabled"; };
77 etf@825000 { status = "disabled"; };
78 etr@826000 { status = "disabled"; };
79 funnel@841000 { status = "disabled"; };
80 debug@850000 { status = "disabled"; };
81 debug@852000 { status = "disabled"; };
82 debug@854000 { status = "disabled"; };
83 debug@856000 { status = "disabled"; };
84 etm@85c000 { status = "disabled"; };
85 etm@85d000 { status = "disabled"; };
86 etm@85e000 { status = "disabled"; };
87 etm@85f000 { status = "disabled"; };
91 compatible = "i2c-gpio";
92 sda-gpios = <&msmgpio 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
93 scl-gpios = <&msmgpio 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
99 compatible = "siliconmitus,sm5502-muic";
102 interrupt-parent = <&msmgpio>;
103 interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&muic_int_default>;
112 muic_int_default: muic_int_default {
119 drive-strength = <2>;
125 &smd_rpm_regulators {
126 vdd_l1_l2_l3-supply = <&pm8916_s3>;
127 vdd_l4_l5_l6-supply = <&pm8916_s4>;
128 vdd_l7-supply = <&pm8916_s4>;
131 regulator-min-microvolt = <500000>;
132 regulator-max-microvolt = <1300000>;
136 regulator-min-microvolt = <1200000>;
137 regulator-max-microvolt = <1300000>;
141 regulator-min-microvolt = <1800000>;
142 regulator-max-microvolt = <2100000>;
146 regulator-min-microvolt = <1225000>;
147 regulator-max-microvolt = <1225000>;
151 regulator-min-microvolt = <1200000>;
152 regulator-max-microvolt = <1200000>;
156 regulator-min-microvolt = <500000>;
157 regulator-max-microvolt = <1287500>;
161 regulator-min-microvolt = <2050000>;
162 regulator-max-microvolt = <2050000>;
166 regulator-min-microvolt = <1800000>;
167 regulator-max-microvolt = <1800000>;
171 regulator-min-microvolt = <1800000>;
172 regulator-max-microvolt = <1800000>;
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
181 regulator-min-microvolt = <2850000>;
182 regulator-max-microvolt = <2900000>;
186 regulator-min-microvolt = <3300000>;
187 regulator-max-microvolt = <3300000>;
191 regulator-min-microvolt = <2700000>;
192 regulator-max-microvolt = <2800000>;
196 regulator-min-microvolt = <1800000>;
197 regulator-max-microvolt = <2950000>;
198 regulator-allow-set-load;
199 regulator-system-load = <200000>;
203 regulator-min-microvolt = <1800000>;
204 regulator-max-microvolt = <2950000>;
208 regulator-min-microvolt = <3075000>;
209 regulator-max-microvolt = <3075000>;
213 regulator-min-microvolt = <1800000>;
214 regulator-max-microvolt = <3300000>;
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <3300000>;
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <3300000>;
228 regulator-min-microvolt = <2850000>;
229 regulator-max-microvolt = <2850000>;
233 regulator-min-microvolt = <2700000>;
234 regulator-max-microvolt = <2700000>;