~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/msm8916-lg-c50.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only
  2 
  3 /dts-v1/;
  4 
  5 #include "msm8916-pm8916.dtsi"
  6 
  7 #include <dt-bindings/gpio/gpio.h>
  8 
  9 / {
 10         model = "LG Leon LTE";
 11         compatible = "lg,c50", "qcom,msm8916";
 12         chassis-type = "handset";
 13 
 14         aliases {
 15                 mmc0 = &sdhc_1; /* eMMC */
 16                 mmc1 = &sdhc_2; /* SD card */
 17                 serial0 = &blsp_uart2;
 18         };
 19 
 20         chosen {
 21                 stdout-path = "serial0";
 22         };
 23 
 24         gpio-keys {
 25                 compatible = "gpio-keys";
 26 
 27                 pinctrl-0 = <&gpio_keys_default>;
 28                 pinctrl-names = "default";
 29 
 30                 label = "GPIO Buttons";
 31 
 32                 volume-up-button {
 33                         label = "Volume Up";
 34                         gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
 35                         linux,code = <KEY_VOLUMEUP>;
 36                 };
 37 
 38                 volume-down-button {
 39                         label = "Volume Down";
 40                         gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
 41                         linux,code = <KEY_VOLUMEDOWN>;
 42                 };
 43         };
 44 
 45         reg_sd_vmmc: regulator-sdcard-vmmc {
 46                 compatible = "regulator-fixed";
 47                 regulator-name = "sdcard-vmmc";
 48                 regulator-min-microvolt = <2950000>;
 49                 regulator-max-microvolt = <2950000>;
 50 
 51                 gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>;
 52                 enable-active-high;
 53 
 54                 startup-delay-us = <5000>;
 55 
 56                 pinctrl-0 = <&sd_vmmc_en_default>;
 57                 pinctrl-names = "default";
 58         };
 59 };
 60 
 61 &blsp_uart2 {
 62         status = "okay";
 63 };
 64 
 65 &pm8916_usbin {
 66         status = "okay";
 67 };
 68 
 69 &pm8916_vib {
 70         status = "okay";
 71 };
 72 
 73 &sdhc_1 {
 74         status = "okay";
 75 };
 76 
 77 &sdhc_2 {
 78         vmmc-supply = <&reg_sd_vmmc>;
 79 
 80         pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
 81         pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
 82         pinctrl-names = "default", "sleep";
 83 
 84         cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>;
 85 
 86         status = "okay";
 87 };
 88 
 89 &usb {
 90         dr_mode = "peripheral";
 91         extcon = <&pm8916_usbin>;
 92         status = "okay";
 93 };
 94 
 95 &usb_hs_phy {
 96         extcon = <&pm8916_usbin>;
 97 };
 98 
 99 &venus {
100         status = "okay";
101 };
102 
103 &venus_mem {
104         status = "okay";
105 };
106 
107 &wcnss {
108         status = "okay";
109 };
110 
111 &wcnss_iris {
112         compatible = "qcom,wcn3620";
113 };
114 
115 &wcnss_mem {
116         status = "okay";
117 };
118 
119 &tlmm {
120         gpio_keys_default: gpio-keys-default-state {
121                 pins = "gpio107", "gpio108";
122                 function = "gpio";
123                 drive-strength = <2>;
124                 bias-pull-up;
125         };
126 
127         sd_vmmc_en_default: sd-vmmc-en-default-state {
128                 pins = "gpio60";
129                 function = "gpio";
130                 drive-strength = <2>;
131                 bias-disable;
132         };
133 
134         sdc2_cd_default: sdc2-cd-default-state {
135                 pins = "gpio38";
136                 function = "gpio";
137                 drive-strength = <2>;
138                 bias-pull-down;
139         };
140 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php