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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/msm8916-motorola-common.dtsi

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 #include "msm8916-pm8916.dtsi"
  4 #include "msm8916-modem-qdsp6.dtsi"
  5 
  6 #include <dt-bindings/gpio/gpio.h>
  7 #include <dt-bindings/input/input.h>
  8 #include <dt-bindings/interrupt-controller/irq.h>
  9 
 10 / {
 11         aliases {
 12                 mmc0 = &sdhc_1; /* eMMC */
 13                 mmc1 = &sdhc_2; /* SD card */
 14                 serial0 = &blsp_uart1;
 15         };
 16 
 17         chosen {
 18                 stdout-path = "serial0";
 19         };
 20 
 21         gpio-keys {
 22                 compatible = "gpio-keys";
 23 
 24                 pinctrl-0 = <&gpio_keys_default>;
 25                 pinctrl-names = "default";
 26 
 27                 label = "GPIO Buttons";
 28 
 29                 volume-up-button {
 30                         label = "Volume Up";
 31                         gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
 32                         linux,code = <KEY_VOLUMEUP>;
 33                         debounce-interval = <15>;
 34                 };
 35         };
 36 
 37         usb_id: usb-id {
 38                 compatible = "linux,extcon-usb-gpio";
 39                 id-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;
 40                 pinctrl-0 = <&usb_id_default>;
 41                 pinctrl-1 = <&usb_id_sleep>;
 42                 pinctrl-names = "default", "sleep";
 43         };
 44 };
 45 
 46 &blsp_i2c2 {
 47         status = "okay";
 48 
 49         touchscreen: touchscreen@20 {
 50                 compatible = "syna,rmi4-i2c";
 51                 reg = <0x20>;
 52                 #address-cells = <1>;
 53                 #size-cells = <0>;
 54 
 55                 vio-supply = <&pm8916_l6>;
 56 
 57                 syna,startup-delay-ms = <100>;
 58 
 59                 rmi4-f01@1 {
 60                         reg = <1>;
 61                         syna,nosleep-mode = <1>; /* Allow sleeping */
 62                 };
 63 
 64                 rmi4-f11@11 {
 65                         reg = <11>;
 66                         syna,sensor-type = <1>; /* Touchscreen */
 67                 };
 68         };
 69 };
 70 
 71 &blsp_uart1 {
 72         status = "okay";
 73 };
 74 
 75 &mpss_mem {
 76         reg = <0x0 0x86800000 0x0 0x5500000>;
 77 };
 78 
 79 &pm8916_resin {
 80         linux,code = <KEY_VOLUMEDOWN>;
 81         status = "okay";
 82 };
 83 
 84 &pm8916_rpm_regulators {
 85         pm8916_l16: l16 {
 86                 regulator-min-microvolt = <3100000>;
 87                 regulator-max-microvolt = <3300000>;
 88         };
 89 };
 90 
 91 &pm8916_vib {
 92         status = "okay";
 93 };
 94 
 95 &sdhc_1 {
 96         status = "okay";
 97 };
 98 
 99 &sdhc_2 {
100         status = "okay";
101 };
102 
103 &usb {
104         extcon = <&usb_id>, <&usb_id>;
105         status = "okay";
106 };
107 
108 &usb_hs_phy {
109         extcon = <&usb_id>;
110 };
111 
112 &venus {
113         status = "okay";
114 };
115 
116 &venus_mem {
117         status = "okay";
118 };
119 
120 &wcnss {
121         status = "okay";
122 };
123 
124 &wcnss_iris {
125         compatible = "qcom,wcn3620";
126 };
127 
128 &wcnss_mem {
129         status = "okay";
130 };
131 
132 /* CTS/RTX are not used */
133 &blsp_uart1_default {
134         pins = "gpio0", "gpio1";
135 };
136 &blsp_uart1_sleep {
137         pins = "gpio0", "gpio1";
138 };
139 
140 &tlmm {
141         gpio_keys_default: gpio-keys-default-state {
142                 pins = "gpio107";
143                 function = "gpio";
144                 drive-strength = <2>;
145                 bias-pull-up;
146         };
147 
148         usb_id_default: usb-id-default-state {
149                 pins = "gpio91";
150                 function = "gpio";
151                 drive-strength = <8>;
152                 bias-pull-up;
153         };
154 
155         usb_id_sleep: usb-id-sleep-state {
156                 pins = "gpio91";
157                 function = "gpio";
158                 drive-strength = <8>;
159                 bias-disable;
160         };
161 };

~ [ 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