Lines Matching +full:low +full:- +full:power +full:- +full:disable

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 v1p2-supply = <&pm8916_l6>;
176 v3p3-supply = <&pm8916_l17>;
178 pinctrl-names = "default","sleep";
179 pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
180 pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
181 #sound-dai-cells = <1>;
184 #address-cells = <1>;
185 #size-cells = <0>;
190 remote-endpoint = <&mdss_dsi0_out>;
197 remote-endpoint = <&hdmi_con>;
205 /* On Low speed expansion: LS-I2C1 */
210 /* On High speed expansion: HS-SPI1 */
215 /* On Low speed expansion: LS-SPI0 */
221 label = "LS-UART0";
226 label = "LS-UART1";
246 data-lanes = <0 1 2 3>;
247 remote-endpoint = <&adv7533_in>;
253 firmware-name = "qcom/apq8016/mba.mbn", "qcom/apq8016/modem.mbn";
259 clock-names = "mclk";
260 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
261 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
271 * The 96Boards specification expects a 1.8V power rail on the low-speed
278 regulator-min-microvolt = <1800000>;
279 regulator-max-microvolt = <1800000>;
280 regulator-system-load = <50000>;
281 regulator-allow-set-load;
282 regulator-always-on;
285 regulator-min-microvolt = <1800000>;
286 regulator-max-microvolt = <1800000>;
287 regulator-system-load = <50000>;
288 regulator-allow-set-load;
289 regulator-always-on;
293 regulator-min-microvolt = <3300000>;
294 regulator-max-microvolt = <3300000>;
305 pinctrl-names = "default", "sleep";
306 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
307 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
309 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
315 pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default>;
316 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep>;
317 pinctrl-names = "default", "sleep";
319 audio-routing =
323 quaternary-dai-link {
324 link-name = "ADV7533";
326 sound-dai = <&lpass MI2S_QUATERNARY>;
329 sound-dai = <&adv_bridge 0>;
333 primary-dai-link {
334 link-name = "WCD";
336 sound-dai = <&lpass MI2S_PRIMARY>;
339 sound-dai = <&lpass_codec 0>, <&pm8916_codec 0>;
343 tertiary-dai-link {
344 link-name = "WCD-Capture";
346 sound-dai = <&lpass MI2S_TERTIARY>;
349 sound-dai = <&lpass_codec 1>, <&pm8916_codec 1>;
358 pinctrl-names = "default", "device";
359 pinctrl-0 = <&usb_sw_sel_pm &usb_hub_reset_pm>;
360 pinctrl-1 = <&usb_sw_sel_pm_device &usb_hub_reset_pm_device>;
369 firmware-name = "qcom/apq8016/wcnss.mbn";
373 firmware-name = "qcom/apq8016/WCNSS_qcom_wlan_nv_sbc.bin";
408 drive-strength = <16>;
412 drive-strength = <16>;
416 drive-strength = <16>;
424 * LSEC = Low Speed External Connector
439 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
444 gpio-line-names =
457 "GPIO-B", /* LS_EXP_GPIO_B, LSEC pin 24 */
458 "GPIO-C", /* LS_EXP_GPIO_C, LSEC pin 25 */
469 "GPIO-G", /* LS_EXP_GPIO_G, LSEC pin 29 */
470 "GPIO-H", /* LS_EXP_GPIO_H, LSEC pin 30 */
473 "GPIO-K", /* LS_EXP_GPIO_K, LSEC pin 33 */
478 "GPIO-L", /* LS_EXP_GPIO_L, LSEC pin 34 */
479 "GPIO-J", /* LS_EXP_GPIO_J, LSEC pin 32 */
480 "GPIO-I", /* LS_EXP_GPIO_I, LSEC pin 31 */
481 "GPIO-A", /* LS_EXP_GPIO_A, LSEC pin 23 */
514 "GPIO-D", /* LS_EXP_GPIO_D, LSEC pin 26 */
560 "GPIO-E", /* LS_EXP_GPIO_E, LSEC pin 27 */
568 sdc2_cd_default: sdc2-cd-default-state {
571 drive-strength = <2>;
572 bias-disable;
575 tlmm_leds: tlmm-leds-state {
579 output-low;
582 usb_id_default: usb-id-default-state {
586 drive-strength = <8>;
587 bias-pull-up;
590 adv7533_int_active: adv533-int-active-state {
594 drive-strength = <16>;
595 bias-disable;
598 adv7533_int_suspend: adv7533-int-suspend-state {
602 drive-strength = <2>;
603 bias-disable;
606 adv7533_switch_active: adv7533-switch-active-state {
610 drive-strength = <16>;
611 bias-disable;
614 adv7533_switch_suspend: adv7533-switch-suspend-state {
618 drive-strength = <2>;
619 bias-disable;
622 msm_key_volp_n_default: msm-key-volp-n-default-state {
626 drive-strength = <8>;
627 bias-pull-up;
632 gpio-line-names =
638 usb_hub_reset_pm: usb-hub-reset-pm-state {
642 input-disable;
643 output-high;
646 usb_hub_reset_pm_device: usb-hub-reset-pm-device-state {
650 output-low;
653 usb_sw_sel_pm: usb-sw-sel-pm-state {
657 power-source = <PM8916_GPIO_VPH>;
658 input-disable;
659 output-high;
662 usb_sw_sel_pm_device: usb-sw-sel-pm-device-state {
666 power-source = <PM8916_GPIO_VPH>;
667 input-disable;
668 output-low;
671 pm8916_gpios_leds: pm8916-gpios-leds-state {
675 output-low;
680 gpio-line-names =
684 "GPIO-F"; /* LS_EXP_GPIO_F, LSEC pin 28 */
686 pinctrl-names = "default";
687 pinctrl-0 = <&ls_exp_gpio_f>;
689 ls_exp_gpio_f: pm8916-mpp4-state {
693 output-low;
694 power-source = <PM8916_MPP_L5>; /* 1.8V */
697 pm8916_mpps_leds: pm8916-mpps-state {
701 output-low;