Lines Matching +full:primary +full:- +full:dai +full:- +full:link

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";
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";
229 label = "LS-UART1";
257 data-lanes = <0 1 2 3>;
258 remote-endpoint = <&adv7533_in>;
264 firmware-name = "qcom/apq8016/mba.mbn", "qcom/apq8016/modem.mbn";
274 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
275 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
285 * The 96Boards specification expects a 1.8V power rail on the low-speed
292 regulator-min-microvolt = <1800000>;
293 regulator-max-microvolt = <1800000>;
294 regulator-system-load = <50000>;
295 regulator-allow-set-load;
296 regulator-always-on;
299 regulator-min-microvolt = <1800000>;
300 regulator-max-microvolt = <1800000>;
301 regulator-system-load = <50000>;
302 regulator-allow-set-load;
303 regulator-always-on;
307 regulator-min-microvolt = <3300000>;
308 regulator-max-microvolt = <3300000>;
319 pinctrl-names = "default", "sleep";
320 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
321 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
323 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
329 pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default>;
330 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep>;
331 pinctrl-names = "default", "sleep";
333 audio-routing =
337 quaternary-dai-link {
338 link-name = "ADV7533";
340 sound-dai = <&lpass MI2S_QUATERNARY>;
343 sound-dai = <&adv_bridge 0>;
347 primary-dai-link {
348 link-name = "WCD";
350 sound-dai = <&lpass MI2S_PRIMARY>;
353 sound-dai = <&lpass_codec 0>, <&pm8916_codec 0>;
357 tertiary-dai-link {
358 link-name = "WCD-Capture";
360 sound-dai = <&lpass MI2S_TERTIARY>;
363 sound-dai = <&lpass_codec 1>, <&pm8916_codec 1>;
372 pinctrl-names = "default", "device";
373 pinctrl-0 = <&usb_sw_sel_pm &usb_hub_reset_pm>;
374 pinctrl-1 = <&usb_sw_sel_pm_device &usb_hub_reset_pm_device>;
391 firmware-name = "qcom/apq8016/wcnss.mbn";
395 firmware-name = "qcom/apq8016/WCNSS_qcom_wlan_nv_sbc.bin";
434 drive-strength = <16>;
438 drive-strength = <16>;
442 drive-strength = <16>;
465 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
470 gpio-line-names =
483 "GPIO-B", /* LS_EXP_GPIO_B, LSEC pin 24 */
484 "GPIO-C", /* LS_EXP_GPIO_C, LSEC pin 25 */
495 "GPIO-G", /* LS_EXP_GPIO_G, LSEC pin 29 */
496 "GPIO-H", /* LS_EXP_GPIO_H, LSEC pin 30 */
499 "GPIO-K", /* LS_EXP_GPIO_K, LSEC pin 33 */
504 "GPIO-L", /* LS_EXP_GPIO_L, LSEC pin 34 */
505 "GPIO-J", /* LS_EXP_GPIO_J, LSEC pin 32 */
506 "GPIO-I", /* LS_EXP_GPIO_I, LSEC pin 31 */
507 "GPIO-A", /* LS_EXP_GPIO_A, LSEC pin 23 */
540 "GPIO-D", /* LS_EXP_GPIO_D, LSEC pin 26 */
586 "GPIO-E", /* LS_EXP_GPIO_E, LSEC pin 27 */
594 sdc2_cd_default: sdc2-cd-default-state {
597 drive-strength = <2>;
598 bias-disable;
601 tlmm_leds: tlmm-leds-state {
605 output-low;
608 usb_id_default: usb-id-default-state {
612 drive-strength = <8>;
613 bias-pull-up;
616 adv7533_int_active: adv533-int-active-state {
620 drive-strength = <16>;
621 bias-disable;
624 adv7533_int_suspend: adv7533-int-suspend-state {
628 drive-strength = <2>;
629 bias-disable;
632 adv7533_switch_active: adv7533-switch-active-state {
636 drive-strength = <16>;
637 bias-disable;
640 adv7533_switch_suspend: adv7533-switch-suspend-state {
644 drive-strength = <2>;
645 bias-disable;
648 msm_key_volp_n_default: msm-key-volp-n-default-state {
652 drive-strength = <8>;
653 bias-pull-up;
658 gpio-line-names =
664 usb_hub_reset_pm: usb-hub-reset-pm-state {
668 input-disable;
669 output-high;
672 usb_hub_reset_pm_device: usb-hub-reset-pm-device-state {
676 output-low;
679 usb_sw_sel_pm: usb-sw-sel-pm-state {
683 power-source = <PM8916_GPIO_VPH>;
684 input-disable;
685 output-high;
688 usb_sw_sel_pm_device: usb-sw-sel-pm-device-state {
692 power-source = <PM8916_GPIO_VPH>;
693 input-disable;
694 output-low;
697 pm8916_gpios_leds: pm8916-gpios-leds-state {
701 output-low;
706 gpio-line-names =
710 "GPIO-F"; /* LS_EXP_GPIO_F, LSEC pin 28 */
712 pinctrl-names = "default";
713 pinctrl-0 = <&ls_exp_gpio_f>;
715 ls_exp_gpio_f: pm8916-mpp4-state {
719 output-low;
720 power-source = <PM8916_MPP_L5>; /* 1.8V */
723 pm8916_mpps_leds: pm8916-mpps-state {
727 output-low;