Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include "qcom-msm8974pro.dtsi"
0003 #include "qcom-pma8084.dtsi"
0004 #include <dt-bindings/input/input.h>
0005 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
0006 #include <dt-bindings/leds/common.h>
0007 
0008 / {
0009         model = "Samsung Galaxy S5";
0010         compatible = "samsung,klte", "qcom,msm8974";
0011 
0012         aliases {
0013                 serial0 = &blsp1_uart1;
0014                 mmc0 = &sdhc_1; /* SDC1 eMMC slot */
0015                 mmc1 = &sdhc_3; /* SDC2 SD card slot */
0016         };
0017 
0018         chosen {
0019                 stdout-path = "serial0:115200n8";
0020         };
0021 
0022         gpio-keys {
0023                 compatible = "gpio-keys";
0024 
0025                 pinctrl-names = "default";
0026                 pinctrl-0 = <&gpio_keys_pin_a>;
0027 
0028                 key-volume-down {
0029                         label = "volume_down";
0030                         gpios = <&pma8084_gpios 2 GPIO_ACTIVE_LOW>;
0031                         linux,input-type = <1>;
0032                         linux,code = <KEY_VOLUMEDOWN>;
0033                         debounce-interval = <15>;
0034                 };
0035 
0036                 key-home {
0037                         label = "home_key";
0038                         gpios = <&pma8084_gpios 3 GPIO_ACTIVE_LOW>;
0039                         linux,input-type = <1>;
0040                         linux,code = <KEY_HOMEPAGE>;
0041                         wakeup-source;
0042                         debounce-interval = <15>;
0043                 };
0044 
0045                 key-volume-up {
0046                         label = "volume_up";
0047                         gpios = <&pma8084_gpios 5 GPIO_ACTIVE_LOW>;
0048                         linux,input-type = <1>;
0049                         linux,code = <KEY_VOLUMEUP>;
0050                         debounce-interval = <15>;
0051                 };
0052         };
0053 
0054         i2c-gpio-touchkey {
0055                 compatible = "i2c-gpio";
0056                 #address-cells = <1>;
0057                 #size-cells = <0>;
0058                 sda-gpios = <&tlmm 95 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0059                 scl-gpios = <&tlmm 96 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0060                 pinctrl-names = "default";
0061                 pinctrl-0 = <&i2c_touchkey_pins>;
0062 
0063                 touchkey@20 {
0064                         compatible = "cypress,tm2-touchkey";
0065                         reg = <0x20>;
0066 
0067                         interrupt-parent = <&pma8084_gpios>;
0068                         interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
0069                         pinctrl-names = "default";
0070                         pinctrl-0 = <&touchkey_pin>;
0071 
0072                         vcc-supply = <&max77826_ldo15>;
0073                         vdd-supply = <&pma8084_l19>;
0074 
0075                         linux,keycodes = <KEY_APPSELECT KEY_BACK>;
0076                 };
0077         };
0078 
0079         i2c-gpio-led {
0080                 compatible = "i2c-gpio";
0081                 #address-cells = <1>;
0082                 #size-cells = <0>;
0083                 scl-gpios = <&tlmm 121 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0084                 sda-gpios = <&tlmm 120 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0085                 pinctrl-names = "default";
0086                 pinctrl-0 = <&i2c_led_gpioex_pins>;
0087 
0088                 i2c-gpio,delay-us = <2>;
0089 
0090                 gpio_expander: gpio@20 {
0091                         compatible = "nxp,pcal6416";
0092                         reg = <0x20>;
0093 
0094                         gpio-controller;
0095                         #gpio-cells = <2>;
0096 
0097                         vcc-supply = <&pma8084_s4>;
0098 
0099                         pinctrl-names = "default";
0100                         pinctrl-0 = <&gpioex_pin>;
0101 
0102                         reset-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
0103                 };
0104 
0105                 led-controller@30 {
0106                         compatible = "panasonic,an30259a";
0107                         reg = <0x30>;
0108 
0109                         #address-cells = <1>;
0110                         #size-cells = <0>;
0111 
0112                         led@1 {
0113                                 reg = <1>;
0114                                 function = LED_FUNCTION_STATUS;
0115                                 color = <LED_COLOR_ID_RED>;
0116                         };
0117 
0118                         led@2 {
0119                                 reg = <2>;
0120                                 function = LED_FUNCTION_STATUS;
0121                                 color = <LED_COLOR_ID_GREEN>;
0122                         };
0123 
0124                         led@3 {
0125                                 reg = <3>;
0126                                 function = LED_FUNCTION_STATUS;
0127                                 color = <LED_COLOR_ID_BLUE>;
0128                         };
0129                 };
0130         };
0131 
0132         vreg_wlan: wlan-regulator {
0133                 compatible = "regulator-fixed";
0134 
0135                 regulator-name = "wl-reg";
0136                 regulator-min-microvolt = <3300000>;
0137                 regulator-max-microvolt = <3300000>;
0138 
0139                 gpio = <&gpio_expander 8 GPIO_ACTIVE_HIGH>;
0140                 enable-active-high;
0141         };
0142 
0143         vreg_panel: panel-regulator {
0144                 compatible = "regulator-fixed";
0145 
0146                 pinctrl-names = "default";
0147                 pinctrl-0 = <&panel_en_pin>;
0148 
0149                 regulator-name = "panel-vddr-reg";
0150                 regulator-min-microvolt = <1500000>;
0151                 regulator-max-microvolt = <1500000>;
0152 
0153                 gpio = <&pma8084_gpios 14 GPIO_ACTIVE_HIGH>;
0154                 enable-active-high;
0155         };
0156 
0157         /delete-node/ vreg-boost;
0158 };
0159 
0160 &blsp1_i2c2 {
0161         status = "okay";
0162 
0163         touchscreen@20 {
0164                 compatible = "syna,rmi4-i2c";
0165                 reg = <0x20>;
0166 
0167                 interrupt-parent = <&pma8084_gpios>;
0168                 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
0169 
0170                 vdd-supply = <&max77826_ldo13>;
0171                 vio-supply = <&pma8084_lvs2>;
0172 
0173                 pinctrl-names = "default";
0174                 pinctrl-0 = <&touch_pin>;
0175 
0176                 syna,startup-delay-ms = <100>;
0177 
0178                 #address-cells = <1>;
0179                 #size-cells = <0>;
0180 
0181                 rmi4-f01@1 {
0182                         reg = <0x1>;
0183                         syna,nosleep-mode = <1>;
0184                 };
0185 
0186                 rmi4-f12@12 {
0187                         reg = <0x12>;
0188                         syna,sensor-type = <1>;
0189                 };
0190         };
0191 };
0192 
0193 &blsp1_i2c6 {
0194         status = "okay";
0195 
0196         pmic@60 {
0197                 reg = <0x60>;
0198                 compatible = "maxim,max77826";
0199 
0200                 regulators {
0201                         max77826_ldo1: LDO1 {
0202                                 regulator-min-microvolt = <1200000>;
0203                                 regulator-max-microvolt = <1200000>;
0204                         };
0205 
0206                         max77826_ldo2: LDO2 {
0207                                 regulator-min-microvolt = <1000000>;
0208                                 regulator-max-microvolt = <1000000>;
0209                         };
0210 
0211                         max77826_ldo3: LDO3 {
0212                                 regulator-min-microvolt = <1200000>;
0213                                 regulator-max-microvolt = <1200000>;
0214                         };
0215 
0216                         max77826_ldo4: LDO4 {
0217                                 regulator-min-microvolt = <1800000>;
0218                                 regulator-max-microvolt = <1800000>;
0219                         };
0220 
0221                         max77826_ldo5: LDO5 {
0222                                 regulator-min-microvolt = <1800000>;
0223                                 regulator-max-microvolt = <1800000>;
0224                         };
0225 
0226                         max77826_ldo6: LDO6 {
0227                                 regulator-min-microvolt = <1800000>;
0228                                 regulator-max-microvolt = <3300000>;
0229                         };
0230 
0231                         max77826_ldo7: LDO7 {
0232                                 regulator-min-microvolt = <1800000>;
0233                                 regulator-max-microvolt = <1800000>;
0234                         };
0235 
0236                         max77826_ldo8: LDO8 {
0237                                 regulator-min-microvolt = <1800000>;
0238                                 regulator-max-microvolt = <3300000>;
0239                         };
0240 
0241                         max77826_ldo9: LDO9 {
0242                                 regulator-min-microvolt = <1800000>;
0243                                 regulator-max-microvolt = <1800000>;
0244                         };
0245 
0246                         max77826_ldo10: LDO10 {
0247                                 regulator-min-microvolt = <2800000>;
0248                                 regulator-max-microvolt = <2950000>;
0249                         };
0250 
0251                         max77826_ldo11: LDO11 {
0252                                 regulator-min-microvolt = <2700000>;
0253                                 regulator-max-microvolt = <2950000>;
0254                         };
0255 
0256                         max77826_ldo12: LDO12 {
0257                                 regulator-min-microvolt = <2500000>;
0258                                 regulator-max-microvolt = <3300000>;
0259                         };
0260 
0261                         max77826_ldo13: LDO13 {
0262                                 regulator-min-microvolt = <3300000>;
0263                                 regulator-max-microvolt = <3300000>;
0264                         };
0265 
0266                         max77826_ldo14: LDO14 {
0267                                 regulator-min-microvolt = <3300000>;
0268                                 regulator-max-microvolt = <3300000>;
0269                         };
0270 
0271                         max77826_ldo15: LDO15 {
0272                                 regulator-min-microvolt = <1800000>;
0273                                 regulator-max-microvolt = <1800000>;
0274                         };
0275 
0276                         max77826_buck: BUCK {
0277                                 regulator-min-microvolt = <1225000>;
0278                                 regulator-max-microvolt = <1225000>;
0279                         };
0280 
0281                         max77826_buckboost: BUCKBOOST {
0282                                 regulator-min-microvolt = <3400000>;
0283                                 regulator-max-microvolt = <3400000>;
0284                         };
0285                 };
0286         };
0287 };
0288 
0289 &blsp1_uart2 {
0290         status = "okay";
0291 };
0292 
0293 &blsp2_i2c6 {
0294         status = "okay";
0295 
0296         fuelgauge@36 {
0297                 compatible = "maxim,max17048";
0298                 reg = <0x36>;
0299 
0300                 maxim,double-soc;
0301                 maxim,rcomp = /bits/ 8 <0x56>;
0302 
0303                 interrupt-parent = <&pma8084_gpios>;
0304                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
0305 
0306                 pinctrl-names = "default";
0307                 pinctrl-0 = <&fuelgauge_pin>;
0308         };
0309 };
0310 
0311 &blsp2_uart2 {
0312         status = "okay";
0313 
0314         pinctrl-names = "default", "sleep";
0315         pinctrl-0 = <&blsp2_uart2_pins_active>;
0316         pinctrl-1 = <&blsp2_uart2_pins_sleep>;
0317 
0318         bluetooth {
0319                 compatible = "brcm,bcm43540-bt";
0320                 max-speed = <3000000>;
0321                 pinctrl-names = "default";
0322                 pinctrl-0 = <&bt_pins>;
0323                 device-wakeup-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;
0324                 shutdown-gpios = <&gpio_expander 9 GPIO_ACTIVE_HIGH>;
0325                 interrupt-parent = <&tlmm>;
0326                 interrupts = <75 IRQ_TYPE_LEVEL_HIGH>;
0327                 interrupt-names = "host-wakeup";
0328         };
0329 };
0330 
0331 &dsi0 {
0332         status = "okay";
0333 
0334         vdda-supply = <&pma8084_l2>;
0335         vdd-supply = <&pma8084_l22>;
0336         vddio-supply = <&pma8084_l12>;
0337 
0338         panel: panel@0 {
0339                 reg = <0>;
0340                 compatible = "samsung,s6e3fa2";
0341 
0342                 pinctrl-names = "default";
0343                 pinctrl-0 = <&panel_te_pin &panel_rst_pin>;
0344 
0345                 iovdd-supply = <&pma8084_lvs4>;
0346                 vddr-supply = <&vreg_panel>;
0347 
0348                 reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>;
0349                 te-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
0350 
0351                 port {
0352                         panel_in: endpoint {
0353                                 remote-endpoint = <&dsi0_out>;
0354                         };
0355                 };
0356         };
0357 };
0358 
0359 &dsi0_out {
0360         remote-endpoint = <&panel_in>;
0361         data-lanes = <0 1 2 3>;
0362 };
0363 
0364 &dsi0_phy {
0365         status = "okay";
0366 
0367         vddio-supply = <&pma8084_l12>;
0368 };
0369 
0370 &gpu {
0371         status = "okay";
0372 };
0373 
0374 &mdss {
0375         status = "okay";
0376 };
0377 
0378 &otg {
0379         status = "okay";
0380 
0381         phys = <&usb_hs1_phy>;
0382         phy-select = <&tcsr 0xb000 0>;
0383 
0384         hnp-disable;
0385         srp-disable;
0386         adp-disable;
0387 
0388         ulpi {
0389                 phy@a {
0390                         status = "okay";
0391 
0392                         v1p8-supply = <&pma8084_l6>;
0393                         v3p3-supply = <&pma8084_l24>;
0394 
0395                         qcom,init-seq = /bits/ 8 <0x1 0x64>;
0396                 };
0397         };
0398 };
0399 
0400 &pma8084_gpios {
0401         gpio_keys_pin_a: gpio-keys-active-state {
0402                 pins = "gpio2", "gpio3", "gpio5";
0403                 function = "normal";
0404 
0405                 bias-pull-up;
0406                 power-source = <PMA8084_GPIO_S4>;
0407         };
0408 
0409         touchkey_pin: touchkey-int-state {
0410                 pins = "gpio6";
0411                 function = "normal";
0412                 bias-disable;
0413                 input-enable;
0414                 power-source = <PMA8084_GPIO_S4>;
0415         };
0416 
0417         touch_pin: touchscreen-int-state {
0418                 pins = "gpio8";
0419                 function = "normal";
0420                 bias-disable;
0421                 input-enable;
0422                 power-source = <PMA8084_GPIO_S4>;
0423         };
0424 
0425         panel_en_pin: panel-en-state {
0426                 pins = "gpio14";
0427                 function = "normal";
0428                 bias-pull-up;
0429                 power-source = <PMA8084_GPIO_S4>;
0430                 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
0431         };
0432 
0433         wlan_sleep_clk_pin: wlan-sleep-clk-state {
0434                 pins = "gpio16";
0435                 function = "func2";
0436 
0437                 output-high;
0438                 power-source = <PMA8084_GPIO_S4>;
0439                 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
0440         };
0441 
0442         panel_rst_pin: panel-rst-state {
0443                 pins = "gpio17";
0444                 function = "normal";
0445                 bias-disable;
0446                 power-source = <PMA8084_GPIO_S4>;
0447                 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
0448         };
0449 
0450         fuelgauge_pin: fuelgauge-int-state {
0451                 pins = "gpio21";
0452                 function = "normal";
0453                 bias-disable;
0454                 input-enable;
0455                 power-source = <PMA8084_GPIO_S4>;
0456         };
0457 };
0458 
0459 &remoteproc_adsp {
0460         status = "okay";
0461         cx-supply = <&pma8084_s2>;
0462 };
0463 
0464 &remoteproc_mss {
0465         status = "okay";
0466         cx-supply = <&pma8084_s2>;
0467         mss-supply = <&pma8084_s6>;
0468         mx-supply = <&pma8084_s1>;
0469         pll-supply = <&pma8084_l12>;
0470 };
0471 
0472 &rpm_requests {
0473         pma8084-regulators {
0474                 compatible = "qcom,rpm-pma8084-regulators";
0475 
0476                 pma8084_s1: s1 {
0477                         regulator-min-microvolt = <675000>;
0478                         regulator-max-microvolt = <1050000>;
0479                         regulator-always-on;
0480                 };
0481 
0482                 pma8084_s2: s2 {
0483                         regulator-min-microvolt = <500000>;
0484                         regulator-max-microvolt = <1050000>;
0485                 };
0486 
0487                 pma8084_s3: s3 {
0488                         regulator-min-microvolt = <1300000>;
0489                         regulator-max-microvolt = <1300000>;
0490                 };
0491 
0492                 pma8084_s4: s4 {
0493                         regulator-min-microvolt = <1800000>;
0494                         regulator-max-microvolt = <1800000>;
0495                 };
0496 
0497                 pma8084_s5: s5 {
0498                         regulator-min-microvolt = <2150000>;
0499                         regulator-max-microvolt = <2150000>;
0500                 };
0501 
0502                 pma8084_s6: s6 {
0503                         regulator-min-microvolt = <1050000>;
0504                         regulator-max-microvolt = <1050000>;
0505                 };
0506 
0507                 pma8084_l1: l1 {
0508                         regulator-min-microvolt = <1225000>;
0509                         regulator-max-microvolt = <1225000>;
0510                 };
0511 
0512                 pma8084_l2: l2 {
0513                         regulator-min-microvolt = <1200000>;
0514                         regulator-max-microvolt = <1200000>;
0515                 };
0516 
0517                 pma8084_l3: l3 {
0518                         regulator-min-microvolt = <1050000>;
0519                         regulator-max-microvolt = <1200000>;
0520                 };
0521 
0522                 pma8084_l4: l4 {
0523                         regulator-min-microvolt = <1200000>;
0524                         regulator-max-microvolt = <1225000>;
0525                 };
0526 
0527                 pma8084_l5: l5 {
0528                         regulator-min-microvolt = <1800000>;
0529                         regulator-max-microvolt = <1800000>;
0530                 };
0531 
0532                 pma8084_l6: l6 {
0533                         regulator-min-microvolt = <1800000>;
0534                         regulator-max-microvolt = <1800000>;
0535                 };
0536 
0537                 pma8084_l7: l7 {
0538                         regulator-min-microvolt = <1800000>;
0539                         regulator-max-microvolt = <1800000>;
0540                 };
0541 
0542                 pma8084_l8: l8 {
0543                         regulator-min-microvolt = <1800000>;
0544                         regulator-max-microvolt = <1800000>;
0545                 };
0546 
0547                 pma8084_l9: l9 {
0548                         regulator-min-microvolt = <1800000>;
0549                         regulator-max-microvolt = <2950000>;
0550                 };
0551 
0552                 pma8084_l10: l10 {
0553                         regulator-min-microvolt = <1800000>;
0554                         regulator-max-microvolt = <2950000>;
0555                 };
0556 
0557                 pma8084_l11: l11 {
0558                         regulator-min-microvolt = <1300000>;
0559                         regulator-max-microvolt = <1300000>;
0560                 };
0561 
0562                 pma8084_l12: l12 {
0563                         regulator-min-microvolt = <1800000>;
0564                         regulator-max-microvolt = <1800000>;
0565                         regulator-always-on;
0566                 };
0567 
0568                 pma8084_l13: l13 {
0569                         regulator-min-microvolt = <1800000>;
0570                         regulator-max-microvolt = <2950000>;
0571                 };
0572 
0573                 pma8084_l14: l14 {
0574                         regulator-min-microvolt = <1800000>;
0575                         regulator-max-microvolt = <1800000>;
0576                 };
0577 
0578                 pma8084_l15: l15 {
0579                         regulator-min-microvolt = <2050000>;
0580                         regulator-max-microvolt = <2050000>;
0581                 };
0582 
0583                 pma8084_l16: l16 {
0584                         regulator-min-microvolt = <2700000>;
0585                         regulator-max-microvolt = <2700000>;
0586                 };
0587 
0588                 pma8084_l17: l17 {
0589                         regulator-min-microvolt = <2850000>;
0590                         regulator-max-microvolt = <2850000>;
0591                 };
0592 
0593                 pma8084_l18: l18 {
0594                         regulator-min-microvolt = <2850000>;
0595                         regulator-max-microvolt = <2850000>;
0596                 };
0597 
0598                 pma8084_l19: l19 {
0599                         regulator-min-microvolt = <3300000>;
0600                         regulator-max-microvolt = <3300000>;
0601                 };
0602 
0603                 pma8084_l20: l20 {
0604                         regulator-min-microvolt = <2950000>;
0605                         regulator-max-microvolt = <2950000>;
0606                         regulator-system-load = <200000>;
0607                         regulator-allow-set-load;
0608                 };
0609 
0610                 pma8084_l21: l21 {
0611                         regulator-min-microvolt = <2950000>;
0612                         regulator-max-microvolt = <2950000>;
0613                         regulator-system-load = <200000>;
0614                         regulator-allow-set-load;
0615                 };
0616 
0617                 pma8084_l22: l22 {
0618                         regulator-min-microvolt = <3000000>;
0619                         regulator-max-microvolt = <3300000>;
0620                 };
0621 
0622                 pma8084_l23: l23 {
0623                         regulator-min-microvolt = <3000000>;
0624                         regulator-max-microvolt = <3000000>;
0625                 };
0626 
0627                 pma8084_l24: l24 {
0628                         regulator-min-microvolt = <3075000>;
0629                         regulator-max-microvolt = <3075000>;
0630                 };
0631 
0632                 pma8084_l25: l25 {
0633                         regulator-min-microvolt = <2100000>;
0634                         regulator-max-microvolt = <2100000>;
0635                 };
0636 
0637                 pma8084_l26: l26 {
0638                         regulator-min-microvolt = <1800000>;
0639                         regulator-max-microvolt = <2050000>;
0640                 };
0641 
0642                 pma8084_l27: l27 {
0643                         regulator-min-microvolt = <1000000>;
0644                         regulator-max-microvolt = <1225000>;
0645                 };
0646 
0647                 pma8084_lvs1: lvs1 {};
0648                 pma8084_lvs2: lvs2 {};
0649                 pma8084_lvs3: lvs3 {};
0650                 pma8084_lvs4: lvs4 {};
0651 
0652                 pma8084_5vs1: 5vs1 {};
0653         };
0654 };
0655 
0656 &sdhc_1 {
0657         status = "okay";
0658 
0659         vmmc-supply = <&pma8084_l20>;
0660         vqmmc-supply = <&pma8084_s4>;
0661 
0662         pinctrl-names = "default", "sleep";
0663         pinctrl-0 = <&sdc1_on>;
0664         pinctrl-1 = <&sdc1_off>;
0665 };
0666 
0667 &sdhc_2 {
0668         status = "okay";
0669         max-frequency = <100000000>;
0670         vmmc-supply = <&vreg_wlan>;
0671         vqmmc-supply = <&pma8084_s4>;
0672         non-removable;
0673 
0674         pinctrl-names = "default", "sleep";
0675         pinctrl-0 = <&sdc2_on>;
0676         pinctrl-1 = <&sdc2_off>;
0677 
0678         wifi@1 {
0679                 reg = <1>;
0680                 compatible = "brcm,bcm4329-fmac";
0681 
0682                 interrupt-parent = <&tlmm>;
0683                 interrupts = <92 IRQ_TYPE_LEVEL_HIGH>;
0684                 interrupt-names = "host-wake";
0685 
0686                 pinctrl-names = "default";
0687                 pinctrl-0 = <&wlan_sleep_clk_pin &wifi_pin>;
0688         };
0689 };
0690 
0691 &sdhc_3 {
0692         status = "okay";
0693         max-frequency = <100000000>;
0694         vmmc-supply = <&pma8084_l21>;
0695         vqmmc-supply = <&pma8084_l13>;
0696 
0697         /*
0698          * cd-gpio is intentionally disabled. If enabled, an SD card
0699          * present during boot is not initialized correctly. Without
0700          * cd-gpios the driver resorts to polling, so hotplug works.
0701          */
0702         pinctrl-names = "default";
0703         pinctrl-0 = <&sdc3_on /* &sdhc3_cd_pin */>;
0704         /* cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; */
0705 };
0706 
0707 &tlmm {
0708         /* This seems suspicious, but somebody with this device should look into it. */
0709         blsp2_uart2_pins_active: blsp2-uart2-pins-active {
0710                 pins = "gpio45", "gpio46", "gpio47", "gpio48";
0711                 function = "blsp_uart8";
0712                 drive-strength = <8>;
0713                 bias-disable;
0714         };
0715 
0716         blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep {
0717                 pins = "gpio45", "gpio46", "gpio47", "gpio48";
0718                 function = "gpio";
0719                 drive-strength = <2>;
0720                 bias-pull-down;
0721         };
0722 
0723         bt_pins: bt-pins {
0724                 hostwake {
0725                         pins = "gpio75";
0726                         function = "gpio";
0727                         drive-strength = <16>;
0728                         input-enable;
0729                 };
0730 
0731                 devwake {
0732                         pins = "gpio91";
0733                         function = "gpio";
0734                         drive-strength = <2>;
0735                 };
0736         };
0737 
0738         sdc1_on: sdhc1-on {
0739                 clk {
0740                         pins = "sdc1_clk";
0741                         drive-strength = <4>;
0742                         bias-disable;
0743                 };
0744 
0745                 cmd-data {
0746                         pins = "sdc1_cmd", "sdc1_data";
0747                         drive-strength = <4>;
0748                         bias-pull-up;
0749                 };
0750         };
0751 
0752         sdc3_on: sdc3-on {
0753                 pins = "gpio35", "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
0754                 function = "sdc3";
0755                 drive-strength = <8>;
0756                 bias-disable;
0757         };
0758 
0759         sdhc3_cd_pin: sdc3-cd-on {
0760                 pins = "gpio62";
0761                 function = "gpio";
0762 
0763                 drive-strength = <2>;
0764                 bias-disable;
0765         };
0766 
0767         sdc2_on: sdhc2-on {
0768                 clk {
0769                         pins = "sdc2_clk";
0770                         drive-strength = <6>;
0771                         bias-disable;
0772                 };
0773 
0774                 cmd-data {
0775                         pins = "sdc2_cmd", "sdc2_data";
0776                         drive-strength = <6>;
0777                         bias-pull-up;
0778                 };
0779         };
0780 
0781         i2c_touchkey_pins: i2c-touchkey {
0782                 pins = "gpio95", "gpio96";
0783                 function = "gpio";
0784                 input-enable;
0785                 bias-pull-up;
0786         };
0787 
0788         i2c_led_gpioex_pins: i2c-led-gpioex {
0789                 pins = "gpio120", "gpio121";
0790                 function = "gpio";
0791                 input-enable;
0792                 bias-pull-down;
0793         };
0794 
0795         gpioex_pin: gpioex {
0796                 pins = "gpio145";
0797                 function = "gpio";
0798                 bias-pull-up;
0799                 drive-strength = <2>;
0800         };
0801 
0802         wifi_pin: wifi {
0803                 pins = "gpio92";
0804                 function = "gpio";
0805                 input-enable;
0806                 bias-pull-down;
0807         };
0808 
0809         panel_te_pin: panel {
0810                 pins = "gpio12";
0811                 function = "mdp_vsync";
0812                 drive-strength = <2>;
0813                 bias-disable;
0814         };
0815 };