Lines Matching +full:spi1 +full:- +full:default +full:- +full:state

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";
30 spi1 = &blsp_spi3;
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";
94 led-1 {
95 label = "apq8016-sbc:green:user1";
99 linux,default-trigger = "heartbeat";
100 default-state = "off";
103 led-2 {
104 label = "apq8016-sbc:green:user2";
108 linux,default-trigger = "mmc0";
109 default-state = "off";
112 led-3 {
113 label = "apq8016-sbc:green:user3";
117 linux,default-trigger = "mmc1";
118 default-state = "off";
121 led-4 {
122 label = "apq8016-sbc:green:user4";
125 linux,default-trigger = "none";
126 panic-indicator;
127 default-state = "off";
130 led-5 {
131 label = "apq8016-sbc:yellow:wlan";
135 linux,default-trigger = "phy0tx";
136 default-state = "off";
139 led-6 {
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";
225 pinctrl-0 = <&blsp_uart1_default>;
226 pinctrl-1 = <&blsp_uart1_sleep>;
227 pinctrl-names = "default", "sleep";
232 label = "LS-UART1";
233 pinctrl-0 = <&blsp_uart2_console_default>;
234 pinctrl-1 = <&blsp_uart2_console_sleep>;
235 pinctrl-names = "default", "sleep";
263 data-lanes = <0 1 2 3>;
264 remote-endpoint = <&adv7533_in>;
270 firmware-name = "qcom/apq8016/mba.mbn", "qcom/apq8016/modem.mbn";
280 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
281 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
291 * The 96Boards specification expects a 1.8V power rail on the low-speed
298 regulator-min-microvolt = <1800000>;
299 regulator-max-microvolt = <1800000>;
300 regulator-system-load = <50000>;
301 regulator-allow-set-load;
302 regulator-always-on;
305 regulator-min-microvolt = <1800000>;
306 regulator-max-microvolt = <1800000>;
307 regulator-system-load = <50000>;
308 regulator-allow-set-load;
309 regulator-always-on;
313 regulator-min-microvolt = <3300000>;
314 regulator-max-microvolt = <3300000>;
325 pinctrl-names = "default", "sleep";
326 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
327 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
329 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
335 pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default>;
336 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep>;
337 pinctrl-names = "default", "sleep";
339 audio-routing =
343 quaternary-dai-link {
344 link-name = "ADV7533";
346 sound-dai = <&lpass MI2S_QUATERNARY>;
349 sound-dai = <&adv_bridge 0>;
353 primary-dai-link {
354 link-name = "WCD";
356 sound-dai = <&lpass MI2S_PRIMARY>;
359 sound-dai = <&lpass_codec 0>, <&pm8916_codec 0>;
363 tertiary-dai-link {
364 link-name = "WCD-Capture";
366 sound-dai = <&lpass MI2S_TERTIARY>;
369 sound-dai = <&lpass_codec 1>, <&pm8916_codec 1>;
378 pinctrl-names = "default", "device";
379 pinctrl-0 = <&usb_sw_sel_pm &usb_hub_reset_pm>;
380 pinctrl-1 = <&usb_sw_sel_pm_device &usb_hub_reset_pm_device>;
397 firmware-name = "qcom/apq8016/wcnss.mbn";
401 firmware-name = "qcom/apq8016/WCNSS_qcom_wlan_nv_sbc.bin";
440 drive-strength = <16>;
444 drive-strength = <16>;
448 drive-strength = <16>;
471 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
476 gpio-line-names =
489 "GPIO-B", /* LS_EXP_GPIO_B, LSEC pin 24 */
490 "GPIO-C", /* LS_EXP_GPIO_C, LSEC pin 25 */
501 "GPIO-G", /* LS_EXP_GPIO_G, LSEC pin 29 */
502 "GPIO-H", /* LS_EXP_GPIO_H, LSEC pin 30 */
505 "GPIO-K", /* LS_EXP_GPIO_K, LSEC pin 33 */
510 "GPIO-L", /* LS_EXP_GPIO_L, LSEC pin 34 */
511 "GPIO-J", /* LS_EXP_GPIO_J, LSEC pin 32 */
512 "GPIO-I", /* LS_EXP_GPIO_I, LSEC pin 31 */
513 "GPIO-A", /* LS_EXP_GPIO_A, LSEC pin 23 */
546 "GPIO-D", /* LS_EXP_GPIO_D, LSEC pin 26 */
592 "GPIO-E", /* LS_EXP_GPIO_E, LSEC pin 27 */
600 blsp_uart1_default: blsp-uart1-default-state {
604 drive-strength = <16>;
605 bias-disable;
608 blsp_uart1_sleep: blsp-uart1-sleep-state {
611 drive-strength = <2>;
612 bias-pull-down;
615 sdc2_cd_default: sdc2-cd-default-state {
618 drive-strength = <2>;
619 bias-disable;
622 tlmm_leds: tlmm-leds-state {
626 output-low;
629 usb_id_default: usb-id-default-state {
633 drive-strength = <8>;
634 bias-pull-up;
637 adv7533_int_active: adv533-int-active-state {
641 drive-strength = <16>;
642 bias-disable;
645 adv7533_int_suspend: adv7533-int-suspend-state {
649 drive-strength = <2>;
650 bias-disable;
653 adv7533_switch_active: adv7533-switch-active-state {
657 drive-strength = <16>;
658 bias-disable;
661 adv7533_switch_suspend: adv7533-switch-suspend-state {
665 drive-strength = <2>;
666 bias-disable;
669 msm_key_volp_n_default: msm-key-volp-n-default-state {
673 drive-strength = <8>;
674 bias-pull-up;
679 gpio-line-names =
685 usb_hub_reset_pm: usb-hub-reset-pm-state {
689 input-disable;
690 output-high;
693 usb_hub_reset_pm_device: usb-hub-reset-pm-device-state {
697 output-low;
700 usb_sw_sel_pm: usb-sw-sel-pm-state {
704 power-source = <PM8916_GPIO_VPH>;
705 input-disable;
706 output-high;
709 usb_sw_sel_pm_device: usb-sw-sel-pm-device-state {
713 power-source = <PM8916_GPIO_VPH>;
714 input-disable;
715 output-low;
718 pm8916_gpios_leds: pm8916-gpios-leds-state {
722 output-low;
727 gpio-line-names =
731 "GPIO-F"; /* LS_EXP_GPIO_F, LSEC pin 28 */
733 pinctrl-names = "default";
734 pinctrl-0 = <&ls_exp_gpio_f>;
736 ls_exp_gpio_f: pm8916-mpp4-state {
740 output-low;
741 power-source = <PM8916_MPP_L5>; /* 1.8V */
744 pm8916_mpps_leds: pm8916-mpps-state {
748 output-low;