Lines Matching +full:msm +full:- +full:uart
1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "msm8916-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
11 #include <dt-bindings/sound/apq8016-lpass.h>
26 stdout-path = "serial0";
29 camera_vdddo_1v8: camera-vdddo-1v8 {
30 compatible = "regulator-fixed";
31 regulator-name = "camera_vdddo";
32 regulator-min-microvolt = <1800000>;
33 regulator-max-microvolt = <1800000>;
34 regulator-always-on;
37 camera_vdda_2v8: camera-vdda-2v8 {
38 compatible = "regulator-fixed";
39 regulator-name = "camera_vdda";
40 regulator-min-microvolt = <2800000>;
41 regulator-max-microvolt = <2800000>;
42 regulator-always-on;
45 camera_vddd_1v5: camera-vddd-1v5 {
46 compatible = "regulator-fixed";
47 regulator-name = "camera_vddd";
48 regulator-min-microvolt = <1500000>;
49 regulator-max-microvolt = <1500000>;
50 regulator-always-on;
53 reserved-memory {
58 record-size = <0x20000>;
59 console-size = <0x20000>;
60 ftrace-size = <0x20000>;
66 reset-gpios = <&pm8916_gpios 3 GPIO_ACTIVE_LOW>;
67 initial-mode = <1>;
70 usb_id: usb-id {
71 compatible = "linux,extcon-usb-gpio";
72 id-gpio = <&msmgpio 121 GPIO_ACTIVE_HIGH>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&usb_id_default>;
77 hdmi-out {
78 compatible = "hdmi-connector";
83 remote-endpoint = <&adv7533_out>;
88 gpio-keys {
89 compatible = "gpio-keys";
90 #address-cells = <1>;
91 #size-cells = <0>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&msm_key_volp_n_default>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&msmgpio_leds>,
110 compatible = "gpio-leds";
113 label = "apq8016-sbc:green:user1";
115 linux,default-trigger = "heartbeat";
116 default-state = "off";
120 label = "apq8016-sbc:green:user2";
122 linux,default-trigger = "mmc0";
123 default-state = "off";
127 label = "apq8016-sbc:green:user3";
129 linux,default-trigger = "mmc1";
130 default-state = "off";
134 label = "apq8016-sbc:green:user4";
136 linux,default-trigger = "none";
137 panic-indicator;
138 default-state = "off";
142 label = "apq8016-sbc:yellow:wlan";
144 linux,default-trigger = "phy0tx";
145 default-state = "off";
149 label = "apq8016-sbc:blue:bt";
151 linux,default-trigger = "bluetooth-power";
152 default-state = "off";
164 label = "LS-I2C0";
170 label = "HS-I2C2";
178 interrupt-parent = <&msmgpio>;
181 adi,dsi-lanes = <4>;
183 clock-names = "cec";
185 pd-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>;
187 avdd-supply = <&pm8916_l6>;
188 v1p2-supply = <&pm8916_l6>;
189 v3p3-supply = <&pm8916_l17>;
191 pinctrl-names = "default","sleep";
192 pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
193 pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
194 #sound-dai-cells = <1>;
197 #address-cells = <1>;
198 #size-cells = <0>;
203 remote-endpoint = <&dsi0_out>;
210 remote-endpoint = <&hdmi_con>;
220 label = "LS-I2C1";
226 label = "HS-SPI1";
232 label = "LS-SPI0";
237 label = "LS-UART0";
242 label = "LS-UART1";
251 clock-lanes = <1>;
252 data-lanes = <0 2>;
253 remote-endpoint = <&ov5640_ep>;
269 enable-gpios = <&msmgpio 34 GPIO_ACTIVE_HIGH>;
270 reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&camera_rear_default>;
275 clock-names = "xclk";
276 clock-frequency = <23880000>;
278 vdddo-supply = <&camera_vdddo_1v8>;
279 vdda-supply = <&camera_vdda_2v8>;
280 vddd-supply = <&camera_vddd_1v5>;
287 clock-lanes = <1>;
288 data-lanes = <0 2>;
289 remote-endpoint = <&csiphy0_ep>;
296 data-lanes = <0 1 2 3>;
297 remote-endpoint = <&adv7533_in>;
320 pinctrl-names = "default", "sleep";
321 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
322 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
328 pinctrl-names = "default", "sleep";
329 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
330 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
332 cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>;
338 pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>;
339 pinctrl-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>;
340 pinctrl-names = "default", "sleep";
342 qcom,audio-routing =
346 external-dai-link@0 {
347 link-name = "ADV7533";
349 sound-dai = <&lpass MI2S_QUATERNARY>;
352 sound-dai = <&adv_bridge 0>;
356 internal-codec-playback-dai-link@0 {
357 link-name = "WCD";
359 sound-dai = <&lpass MI2S_PRIMARY>;
362 sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
366 internal-codec-capture-dai-link@0 {
367 link-name = "WCD-Capture";
369 sound-dai = <&lpass MI2S_TERTIARY>;
372 sound-dai = <&lpass_codec 1>, <&wcd_codec 1>;
381 pinctrl-names = "default", "device";
382 pinctrl-0 = <&usb_sw_sel_pm &usb_hub_reset_pm>;
383 pinctrl-1 = <&usb_sw_sel_pm_device &usb_hub_reset_pm_device>;
392 clock-names = "mclk";
393 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
394 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
421 vdd_l1_l2_l3-supply = <&pm8916_s3>;
422 vdd_l4_l5_l6-supply = <&pm8916_s4>;
423 vdd_l7-supply = <&pm8916_s4>;
426 regulator-min-microvolt = <375000>;
427 regulator-max-microvolt = <1562000>;
431 regulator-min-microvolt = <1800000>;
432 regulator-max-microvolt = <1800000>;
434 regulator-always-on;
435 regulator-boot-on;
439 regulator-min-microvolt = <375000>;
440 regulator-max-microvolt = <1525000>;
444 regulator-min-microvolt = <1200000>;
445 regulator-max-microvolt = <1200000>;
449 regulator-min-microvolt = <1750000>;
450 regulator-max-microvolt = <3337000>;
454 regulator-min-microvolt = <1750000>;
455 regulator-max-microvolt = <3337000>;
459 regulator-min-microvolt = <1800000>;
460 regulator-max-microvolt = <1800000>;
464 regulator-min-microvolt = <1750000>;
465 regulator-max-microvolt = <3337000>;
469 regulator-min-microvolt = <1750000>;
470 regulator-max-microvolt = <3337000>;
474 regulator-min-microvolt = <1750000>;
475 regulator-max-microvolt = <3337000>;
479 regulator-min-microvolt = <1750000>;
480 regulator-max-microvolt = <3337000>;
484 regulator-min-microvolt = <1750000>;
485 regulator-max-microvolt = <3337000>;
486 regulator-allow-set-load;
487 regulator-system-load = <200000>;
491 regulator-min-microvolt = <1750000>;
492 regulator-max-microvolt = <3337000>;
496 regulator-min-microvolt = <1750000>;
497 regulator-max-microvolt = <3337000>;
501 regulator-min-microvolt = <1750000>;
502 regulator-max-microvolt = <3337000>;
510 regulator-min-microvolt = <1750000>;
511 regulator-max-microvolt = <3337000>;
512 regulator-always-on;
516 regulator-min-microvolt = <1750000>;
517 regulator-max-microvolt = <3337000>;
521 regulator-min-microvolt = <3300000>;
522 regulator-max-microvolt = <3300000>;
526 regulator-min-microvolt = <1750000>;
527 regulator-max-microvolt = <3337000>;
536 drive-strength = <16>;
540 drive-strength = <16>;
544 drive-strength = <16>;
564 * takes precedence, which means that the external UART on the
567 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
572 gpio-line-names =
585 "GPIO-B", /* LS_EXP_GPIO_B, LSEC pin 24 */
586 "GPIO-C", /* LS_EXP_GPIO_C, LSEC pin 25 */
597 "GPIO-G", /* LS_EXP_GPIO_G, LSEC pin 29 */
598 "GPIO-H", /* LS_EXP_GPIO_H, LSEC pin 30 */
601 "GPIO-K", /* LS_EXP_GPIO_K, LSEC pin 33 */
606 "GPIO-L", /* LS_EXP_GPIO_L, LSEC pin 34 */
607 "GPIO-J", /* LS_EXP_GPIO_J, LSEC pin 32 */
608 "GPIO-I", /* LS_EXP_GPIO_I, LSEC pin 31 */
609 "GPIO-A", /* LS_EXP_GPIO_A, LSEC pin 23 */
642 "GPIO-D", /* LS_EXP_GPIO_D, LSEC pin 26 */
688 "GPIO-E", /* LS_EXP_GPIO_E, LSEC pin 27 */
696 msmgpio_leds: msmgpio-leds {
700 output-low;
703 usb_id_default: usb-id-default {
707 drive-strength = <8>;
708 input-enable;
709 bias-pull-up;
712 adv7533_int_active: adv533-int-active {
716 drive-strength = <16>;
717 bias-disable;
720 adv7533_int_suspend: adv7533-int-suspend {
724 drive-strength = <2>;
725 bias-disable;
728 adv7533_switch_active: adv7533-switch-active {
732 drive-strength = <16>;
733 bias-disable;
736 adv7533_switch_suspend: adv7533-switch-suspend {
740 drive-strength = <2>;
741 bias-disable;
744 msm_key_volp_n_default: msm-key-volp-n-default {
748 drive-strength = <8>;
749 input-enable;
750 bias-pull-up;
755 gpio-line-names =
761 usb_hub_reset_pm: usb-hub-reset-pm {
765 input-disable;
766 output-high;
769 usb_hub_reset_pm_device: usb-hub-reset-pm-device {
773 output-low;
776 usb_sw_sel_pm: usb-sw-sel-pm {
780 power-source = <PM8916_GPIO_VPH>;
781 input-disable;
782 output-high;
785 usb_sw_sel_pm_device: usb-sw-sel-pm-device {
789 power-source = <PM8916_GPIO_VPH>;
790 input-disable;
791 output-low;
794 pm8916_gpios_leds: pm8916-gpios-leds {
798 output-low;
803 gpio-line-names =
807 "GPIO-F"; /* LS_EXP_GPIO_F, LSEC pin 28 */
809 pinctrl-names = "default";
810 pinctrl-0 = <&ls_exp_gpio_f>;
812 ls_exp_gpio_f: pm8916-mpp4 {
816 output-low;
817 power-source = <PM8916_MPP_L5>; // 1.8V
820 pm8916_mpps_leds: pm8916-mpps-leds {
824 output-low;