Lines Matching +full:pmic +full:- +full:mpp

1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
13 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
14 #include <dt-bindings/sound/apq8016-lpass.h>
18 compatible = "qcom,apq8016-sbc", "qcom,apq8016";
34 stdout-path = "serial0";
37 reserved-memory {
42 record-size = <0x20000>;
43 console-size = <0x20000>;
44 ftrace-size = <0x20000>;
50 reset-gpios = <&pm8916_gpios 3 GPIO_ACTIVE_LOW>;
51 initial-mode = <1>;
54 usb_id: usb-id {
55 compatible = "linux,extcon-usb-gpio";
56 id-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&usb_id_default>;
61 hdmi-out {
62 compatible = "hdmi-connector";
67 remote-endpoint = <&adv7533_out>;
72 gpio-keys {
73 compatible = "gpio-keys";
76 pinctrl-names = "default";
77 pinctrl-0 = <&msm_key_volp_n_default>;
87 pinctrl-names = "default";
88 pinctrl-0 = <&tlmm_leds>,
92 compatible = "gpio-leds";
95 label = "apq8016-sbc:green:user1";
99 linux,default-trigger = "heartbeat";
100 default-state = "off";
104 label = "apq8016-sbc:green:user2";
108 linux,default-trigger = "mmc0";
109 default-state = "off";
113 label = "apq8016-sbc:green:user3";
117 linux,default-trigger = "mmc1";
118 default-state = "off";
122 label = "apq8016-sbc:green:user4";
125 linux,default-trigger = "none";
126 panic-indicator;
127 default-state = "off";
131 label = "apq8016-sbc:yellow:wlan";
135 linux,default-trigger = "phy0tx";
136 default-state = "off";
140 label = "apq8016-sbc:blue:bt";
144 linux,default-trigger = "bluetooth-power";
145 default-state = "off";
151 /* On Low speed expansion: LS-I2C0 */
156 /* On High speed expansion: HS-I2C2 */
165 interrupt-parent = <&tlmm>;
168 adi,dsi-lanes = <4>;
170 clock-names = "cec";
172 pd-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
174 avdd-supply = <&pm8916_l6>;
175 a2vdd-supply = <&pm8916_l6>;
176 dvdd-supply = <&pm8916_l6>;
177 pvdd-supply = <&pm8916_l6>;
178 v1p2-supply = <&pm8916_l6>;
179 v3p3-supply = <&pm8916_l17>;
181 pinctrl-names = "default","sleep";
182 pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
183 pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
184 #sound-dai-cells = <1>;
187 #address-cells = <1>;
188 #size-cells = <0>;
193 remote-endpoint = <&mdss_dsi0_out>;
200 remote-endpoint = <&hdmi_con>;
208 /* On Low speed expansion: LS-I2C1 */
213 /* On High speed expansion: HS-SPI1 */
218 /* On Low speed expansion: LS-SPI0 */
224 label = "LS-UART0";
229 label = "LS-UART1";
249 data-lanes = <0 1 2 3>;
250 remote-endpoint = <&adv7533_in>;
256 firmware-name = "qcom/apq8016/mba.mbn", "qcom/apq8016/modem.mbn";
262 clock-names = "mclk";
263 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
264 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
274 * The 96Boards specification expects a 1.8V power rail on the low-speed
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
283 regulator-system-load = <50000>;
284 regulator-allow-set-load;
285 regulator-always-on;
288 regulator-min-microvolt = <1800000>;
289 regulator-max-microvolt = <1800000>;
290 regulator-system-load = <50000>;
291 regulator-allow-set-load;
292 regulator-always-on;
296 regulator-min-microvolt = <3300000>;
297 regulator-max-microvolt = <3300000>;
308 pinctrl-names = "default", "sleep";
309 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
310 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
312 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
318 pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default>;
319 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep>;
320 pinctrl-names = "default", "sleep";
322 audio-routing =
326 quaternary-dai-link {
327 link-name = "ADV7533";
329 sound-dai = <&lpass MI2S_QUATERNARY>;
332 sound-dai = <&adv_bridge 0>;
336 primary-dai-link {
337 link-name = "WCD";
339 sound-dai = <&lpass MI2S_PRIMARY>;
342 sound-dai = <&lpass_codec 0>, <&pm8916_codec 0>;
346 tertiary-dai-link {
347 link-name = "WCD-Capture";
349 sound-dai = <&lpass MI2S_TERTIARY>;
352 sound-dai = <&lpass_codec 1>, <&pm8916_codec 1>;
361 pinctrl-names = "default", "device";
362 pinctrl-0 = <&usb_sw_sel_pm &usb_hub_reset_pm>;
363 pinctrl-1 = <&usb_sw_sel_pm_device &usb_hub_reset_pm_device>;
372 firmware-name = "qcom/apq8016/wcnss.mbn";
376 firmware-name = "qcom/apq8016/WCNSS_qcom_wlan_nv_sbc.bin";
411 drive-strength = <16>;
415 drive-strength = <16>;
419 drive-strength = <16>;
442 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
447 gpio-line-names =
460 "GPIO-B", /* LS_EXP_GPIO_B, LSEC pin 24 */
461 "GPIO-C", /* LS_EXP_GPIO_C, LSEC pin 25 */
472 "GPIO-G", /* LS_EXP_GPIO_G, LSEC pin 29 */
473 "GPIO-H", /* LS_EXP_GPIO_H, LSEC pin 30 */
476 "GPIO-K", /* LS_EXP_GPIO_K, LSEC pin 33 */
481 "GPIO-L", /* LS_EXP_GPIO_L, LSEC pin 34 */
482 "GPIO-J", /* LS_EXP_GPIO_J, LSEC pin 32 */
483 "GPIO-I", /* LS_EXP_GPIO_I, LSEC pin 31 */
484 "GPIO-A", /* LS_EXP_GPIO_A, LSEC pin 23 */
517 "GPIO-D", /* LS_EXP_GPIO_D, LSEC pin 26 */
563 "GPIO-E", /* LS_EXP_GPIO_E, LSEC pin 27 */
571 sdc2_cd_default: sdc2-cd-default-state {
574 drive-strength = <2>;
575 bias-disable;
578 tlmm_leds: tlmm-leds-state {
582 output-low;
585 usb_id_default: usb-id-default-state {
589 drive-strength = <8>;
590 bias-pull-up;
593 adv7533_int_active: adv533-int-active-state {
597 drive-strength = <16>;
598 bias-disable;
601 adv7533_int_suspend: adv7533-int-suspend-state {
605 drive-strength = <2>;
606 bias-disable;
609 adv7533_switch_active: adv7533-switch-active-state {
613 drive-strength = <16>;
614 bias-disable;
617 adv7533_switch_suspend: adv7533-switch-suspend-state {
621 drive-strength = <2>;
622 bias-disable;
625 msm_key_volp_n_default: msm-key-volp-n-default-state {
629 drive-strength = <8>;
630 bias-pull-up;
635 gpio-line-names =
641 usb_hub_reset_pm: usb-hub-reset-pm-state {
645 input-disable;
646 output-high;
649 usb_hub_reset_pm_device: usb-hub-reset-pm-device-state {
653 output-low;
656 usb_sw_sel_pm: usb-sw-sel-pm-state {
660 power-source = <PM8916_GPIO_VPH>;
661 input-disable;
662 output-high;
665 usb_sw_sel_pm_device: usb-sw-sel-pm-device-state {
669 power-source = <PM8916_GPIO_VPH>;
670 input-disable;
671 output-low;
674 pm8916_gpios_leds: pm8916-gpios-leds-state {
678 output-low;
683 gpio-line-names =
687 "GPIO-F"; /* LS_EXP_GPIO_F, LSEC pin 28 */
689 pinctrl-names = "default";
690 pinctrl-0 = <&ls_exp_gpio_f>;
692 ls_exp_gpio_f: pm8916-mpp4-state {
696 output-low;
697 power-source = <PM8916_MPP_L5>; /* 1.8V */
700 pm8916_mpps_leds: pm8916-mpps-state {
704 output-low;