Lines Matching +full:sd +full:- +full:cd +full:- +full:pins
1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/sound/apq8016-lpass.h>
16 mmc1 = &sdhc_2; /* SD card */
21 stdout-path = "serial0";
24 reserved-memory {
26 tz-apps@85500000 {
28 no-map;
32 gpio-keys {
33 compatible = "gpio-keys";
35 pinctrl-0 = <&gpio_keys_default>;
36 pinctrl-names = "default";
40 volume-up-button {
46 home-button {
53 gpio-hall-sensor {
54 compatible = "gpio-keys";
56 pinctrl-0 = <&gpio_hall_sensor_default>;
57 pinctrl-names = "default";
61 hall-sensor-switch {
64 linux,input-type = <EV_SW>;
66 linux,can-disable;
74 light-sensor@10 {
83 vdd-supply = <&pm8916_l17>;
84 vddio-supply = <&pm8916_l5>;
86 interrupt-parent = <&tlmm>;
89 st,drdy-int-pin = <1>;
90 mount-matrix = "0", "1", "0",
91 "-1", "0", "0",
94 pinctrl-0 = <&accel_int_default>;
95 pinctrl-names = "default";
103 compatible = "maxim,max77849-battery";
106 maxim,rsns-microohm = <10000>;
107 maxim,over-heat-temp = <600>;
108 maxim,over-volt = <4400>;
110 interrupt-parent = <&tlmm>;
113 pinctrl-0 = <&fuelgauge_int_default>;
114 pinctrl-names = "default";
119 pinctrl-0 = <&blsp_uart2_console_default>;
120 pinctrl-1 = <&blsp_uart2_console_sleep>;
121 pinctrl-names = "default", "sleep";
126 * For some reason the speaker amplifier is connected to the second SD line
128 * device tree, otherwise audio will seemingly play fine on the wrong SD line
138 dai-link@3 {
140 qcom,playback-sd-lines = <1>;
155 regulator-min-microvolt = <2850000>;
156 regulator-max-microvolt = <2850000>;
168 qcom,sd-lines = <1>;
177 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
178 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
179 pinctrl-names = "default", "sleep";
181 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
187 audio-routing =
192 sound_link_backend2: backend2-dai-link {
193 link-name = "Quaternary MI2S";
196 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
199 sound-dai = <&q6routing>;
202 sound-dai = <&speaker_codec>;
239 accel_int_default: accel-int-default-state {
240 pins = "gpio115";
242 drive-strength = <2>;
243 bias-disable;
246 fuelgauge_int_default: fuelgauge-int-default-state {
247 pins = "gpio121";
249 drive-strength = <2>;
250 bias-disable;
253 gpio_keys_default: gpio-keys-default-state {
254 pins = "gpio107", "gpio109";
256 drive-strength = <2>;
257 bias-pull-up;
260 gpio_hall_sensor_default: gpio-hall-sensor-default-state {
261 pins = "gpio52";
263 drive-strength = <2>;
264 bias-disable;
267 sdc2_cd_default: sdc2-cd-default-state {
268 pins = "gpio38";
270 drive-strength = <2>;
271 bias-disable;