1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
9 chassis-type = "embedded";
12 serial0 = &blsp1_uart2;
16 stdout-path = "serial0";
20 mpss_mem: mpss@86800000 {
21 reg = <0x0 0x86800000 0x0 0x5500000>;
25 gps_mem: gps@8bd00000 {
26 reg = <0x0 0x8bd00000 0x0 0x200000>;
32 compatible = "gpio-keys";
34 pinctrl-0 = <&button_default>;
35 pinctrl-names = "default";
37 label = "GPIO Buttons";
39 /* GPIO is board-specific */
40 button_restart: button-restart {
42 linux,code = <KEY_RESTART>;
47 compatible = "gpio-leds";
49 pinctrl-0 = <&gpio_leds_default>;
50 pinctrl-names = "default";
53 * GPIOs are board-specific.
54 * Functions and default-states defined here are fallbacks.
55 * Feel free to override them if your board is different.
58 color = <LED_COLOR_ID_RED>;
60 function = LED_FUNCTION_POWER;
64 color = <LED_COLOR_ID_GREEN>;
65 default-state = "off";
66 function = LED_FUNCTION_WLAN;
70 color = <LED_COLOR_ID_BLUE>;
71 default-state = "off";
72 function = LED_FUNCTION_WAN;
89 /* Remove &dsi_phy0 from clocks to make sure that gcc probes with display disabled */
91 clocks = <&xo_board>, <&sleep_clk>, <0>, <0>, <0>, <0>, <0>;
95 pinctrl-0 = <&sim_ctrl_default>;
96 pinctrl-names = "default";
110 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
111 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
112 pinctrl-names = "default", "sleep";
118 extcon = <&pm8916_usbin>;
119 dr_mode = "peripheral";
125 extcon = <&pm8916_usbin>;
128 &smd_rpm_regulators {
129 vdd_l1_l2_l3-supply = <&pm8916_s3>;
130 vdd_l4_l5_l6-supply = <&pm8916_s4>;
131 vdd_l7-supply = <&pm8916_s4>;
134 regulator-min-microvolt = <1200000>;
135 regulator-max-microvolt = <1300000>;
139 regulator-min-microvolt = <1800000>;
140 regulator-max-microvolt = <2100000>;
144 regulator-min-microvolt = <1225000>;
145 regulator-max-microvolt = <1225000>;
149 regulator-min-microvolt = <1200000>;
150 regulator-max-microvolt = <1200000>;
154 regulator-min-microvolt = <2050000>;
155 regulator-max-microvolt = <2050000>;
159 regulator-min-microvolt = <1800000>;
160 regulator-max-microvolt = <1800000>;
164 regulator-min-microvolt = <1800000>;
165 regulator-max-microvolt = <1800000>;
169 regulator-min-microvolt = <1800000>;
170 regulator-max-microvolt = <1800000>;
174 regulator-min-microvolt = <2850000>;
175 regulator-max-microvolt = <2900000>;
179 regulator-min-microvolt = <3300000>;
180 regulator-max-microvolt = <3300000>;
184 regulator-min-microvolt = <2700000>;
185 regulator-max-microvolt = <2800000>;
189 regulator-min-microvolt = <1800000>;
190 regulator-max-microvolt = <2950000>;
191 regulator-system-load = <200000>;
192 regulator-allow-set-load;
196 regulator-min-microvolt = <1800000>;
197 regulator-max-microvolt = <2950000>;
201 regulator-min-microvolt = <3075000>;
202 regulator-max-microvolt = <3075000>;
206 regulator-min-microvolt = <1800000>;
207 regulator-max-microvolt = <3300000>;
211 regulator-min-microvolt = <1800000>;
212 regulator-max-microvolt = <3300000>;
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <3300000>;
221 regulator-min-microvolt = <2850000>;
222 regulator-max-microvolt = <2850000>;
226 regulator-min-microvolt = <2700000>;
227 regulator-max-microvolt = <2700000>;
232 /* pins are board-specific */
233 button_default: button-default-state {
235 drive-strength = <2>;
238 gpio_leds_default: gpio-leds-default-state {
240 drive-strength = <2>;
244 sim_ctrl_default: sim-ctrl-default-state {
246 drive-strength = <2>;