1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
7 #include "qcom-msm8660.dtsi"
10 model = "Qualcomm APQ8060 Dragonboard";
11 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660";
14 serial0 = &gsbi12_serial;
18 stdout-path = "serial0:115200n8";
22 compatible = "simple-bus";
24 /* Main power of the board: 3.7V */
25 vph: regulator-fixed {
26 compatible = "regulator-fixed";
27 regulator-min-microvolt = <3700000>;
28 regulator-max-microvolt = <3700000>;
29 regulator-name = "VPH";
30 regulator-type = "voltage";
35 /* GPIO controlled ethernet power regulator */
36 dragon_veth: xc622a331mrg {
37 compatible = "regulator-fixed";
38 regulator-name = "XC6222A331MR-G";
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
42 gpio = <&pm8058_gpio 40 GPIO_ACTIVE_HIGH>;
44 pinctrl-names = "default";
45 pinctrl-0 = <&dragon_veth_gpios>;
49 /* VDDvario fixed regulator */
50 dragon_vario: nds332p {
51 compatible = "regulator-fixed";
52 regulator-name = "NDS332P";
53 regulator-min-microvolt = <1800000>;
54 regulator-max-microvolt = <1800000>;
55 vin-supply = <&pm8058_s3>;
58 /* This is a levelshifter for SDCC5 */
59 dragon_vio_txb: txb0104rgyr {
60 compatible = "regulator-fixed";
61 regulator-name = "Dragon SDCC levelshifter";
62 vin-supply = <&pm8058_l14>;
68 * Capella CM3605 light and proximity sensor mounted directly
69 * on the sensor board.
72 compatible = "capella,cm3605";
73 vdd-supply = <&pm8058_l14>; // 2.85V
74 aset-gpios = <&pm8058_gpio 35 GPIO_ACTIVE_LOW>;
75 capella,aset-resistance-ohms = <100000>;
76 /* Trig on both edges - getting close or far away */
77 interrupts-extended = <&pm8058_gpio 34 IRQ_TYPE_EDGE_BOTH>;
78 /* MPP05 analog input to the XOADC */
79 io-channels = <&xoadc 0x00 0x05>;
80 io-channel-names = "aout";
81 pinctrl-names = "default";
82 pinctrl-0 = <&dragon_cm3605_gpios>, <&dragon_cm3605_mpps>;
87 /* eMMC pins, all 8 data lines connected */
88 dragon_sdcc1_pins: sdcc1 {
90 pins = "gpio159", "gpio160", "gpio161",
91 "gpio162", "gpio163", "gpio164",
92 "gpio165", "gpio166", "gpio167",
97 pins = "gpio167"; /* SDC1 CLK */
98 drive-strength = <16>;
102 pins = "gpio168"; /* SDC1 CMD */
103 drive-strength = <10>;
108 pins = "gpio159", "gpio160", "gpio161", "gpio162",
109 "gpio163", "gpio164", "gpio165", "gpio166";
110 drive-strength = <10>;
116 * The SDCC3 pins are hardcoded (non-muxable) but need some pin
119 dragon_sdcc3_pins: sdcc3 {
122 drive-strength = <8>;
127 drive-strength = <8>;
132 drive-strength = <8>;
137 /* Second SD card slot pins */
138 dragon_sdcc5_pins: sdcc5 {
140 pins = "gpio95", "gpio96", "gpio97",
141 "gpio98", "gpio99", "gpio100";
145 pins = "gpio97"; /* SDC5 CLK */
146 drive-strength = <16>;
150 pins = "gpio95"; /* SDC5 CMD */
151 drive-strength = <10>;
156 pins = "gpio96", "gpio98", "gpio99", "gpio100";
157 drive-strength = <10>;
162 dragon_gsbi3_i2c_pins: gsbi3_i2c {
164 pins = "gpio43", "gpio44";
168 pins = "gpio43", "gpio44";
169 drive-strength = <8>;
170 /* These have external pull-up 2.2kOhm to 1.8V */
175 dragon_gsbi8_i2c_pins: gsbi8_i2c {
177 pins = "gpio64", "gpio65";
181 pins = "gpio64", "gpio65";
182 drive-strength = <16>;
183 /* These have external pull-up 2.2kOhm to 1.8V */
188 dragon_gsbi12_i2c_pins: gsbi12_i2c {
190 pins = "gpio115", "gpio116";
194 pins = "gpio115", "gpio116";
195 drive-strength = <16>;
196 /* These have external pull-up 4.7kOhm to 1.8V */
201 /* Primary serial port uart 0 pins */
202 dragon_gsbi12_serial_pins: gsbi12_serial {
204 pins = "gpio117", "gpio118";
209 drive-strength = <8>;
214 drive-strength = <2>;
219 dragon_ebi2_pins: ebi2 {
221 * Pins used by EBI2 on the Dragonboard, actually only
222 * CS2 is used by a real peripheral. CS0 is just
223 * routed to a test point.
227 /* "gpio39", CS1A_N this is not good to mux */
228 "gpio40", /* CS2A_N */
229 "gpio134"; /* CS0_N testpoint TP29 */
234 /* EBI2_ADDR_7 downto EBI2_ADDR_0 address bus */
235 "gpio123", "gpio124", "gpio125", "gpio126",
236 "gpio127", "gpio128", "gpio129", "gpio130",
237 /* EBI2_DATA_15 downto EBI2_DATA_0 data bus */
238 "gpio135", "gpio136", "gpio137", "gpio138",
239 "gpio139", "gpio140", "gpio141", "gpio142",
240 "gpio143", "gpio144", "gpio145", "gpio146",
241 "gpio147", "gpio148", "gpio149", "gpio150",
242 "gpio151", /* EBI2_OE_N */
243 "gpio153", /* EBI2_ADV */
244 "gpio157"; /* EBI2_WE_N */
249 /* Interrupt line for the KXSD9 accelerometer */
250 dragon_kxsd9_gpios: kxsd9 {
252 pins = "gpio57"; /* IRQ line */
257 dragon_tma340_gpios: tma340 {
259 /* RESET line, TS_ATTN, WAKE_CTP */
262 drive-strength = <6>;
266 pins = "gpio61"; /* IRQ line */
268 drive-strength = <2>;
278 MATRIX_KEY(0, 0, KEY_MENU)
279 MATRIX_KEY(0, 2, KEY_1)
280 MATRIX_KEY(0, 3, KEY_4)
281 MATRIX_KEY(0, 4, KEY_7)
282 MATRIX_KEY(1, 0, KEY_UP)
283 MATRIX_KEY(1, 1, KEY_LEFT)
284 MATRIX_KEY(1, 2, KEY_DOWN)
285 MATRIX_KEY(1, 3, KEY_5)
286 MATRIX_KEY(1, 3, KEY_8)
287 MATRIX_KEY(2, 0, KEY_HOME)
288 MATRIX_KEY(2, 1, KEY_REPLY)
289 MATRIX_KEY(2, 2, KEY_2)
290 MATRIX_KEY(2, 3, KEY_6)
291 MATRIX_KEY(3, 0, KEY_VOLUMEUP)
292 MATRIX_KEY(3, 1, KEY_RIGHT)
293 MATRIX_KEY(3, 2, KEY_3)
294 MATRIX_KEY(3, 3, KEY_9)
295 MATRIX_KEY(3, 4, KEY_SWITCHVIDEOMODE)
296 MATRIX_KEY(4, 0, KEY_VOLUMEDOWN)
297 MATRIX_KEY(4, 1, KEY_BACK)
298 MATRIX_KEY(4, 2, KEY_CAMERA)
299 MATRIX_KEY(4, 3, KEY_KBDILLUMTOGGLE)
301 keypad,num-rows = <6>;
302 keypad,num-columns = <5>;
306 dragon_ethernet_gpios: ethernet-state {
312 power-source = <PM8058_GPIO_S3>;
315 dragon_bmp085_gpios: bmp085-state {
321 power-source = <PM8058_GPIO_S3>;
324 dragon_mpu3050_gpios: mpu3050-state {
330 power-source = <PM8058_GPIO_S3>;
333 dragon_sdcc3_gpios: sdcc3-state {
339 power-source = <PM8058_GPIO_S3>;
342 dragon_sdcc5_gpios: sdcc5-state {
348 qcom,pull-up-strength = <PMIC_GPIO_PULL_UP_30>;
349 power-source = <PM8058_GPIO_S3>;
352 dragon_ak8975_gpios: ak8975-state {
358 power-source = <PM8058_GPIO_S3>;
361 dragon_cm3605_gpios: cm3605-state {
362 /* Pin 34 connected to the proxy IRQ */
368 power-source = <PM8058_GPIO_S3>;
370 /* Pin 35 connected to ASET */
376 power-source = <PM8058_GPIO_S3>;
379 dragon_veth_gpios: veth-state {
390 dragon_cm3605_mpps: cm3605-mpps-state {
396 /* Let's use channel 5 */
397 qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>;
398 power-source = <PM8058_GPIO_S3>;
404 /* Reference voltage 2.2 V */
405 xoadc-ref-supply = <&pm8058_l18>;
407 /* Board-specific channels */
409 /* Connected to AOUT of ALS sensor */
413 /* Connected to test point TP43 */
417 /* Connected to battery thermistor */
421 /* Connected to battery ID detector */
425 /* Connected to XO thermistor */
432 * The keypad LED @0x48 is routed to
433 * the sensor board where it is
434 * connected to an infrared LED
435 * SFH4650 (60mW, @850nm) next to the
436 * ambient light and proximity sensor
437 * Capella Microsystems CM3605.
439 compatible = "qcom,pm8058-keypad-led";
441 label = "pm8058:infrared:proximitysensor";
442 default-state = "off";
443 linux,default-trigger = "cm3605";
446 compatible = "qcom,pm8058-led";
448 label = "pm8058:red";
449 color = <LED_COLOR_ID_RED>;
450 default-state = "off";
454 * This is actually green too on my
455 * board, but documented as yellow.
457 compatible = "qcom,pm8058-led";
459 label = "pm8058:yellow";
460 color = <LED_COLOR_ID_YELLOW>;
461 default-state = "off";
462 linux,default-trigger = "mmc0";
465 compatible = "qcom,pm8058-led";
467 label = "pm8058:green";
468 function = LED_FUNCTION_HEARTBEAT;
469 color = <LED_COLOR_ID_GREEN>;
470 default-state = "on";
471 linux,default-trigger = "heartbeat";
477 qcom,mode = <GSBI_PROT_I2C>;
480 gsbi3_i2c: i2c@16280000 {
481 pinctrl-names = "default";
482 pinctrl-0 = <&dragon_gsbi3_i2c_pins>;
486 compatible = "cypress,cy8ctma340";
488 /* Certainly we can do at least 400 kHz */
489 clock-frequency = <400000>;
490 /* IRQ on GPIO61 called /CTP_INT */
491 interrupt-parent = <&tlmm>;
492 interrupts = <61 IRQ_TYPE_EDGE_FALLING>;
494 * The I2C bus is using a PCA9306 level translator from L16A
495 * to L2B so these two voltages are needed and L16A is
496 * kind of the IO voltage, however L16Aisn't really fed to
497 * the TMA340, which relies entirely on L2B (PM8901 L2).
499 vcpin-supply = <&pm8058_l16>;
500 vdd-supply = <&pm8901_l2>;
501 /* GPIO58, called WAKE_CTP */
502 reset-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
503 touchscreen-size-x = <480>;
504 touchscreen-size-y = <800>;
505 active-interval-ms = <0>;
506 touch-timeout-ms = <255>;
507 lowpower-interval-ms = <10>;
508 bootloader-key = /bits/ 8 <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07>;
509 pinctrl-names = "default";
510 pinctrl-0 = <&dragon_tma340_gpios>;
517 qcom,mode = <GSBI_PROT_I2C>;
521 pinctrl-names = "default";
522 pinctrl-0 = <&dragon_gsbi8_i2c_pins>;
525 /* A 16KiB Platform ID EEPROM on the CPU carrier board */
526 compatible = "atmel,24c128";
528 vcc-supply = <&pm8058_s3>;
532 /* This Woolfson Micro device has an unrouted interrupt line */
533 compatible = "wlf,wm8903";
536 AVDD-supply = <&pm8058_l16>;
537 CPVDD-supply = <&pm8058_l16>;
538 DBVDD-supply = <&pm8058_s3>;
539 DCVDD-supply = <&pm8058_l0>;
545 micdet-delay = <100>;
546 gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
553 qcom,mode = <GSBI_PROT_I2C_UART>;
557 pinctrl-names = "default";
558 pinctrl-0 = <&dragon_gsbi12_serial_pins>;
563 pinctrl-names = "default";
564 pinctrl-0 = <&dragon_gsbi12_i2c_pins>;
567 compatible = "asahi-kasei,ak8975";
569 interrupt-parent = <&pm8058_gpio>;
570 interrupts = <33 IRQ_TYPE_EDGE_RISING>;
571 pinctrl-names = "default";
572 pinctrl-0 = <&dragon_ak8975_gpios>;
573 vid-supply = <&pm8058_lvs0>; // 1.8V
574 vdd-supply = <&pm8058_l14>; // 2.85V
577 compatible = "bosch,bmp085";
579 interrupt-parent = <&pm8058_gpio>;
580 interrupts = <16 IRQ_TYPE_EDGE_RISING>;
581 reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>;
582 pinctrl-names = "default";
583 pinctrl-0 = <&dragon_bmp085_gpios>;
584 vddd-supply = <&pm8058_lvs0>; // 1.8V
585 vdda-supply = <&pm8058_l14>; // 2.85V
588 compatible = "invensense,mpu3050";
591 * GPIO17 is pulled high by a 10k
592 * resistor to VLOGIC so needs to be
593 * active low/falling edge.
595 interrupts-extended = <&pm8058_gpio 17 IRQ_TYPE_EDGE_FALLING>;
596 pinctrl-names = "default";
597 pinctrl-0 = <&dragon_mpu3050_gpios>;
598 vlogic-supply = <&pm8058_lvs0>; // 1.8V
599 vdd-supply = <&pm8058_l14>; // 2.85V
602 * The MPU-3050 acts as a hub for the
606 #address-cells = <1>;
610 compatible = "kionix,kxsd9";
612 interrupt-parent = <&tlmm>;
613 interrupts = <57 IRQ_TYPE_EDGE_FALLING>;
614 pinctrl-names = "default";
615 pinctrl-0 = <&dragon_kxsd9_gpios>;
616 iovdd-supply = <&pm8058_lvs0>; // 1.8V
617 vdd-supply = <&pm8058_l14>; // 2.85V
624 external-bus@1a100000 {
625 /* The EBI2 will instantiate first, then populate its children */
627 pinctrl-names = "default";
628 pinctrl-0 = <&dragon_ebi2_pins>;
631 * An on-board SMSC LAN9221 chip for "debug ethernet",
632 * which is actually just an ordinary ethernet on the
633 * EBI2. This has a 25MHz chrystal next to it, so no
634 * clocking is needed.
637 compatible = "smsc,lan9221", "smsc,lan9115";
640 * The second interrupt is the PME interrupt
641 * for network wakeup, connected to the TLMM.
643 interrupts-extended = <&pm8058_gpio 7 IRQ_TYPE_EDGE_FALLING>,
644 <&tlmm 29 IRQ_TYPE_EDGE_RISING>;
645 reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
646 vdd33a-supply = <&dragon_veth>;
647 vddvario-supply = <&dragon_vario>;
648 pinctrl-names = "default";
649 pinctrl-0 = <&dragon_ethernet_gpios>;
652 smsc,force-external-phy;
656 * SLOW chipselect config
657 * Delay 9 cycles (140ns@64MHz) between SMSC
658 * LAN9221 Ethernet controller reads and writes
661 qcom,xmem-recovery-cycles = <0>;
662 qcom,xmem-write-hold-cycles = <3>;
663 qcom,xmem-write-delta-cycles = <31>;
664 qcom,xmem-read-delta-cycles = <28>;
665 qcom,xmem-write-wait-cycles = <9>;
666 qcom,xmem-read-wait-cycles = <9>;
672 * Set up of the PMIC RPM regulators for this board
673 * PM8901 supplies "preliminary regulators" whatever
677 vdd_l0-supply = <&pm8901_s4>;
678 vdd_l1-supply = <&vph>;
679 vdd_l2-supply = <&vph>;
680 vdd_l3-supply = <&vph>;
681 vdd_l4-supply = <&vph>;
682 vdd_l5-supply = <&vph>;
683 vdd_l6-supply = <&vph>;
684 /* vdd_s0-supply, vdd_s1-supply: SAW regulators */
685 vdd_s2-supply = <&vph>;
686 vdd_s3-supply = <&vph>;
687 vdd_s4-supply = <&vph>;
688 lvs0_in-supply = <&pm8058_s3>;
689 lvs1_in-supply = <&pm8901_s4>;
690 lvs2_in-supply = <&pm8058_l0>;
691 lvs3_in-supply = <&pm8058_s2>;
692 mvs_in-supply = <&pm8058_s3>;
695 regulator-min-microvolt = <1200000>;
696 regulator-max-microvolt = <1200000>;
700 regulator-min-microvolt = <3300000>;
701 regulator-max-microvolt = <3300000>;
705 /* TMA340 requires strictly 3.3V */
706 regulator-min-microvolt = <3300000>;
707 regulator-max-microvolt = <3300000>;
711 regulator-min-microvolt = <3300000>;
712 regulator-max-microvolt = <3300000>;
716 regulator-min-microvolt = <2600000>;
717 regulator-max-microvolt = <2600000>;
721 regulator-min-microvolt = <2850000>;
722 regulator-max-microvolt = <2850000>;
726 regulator-min-microvolt = <2200000>;
727 regulator-max-microvolt = <2200000>;
731 /* s0 and s1 are SAW regulators controlled over SPM */
733 regulator-min-microvolt = <1300000>;
734 regulator-max-microvolt = <1300000>;
735 qcom,switch-mode-frequency = <1600000>;
739 regulator-min-microvolt = <1100000>;
740 regulator-max-microvolt = <1100000>;
741 qcom,switch-mode-frequency = <1600000>;
745 regulator-min-microvolt = <1225000>;
746 regulator-max-microvolt = <1225000>;
747 qcom,switch-mode-frequency = <1600000>;
751 /* LVS0 thru 3 and mvs are just switches */
763 vdd_l0_l1_lvs-supply = <&pm8058_s3>;
764 vdd_l2_l11_l12-supply = <&vph>;
765 vdd_l3_l4_l5-supply = <&vph>;
766 vdd_l6_l7-supply = <&vph>;
767 vdd_l8-supply = <&vph>;
768 vdd_l9-supply = <&vph>;
769 vdd_l10-supply = <&vph>;
770 vdd_l13_l16-supply = <&pm8058_s4>;
771 vdd_l14_l15-supply = <&vph>;
772 vdd_l17_l18-supply = <&vph>;
773 vdd_l19_l20-supply = <&vph>;
774 vdd_l21-supply = <&pm8058_s3>;
775 vdd_l22-supply = <&pm8058_s3>;
776 vdd_l23_l24_l25-supply = <&pm8058_s3>;
777 vdd_s0-supply = <&vph>;
778 vdd_s1-supply = <&vph>;
779 vdd_s2-supply = <&vph>;
780 vdd_s3-supply = <&vph>;
781 vdd_s4-supply = <&vph>;
782 vdd_ncp-supply = <&vph>;
785 regulator-min-microvolt = <1200000>;
786 regulator-max-microvolt = <1200000>;
790 regulator-min-microvolt = <1200000>;
791 regulator-max-microvolt = <1200000>;
795 regulator-min-microvolt = <1800000>;
796 regulator-max-microvolt = <2600000>;
800 regulator-min-microvolt = <1800000>;
801 regulator-max-microvolt = <1800000>;
805 regulator-min-microvolt = <2850000>;
806 regulator-max-microvolt = <2850000>;
810 regulator-min-microvolt = <2850000>;
811 regulator-max-microvolt = <2850000>;
815 regulator-min-microvolt = <3000000>;
816 regulator-max-microvolt = <3600000>;
820 regulator-min-microvolt = <1800000>;
821 regulator-max-microvolt = <1800000>;
825 regulator-min-microvolt = <2900000>;
826 regulator-max-microvolt = <3050000>;
830 regulator-min-microvolt = <1800000>;
831 regulator-max-microvolt = <1800000>;
835 regulator-min-microvolt = <2600000>;
836 regulator-max-microvolt = <2600000>;
840 regulator-min-microvolt = <1500000>;
841 regulator-max-microvolt = <1500000>;
845 regulator-min-microvolt = <2900000>;
846 regulator-max-microvolt = <2900000>;
850 regulator-min-microvolt = <2050000>;
851 regulator-max-microvolt = <2050000>;
855 regulator-min-microvolt = <2850000>;
856 regulator-max-microvolt = <2850000>;
859 regulator-min-microvolt = <2850000>;
860 regulator-max-microvolt = <2850000>;
864 regulator-min-microvolt = <1800000>;
865 regulator-max-microvolt = <1800000>;
870 // 1.5V according to schematic
871 regulator-min-microvolt = <2600000>;
872 regulator-max-microvolt = <2600000>;
876 regulator-min-microvolt = <2200000>;
877 regulator-max-microvolt = <2200000>;
881 regulator-min-microvolt = <2500000>;
882 regulator-max-microvolt = <2500000>;
886 regulator-min-microvolt = <1800000>;
887 regulator-max-microvolt = <1800000>;
891 // 1.1 V according to schematic
892 regulator-min-microvolt = <1200000>;
893 regulator-max-microvolt = <1200000>;
898 // 1.2 V according to schematic
899 regulator-min-microvolt = <1150000>;
900 regulator-max-microvolt = <1150000>;
905 regulator-min-microvolt = <1200000>;
906 regulator-max-microvolt = <1200000>;
911 regulator-min-microvolt = <1200000>;
912 regulator-max-microvolt = <1200000>;
916 regulator-min-microvolt = <1200000>;
917 regulator-max-microvolt = <1200000>;
922 // regulator-min-microvolt = <500000>;
923 // regulator-max-microvolt = <1325000>;
924 regulator-min-microvolt = <1100000>;
925 regulator-max-microvolt = <1100000>;
926 qcom,switch-mode-frequency = <1600000>;
930 // regulator-min-microvolt = <500000>;
931 // regulator-max-microvolt = <1250000>;
932 regulator-min-microvolt = <1100000>;
933 regulator-max-microvolt = <1100000>;
934 qcom,switch-mode-frequency = <1600000>;
938 // 1.3 V according to schematic
939 regulator-min-microvolt = <1200000>;
940 regulator-max-microvolt = <1400000>;
941 qcom,switch-mode-frequency = <1600000>;
945 regulator-min-microvolt = <1800000>;
946 regulator-max-microvolt = <1800000>;
947 qcom,switch-mode-frequency = <1600000>;
952 regulator-min-microvolt = <2200000>;
953 regulator-max-microvolt = <2200000>;
954 qcom,switch-mode-frequency = <1600000>;
959 /* LVS0 and LVS1 are just switches */
968 regulator-min-microvolt = <1800000>;
969 regulator-max-microvolt = <1800000>;
970 qcom,switch-mode-frequency = <1600000>;
975 /* Internal 3.69 GiB eMMC */
978 pinctrl-names = "default";
979 pinctrl-0 = <&dragon_sdcc1_pins>;
980 vmmc-supply = <&pm8901_l5>;
981 vqmmc-supply = <&pm8901_lvs0>;
984 /* External micro SD card, directly connected, pulled up to 2.85 V */
987 /* Enable SSBI GPIO 22 as input, use for card detect */
988 pinctrl-names = "default";
989 pinctrl-0 = <&dragon_sdcc3_pins>, <&dragon_sdcc3_gpios>;
990 cd-gpios = <&pm8058_gpio 22 GPIO_ACTIVE_LOW>;
991 wp-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
992 vmmc-supply = <&pm8058_l14>;
996 * Second external micro SD card, using two TXB104RGYR levelshifters
997 * to lift from 1.8 V to 2.85 V
1001 /* Enable SSBI GPIO 26 as input, use for card detect */
1002 pinctrl-names = "default";
1003 pinctrl-0 = <&dragon_sdcc5_pins>, <&dragon_sdcc5_gpios>;
1004 cd-gpios = <&pm8058_gpio 26 GPIO_ACTIVE_LOW>;
1005 wp-gpios = <&tlmm 106 GPIO_ACTIVE_HIGH>;
1006 vmmc-supply = <&pm8058_l14>;
1007 vqmmc-supply = <&dragon_vio_txb>;