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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/apq8016-sbc.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/qcom/apq8016-sbc.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/qcom/apq8016-sbc.dts (Version linux-5.15.171)


  1 // SPDX-License-Identifier: GPL-2.0-only            1 // SPDX-License-Identifier: GPL-2.0-only
  2 /*                                                  2 /*
  3  * Copyright (c) 2015, The Linux Foundation. A      3  * Copyright (c) 2015, The Linux Foundation. All rights reserved.
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7                                                     7 
  8 #include "msm8916-pm8916.dtsi"                      8 #include "msm8916-pm8916.dtsi"
  9 #include <dt-bindings/gpio/gpio.h>                  9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/input.h>               10 #include <dt-bindings/input/input.h>
 11 #include <dt-bindings/leds/common.h>           << 
 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h     11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
 13 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>     12 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
 14 #include <dt-bindings/sound/apq8016-lpass.h>       13 #include <dt-bindings/sound/apq8016-lpass.h>
 15                                                    14 
 16 / {                                                15 / {
 17         model = "Qualcomm Technologies, Inc. A     16         model = "Qualcomm Technologies, Inc. APQ 8016 SBC";
 18         compatible = "qcom,apq8016-sbc", "qcom     17         compatible = "qcom,apq8016-sbc", "qcom,apq8016";
 19                                                    18 
 20         aliases {                                  19         aliases {
 21                 mmc0 = &sdhc_1; /* eMMC */     !!  20                 serial0 = &blsp1_uart2;
 22                 mmc1 = &sdhc_2; /* SD card */  !!  21                 serial1 = &blsp1_uart1;
 23                 serial0 = &blsp_uart2;         << 
 24                 serial1 = &blsp_uart1;         << 
 25                 usid0 = &pm8916_0;                 22                 usid0 = &pm8916_0;
 26                 i2c0 = &blsp_i2c2;             !!  23                 i2c0    = &blsp_i2c2;
 27                 i2c1 = &blsp_i2c6;             !!  24                 i2c1    = &blsp_i2c6;
 28                 i2c3 = &blsp_i2c4;             !!  25                 i2c3    = &blsp_i2c4;
 29                 spi0 = &blsp_spi5;             !!  26                 spi0    = &blsp_spi5;
 30                 spi1 = &blsp_spi3;             !!  27                 spi1    = &blsp_spi3;
 31         };                                         28         };
 32                                                    29 
 33         chosen {                                   30         chosen {
 34                 stdout-path = "serial0";           31                 stdout-path = "serial0";
 35         };                                         32         };
 36                                                    33 
                                                   >>  34         camera_vdddo_1v8: camera-vdddo-1v8 {
                                                   >>  35                 compatible = "regulator-fixed";
                                                   >>  36                 regulator-name = "camera_vdddo";
                                                   >>  37                 regulator-min-microvolt = <1800000>;
                                                   >>  38                 regulator-max-microvolt = <1800000>;
                                                   >>  39                 regulator-always-on;
                                                   >>  40         };
                                                   >>  41 
                                                   >>  42         camera_vdda_2v8: camera-vdda-2v8 {
                                                   >>  43                 compatible = "regulator-fixed";
                                                   >>  44                 regulator-name = "camera_vdda";
                                                   >>  45                 regulator-min-microvolt = <2800000>;
                                                   >>  46                 regulator-max-microvolt = <2800000>;
                                                   >>  47                 regulator-always-on;
                                                   >>  48         };
                                                   >>  49 
                                                   >>  50         camera_vddd_1v5: camera-vddd-1v5 {
                                                   >>  51                 compatible = "regulator-fixed";
                                                   >>  52                 regulator-name = "camera_vddd";
                                                   >>  53                 regulator-min-microvolt = <1500000>;
                                                   >>  54                 regulator-max-microvolt = <1500000>;
                                                   >>  55                 regulator-always-on;
                                                   >>  56         };
                                                   >>  57 
 37         reserved-memory {                          58         reserved-memory {
 38                 ramoops@bff00000 {                 59                 ramoops@bff00000 {
 39                         compatible = "ramoops"     60                         compatible = "ramoops";
 40                         reg = <0x0 0xbff00000      61                         reg = <0x0 0xbff00000 0x0 0x100000>;
 41                                                    62 
 42                         record-size = <0x20000     63                         record-size = <0x20000>;
 43                         console-size = <0x2000     64                         console-size = <0x20000>;
 44                         ftrace-size = <0x20000     65                         ftrace-size = <0x20000>;
 45                 };                                 66                 };
 46         };                                         67         };
 47                                                    68 
 48         usb2513 {                                  69         usb2513 {
 49                 compatible = "smsc,usb3503";       70                 compatible = "smsc,usb3503";
 50                 reset-gpios = <&pm8916_gpios 3     71                 reset-gpios = <&pm8916_gpios 3 GPIO_ACTIVE_LOW>;
 51                 initial-mode = <1>;                72                 initial-mode = <1>;
 52         };                                         73         };
 53                                                    74 
 54         usb_id: usb-id {                           75         usb_id: usb-id {
 55                 compatible = "linux,extcon-usb     76                 compatible = "linux,extcon-usb-gpio";
 56                 id-gpios = <&tlmm 121 GPIO_ACT !!  77                 id-gpio = <&msmgpio 121 GPIO_ACTIVE_HIGH>;
 57                 pinctrl-names = "default";         78                 pinctrl-names = "default";
 58                 pinctrl-0 = <&usb_id_default>;     79                 pinctrl-0 = <&usb_id_default>;
 59         };                                         80         };
 60                                                    81 
 61         hdmi-out {                                 82         hdmi-out {
 62                 compatible = "hdmi-connector";     83                 compatible = "hdmi-connector";
 63                 type = "a";                        84                 type = "a";
 64                                                    85 
 65                 port {                             86                 port {
 66                         hdmi_con: endpoint {       87                         hdmi_con: endpoint {
 67                                 remote-endpoin     88                                 remote-endpoint = <&adv7533_out>;
 68                         };                         89                         };
 69                 };                                 90                 };
 70         };                                         91         };
 71                                                    92 
 72         gpio-keys {                                93         gpio-keys {
 73                 compatible = "gpio-keys";          94                 compatible = "gpio-keys";
                                                   >>  95                 #address-cells = <1>;
                                                   >>  96                 #size-cells = <0>;
 74                 autorepeat;                        97                 autorepeat;
 75                                                    98 
 76                 pinctrl-names = "default";         99                 pinctrl-names = "default";
 77                 pinctrl-0 = <&msm_key_volp_n_d    100                 pinctrl-0 = <&msm_key_volp_n_default>;
 78                                                   101 
 79                 button {                       !! 102                 button@0 {
 80                         label = "Volume Up";      103                         label = "Volume Up";
 81                         linux,code = <KEY_VOLU    104                         linux,code = <KEY_VOLUMEUP>;
 82                         gpios = <&tlmm 107 GPI !! 105                         gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>;
 83                 };                                106                 };
 84         };                                        107         };
 85                                                   108 
 86         leds {                                    109         leds {
 87                 pinctrl-names = "default";        110                 pinctrl-names = "default";
 88                 pinctrl-0 = <&tlmm_leds>,      !! 111                 pinctrl-0 = <&msmgpio_leds>,
 89                             <&pm8916_gpios_led    112                             <&pm8916_gpios_leds>,
 90                             <&pm8916_mpps_leds    113                             <&pm8916_mpps_leds>;
 91                                                   114 
 92                 compatible = "gpio-leds";         115                 compatible = "gpio-leds";
 93                                                   116 
 94                 led-1 {                        !! 117                 led@1 {
 95                         label = "apq8016-sbc:g    118                         label = "apq8016-sbc:green:user1";
 96                         function = LED_FUNCTIO !! 119                         gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
 97                         color = <LED_COLOR_ID_ << 
 98                         gpios = <&tlmm 21 GPIO << 
 99                         linux,default-trigger     120                         linux,default-trigger = "heartbeat";
100                         default-state = "off";    121                         default-state = "off";
101                 };                                122                 };
102                                                   123 
103                 led-2 {                        !! 124                 led@2 {
104                         label = "apq8016-sbc:g    125                         label = "apq8016-sbc:green:user2";
105                         function = LED_FUNCTIO !! 126                         gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>;
106                         color = <LED_COLOR_ID_ << 
107                         gpios = <&tlmm 120 GPI << 
108                         linux,default-trigger     127                         linux,default-trigger = "mmc0";
109                         default-state = "off";    128                         default-state = "off";
110                 };                                129                 };
111                                                   130 
112                 led-3 {                        !! 131                 led@3 {
113                         label = "apq8016-sbc:g    132                         label = "apq8016-sbc:green:user3";
114                         function = LED_FUNCTIO << 
115                         color = <LED_COLOR_ID_ << 
116                         gpios = <&pm8916_gpios    133                         gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>;
117                         linux,default-trigger     134                         linux,default-trigger = "mmc1";
118                         default-state = "off";    135                         default-state = "off";
119                 };                                136                 };
120                                                   137 
121                 led-4 {                        !! 138                 led@4 {
122                         label = "apq8016-sbc:g    139                         label = "apq8016-sbc:green:user4";
123                         color = <LED_COLOR_ID_ << 
124                         gpios = <&pm8916_gpios    140                         gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
125                         linux,default-trigger     141                         linux,default-trigger = "none";
126                         panic-indicator;          142                         panic-indicator;
127                         default-state = "off";    143                         default-state = "off";
128                 };                                144                 };
129                                                   145 
130                 led-5 {                        !! 146                 led@5 {
131                         label = "apq8016-sbc:y    147                         label = "apq8016-sbc:yellow:wlan";
132                         function = LED_FUNCTIO << 
133                         color = <LED_COLOR_ID_ << 
134                         gpios = <&pm8916_mpps     148                         gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
135                         linux,default-trigger     149                         linux,default-trigger = "phy0tx";
136                         default-state = "off";    150                         default-state = "off";
137                 };                                151                 };
138                                                   152 
139                 led-6 {                        !! 153                 led@6 {
140                         label = "apq8016-sbc:b    154                         label = "apq8016-sbc:blue:bt";
141                         function = LED_FUNCTIO << 
142                         color = <LED_COLOR_ID_ << 
143                         gpios = <&pm8916_mpps     155                         gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
144                         linux,default-trigger     156                         linux,default-trigger = "bluetooth-power";
145                         default-state = "off";    157                         default-state = "off";
146                 };                                158                 };
147         };                                        159         };
148 };                                                160 };
149                                                   161 
                                                   >> 162 &blsp_dma {
                                                   >> 163         status = "okay";
                                                   >> 164 };
                                                   >> 165 
150 &blsp_i2c2 {                                      166 &blsp_i2c2 {
151         /* On Low speed expansion: LS-I2C0 */  !! 167         /* On Low speed expansion */
152         status = "okay";                          168         status = "okay";
                                                   >> 169         label = "LS-I2C0";
153 };                                                170 };
154                                                   171 
155 &blsp_i2c4 {                                      172 &blsp_i2c4 {
156         /* On High speed expansion: HS-I2C2 */ !! 173         /* On High speed expansion */
157         status = "okay";                          174         status = "okay";
                                                   >> 175         label = "HS-I2C2";
158                                                   176 
159         adv_bridge: bridge@39 {                   177         adv_bridge: bridge@39 {
160                 status = "okay";                  178                 status = "okay";
161                                                   179 
162                 compatible = "adi,adv7533";       180                 compatible = "adi,adv7533";
163                 reg = <0x39>;                     181                 reg = <0x39>;
164                                                   182 
165                 interrupt-parent = <&tlmm>;    !! 183                 interrupt-parent = <&msmgpio>;
166                 interrupts = <31 IRQ_TYPE_EDGE    184                 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
167                                                   185 
168                 adi,dsi-lanes = <4>;              186                 adi,dsi-lanes = <4>;
169                 clocks = <&rpmcc RPM_SMD_BB_CL    187                 clocks = <&rpmcc RPM_SMD_BB_CLK2>;
170                 clock-names = "cec";              188                 clock-names = "cec";
171                                                   189 
172                 pd-gpios = <&tlmm 32 GPIO_ACTI !! 190                 pd-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>;
173                                                   191 
174                 avdd-supply = <&pm8916_l6>;       192                 avdd-supply = <&pm8916_l6>;
175                 a2vdd-supply = <&pm8916_l6>;      193                 a2vdd-supply = <&pm8916_l6>;
176                 dvdd-supply = <&pm8916_l6>;       194                 dvdd-supply = <&pm8916_l6>;
177                 pvdd-supply = <&pm8916_l6>;       195                 pvdd-supply = <&pm8916_l6>;
178                 v1p2-supply = <&pm8916_l6>;       196                 v1p2-supply = <&pm8916_l6>;
179                 v3p3-supply = <&pm8916_l17>;      197                 v3p3-supply = <&pm8916_l17>;
180                                                   198 
181                 pinctrl-names = "default","sle    199                 pinctrl-names = "default","sleep";
182                 pinctrl-0 = <&adv7533_int_acti    200                 pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
183                 pinctrl-1 = <&adv7533_int_susp    201                 pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
184                 #sound-dai-cells = <1>;           202                 #sound-dai-cells = <1>;
185                                                   203 
186                 ports {                           204                 ports {
187                         #address-cells = <1>;     205                         #address-cells = <1>;
188                         #size-cells = <0>;        206                         #size-cells = <0>;
189                                                   207 
190                         port@0 {                  208                         port@0 {
191                                 reg = <0>;        209                                 reg = <0>;
192                                 adv7533_in: en    210                                 adv7533_in: endpoint {
193                                         remote !! 211                                         remote-endpoint = <&dsi0_out>;
194                                 };                212                                 };
195                         };                        213                         };
196                                                   214 
197                         port@1 {                  215                         port@1 {
198                                 reg = <1>;        216                                 reg = <1>;
199                                 adv7533_out: e    217                                 adv7533_out: endpoint {
200                                         remote    218                                         remote-endpoint = <&hdmi_con>;
201                                 };                219                                 };
202                         };                        220                         };
203                 };                                221                 };
204         };                                        222         };
205 };                                                223 };
206                                                   224 
207 &blsp_i2c6 {                                      225 &blsp_i2c6 {
208         /* On Low speed expansion: LS-I2C1 */  !! 226         /* On Low speed expansion */
209         status = "okay";                          227         status = "okay";
                                                   >> 228         label = "LS-I2C1";
210 };                                                229 };
211                                                   230 
212 &blsp_spi3 {                                      231 &blsp_spi3 {
213         /* On High speed expansion: HS-SPI1 */ !! 232         /* On High speed expansion */
214         status = "okay";                          233         status = "okay";
                                                   >> 234         label = "HS-SPI1";
215 };                                                235 };
216                                                   236 
217 &blsp_spi5 {                                      237 &blsp_spi5 {
218         /* On Low speed expansion: LS-SPI0 */  !! 238         /* On Low speed expansion */
219         status = "okay";                          239         status = "okay";
                                                   >> 240         label = "LS-SPI0";
220 };                                                241 };
221                                                   242 
222 &blsp_uart1 {                                  !! 243 &blsp1_uart1 {
223         status = "okay";                          244         status = "okay";
224         label = "LS-UART0";                       245         label = "LS-UART0";
225 };                                                246 };
226                                                   247 
227 &blsp_uart2 {                                  !! 248 &blsp1_uart2 {
228         status = "okay";                          249         status = "okay";
229         label = "LS-UART1";                       250         label = "LS-UART1";
230 };                                                251 };
231                                                   252 
232 &camss {                                          253 &camss {
233         status = "okay";                          254         status = "okay";
                                                   >> 255         ports {
                                                   >> 256                 port@0 {
                                                   >> 257                         reg = <0>;
                                                   >> 258                         csiphy0_ep: endpoint {
                                                   >> 259                                 clock-lanes = <1>;
                                                   >> 260                                 data-lanes = <0 2>;
                                                   >> 261                                 remote-endpoint = <&ov5640_ep>;
                                                   >> 262                                 status = "okay";
                                                   >> 263                         };
                                                   >> 264                 };
                                                   >> 265         };
234 };                                                266 };
235                                                   267 
236 &gpu {                                         !! 268 &cci {
237         status = "okay";                          269         status = "okay";
238 };                                                270 };
239                                                   271 
240 &lpass {                                       !! 272 &cci_i2c0 {
241         status = "okay";                       !! 273         camera_rear@3b {
242 };                                             !! 274                 compatible = "ovti,ov5640";
                                                   >> 275                 reg = <0x3b>;
243                                                   276 
244 &lpass_codec {                                 !! 277                 enable-gpios = <&msmgpio 34 GPIO_ACTIVE_HIGH>;
245         status = "okay";                       !! 278                 reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
246 };                                             !! 279                 pinctrl-names = "default";
                                                   >> 280                 pinctrl-0 = <&camera_rear_default>;
247                                                   281 
248 &mba_mem {                                     !! 282                 clocks = <&gcc GCC_CAMSS_MCLK0_CLK>;
249         status = "okay";                       !! 283                 clock-names = "xclk";
250 };                                             !! 284                 clock-frequency = <23880000>;
                                                   >> 285 
                                                   >> 286                 DOVDD-supply = <&camera_vdddo_1v8>;
                                                   >> 287                 AVDD-supply = <&camera_vdda_2v8>;
                                                   >> 288                 DVDD-supply = <&camera_vddd_1v5>;
251                                                   289 
252 &mdss {                                        !! 290                 /* No camera mezzanine by default */
253         status = "okay";                       !! 291                 status = "disabled";
                                                   >> 292 
                                                   >> 293                 port {
                                                   >> 294                         ov5640_ep: endpoint {
                                                   >> 295                                 clock-lanes = <1>;
                                                   >> 296                                 data-lanes = <0 2>;
                                                   >> 297                                 remote-endpoint = <&csiphy0_ep>;
                                                   >> 298                         };
                                                   >> 299                 };
                                                   >> 300         };
254 };                                                301 };
255                                                   302 
256 &mdss_dsi0_out {                               !! 303 &dsi0_out {
257         data-lanes = <0 1 2 3>;                   304         data-lanes = <0 1 2 3>;
258         remote-endpoint = <&adv7533_in>;          305         remote-endpoint = <&adv7533_in>;
259 };                                                306 };
260                                                   307 
261 &mpss {                                        !! 308 &lpass {
262         status = "okay";                          309         status = "okay";
263                                                << 
264         firmware-name = "qcom/apq8016/mba.mbn" << 
265 };                                                310 };
266                                                   311 
267 &mpss_mem {                                    !! 312 &mdss {
268         status = "okay";                          313         status = "okay";
269         reg = <0x0 0x86800000 0x0 0x2b00000>;  << 
270 };                                                314 };
271                                                   315 
272 &pm8916_codec {                                !! 316 &mpss {
273         status = "okay";                          317         status = "okay";
274         qcom,mbhc-vthreshold-low = <75 150 237 !! 318 
275         qcom,mbhc-vthreshold-high = <75 150 23 !! 319         firmware-name = "qcom/apq8016/mba.mbn", "qcom/apq8016/modem.mbn";
276 };                                                320 };
277                                                   321 
278 &pm8916_resin {                                   322 &pm8916_resin {
279         status = "okay";                          323         status = "okay";
280         linux,code = <KEY_VOLUMEDOWN>;            324         linux,code = <KEY_VOLUMEDOWN>;
281 };                                                325 };
282                                                   326 
283 &pm8916_rpm_regulators {                       !! 327 &pronto {
284         /*                                     !! 328         status = "okay";
285          * The 96Boards specification expects  << 
286          * expansion connector that is able to << 
287          * L15/L16 are connected in parallel t << 
288          * must be specified to ensure the reg << 
289          * would only provide 5 mA.            << 
290          */                                    << 
291         pm8916_l15: l15 {                      << 
292                 regulator-min-microvolt = <180 << 
293                 regulator-max-microvolt = <180 << 
294                 regulator-system-load = <50000 << 
295                 regulator-allow-set-load;      << 
296                 regulator-always-on;           << 
297         };                                     << 
298         pm8916_l16: l16 {                      << 
299                 regulator-min-microvolt = <180 << 
300                 regulator-max-microvolt = <180 << 
301                 regulator-system-load = <50000 << 
302                 regulator-allow-set-load;      << 
303                 regulator-always-on;           << 
304         };                                     << 
305                                                   329 
306         pm8916_l17: l17 {                      !! 330         firmware-name = "qcom/apq8016/wcnss.mbn";
307                 regulator-min-microvolt = <330 << 
308                 regulator-max-microvolt = <330 << 
309         };                                     << 
310 };                                                331 };
311                                                   332 
312 &sdhc_1 {                                         333 &sdhc_1 {
313         status = "okay";                          334         status = "okay";
                                                   >> 335 
                                                   >> 336         pinctrl-names = "default", "sleep";
                                                   >> 337         pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
                                                   >> 338         pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
314 };                                                339 };
315                                                   340 
316 &sdhc_2 {                                         341 &sdhc_2 {
317         status = "okay";                          342         status = "okay";
318                                                   343 
319         pinctrl-names = "default", "sleep";       344         pinctrl-names = "default", "sleep";
320         pinctrl-0 = <&sdc2_default &sdc2_cd_de !! 345         pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
321         pinctrl-1 = <&sdc2_sleep &sdc2_cd_defa !! 346         pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
322                                                   347 
323         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; !! 348         cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>;
324 };                                                349 };
325                                                   350 
326 &sound {                                          351 &sound {
327         status = "okay";                          352         status = "okay";
328                                                   353 
329         pinctrl-0 = <&cdc_pdm_default &sec_mi2 !! 354         pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>;
330         pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_ !! 355         pinctrl-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>;
331         pinctrl-names = "default", "sleep";       356         pinctrl-names = "default", "sleep";
332         model = "DB410c";                      !! 357         qcom,model = "DB410c";
333         audio-routing =                        !! 358         qcom,audio-routing =
334                 "AMIC2", "MIC BIAS Internal2",    359                 "AMIC2", "MIC BIAS Internal2",
335                 "AMIC3", "MIC BIAS External1";    360                 "AMIC3", "MIC BIAS External1";
336                                                   361 
337         quaternary-dai-link {                  !! 362         external-dai-link@0 {
338                 link-name = "ADV7533";            363                 link-name = "ADV7533";
339                 cpu {                             364                 cpu {
340                         sound-dai = <&lpass MI    365                         sound-dai = <&lpass MI2S_QUATERNARY>;
341                 };                                366                 };
342                 codec {                           367                 codec {
343                         sound-dai = <&adv_brid    368                         sound-dai = <&adv_bridge 0>;
344                 };                                369                 };
345         };                                        370         };
346                                                   371 
347         primary-dai-link {                     !! 372         internal-codec-playback-dai-link@0 {
348                 link-name = "WCD";                373                 link-name = "WCD";
349                 cpu {                             374                 cpu {
350                         sound-dai = <&lpass MI    375                         sound-dai = <&lpass MI2S_PRIMARY>;
351                 };                                376                 };
352                 codec {                           377                 codec {
353                         sound-dai = <&lpass_co !! 378                         sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
354                 };                                379                 };
355         };                                        380         };
356                                                   381 
357         tertiary-dai-link {                    !! 382         internal-codec-capture-dai-link@0 {
358                 link-name = "WCD-Capture";        383                 link-name = "WCD-Capture";
359                 cpu {                             384                 cpu {
360                         sound-dai = <&lpass MI    385                         sound-dai = <&lpass MI2S_TERTIARY>;
361                 };                                386                 };
362                 codec {                           387                 codec {
363                         sound-dai = <&lpass_co !! 388                         sound-dai = <&lpass_codec 1>, <&wcd_codec 1>;
364                 };                                389                 };
365         };                                        390         };
366 };                                                391 };
367                                                   392 
368 &usb {                                            393 &usb {
369         status = "okay";                          394         status = "okay";
370         extcon = <&usb_id>, <&usb_id>;            395         extcon = <&usb_id>, <&usb_id>;
371                                                   396 
372         pinctrl-names = "default", "device";      397         pinctrl-names = "default", "device";
373         pinctrl-0 = <&usb_sw_sel_pm &usb_hub_r    398         pinctrl-0 = <&usb_sw_sel_pm &usb_hub_reset_pm>;
374         pinctrl-1 = <&usb_sw_sel_pm_device &us    399         pinctrl-1 = <&usb_sw_sel_pm_device &usb_hub_reset_pm_device>;
375 };                                                400 };
376                                                   401 
377 &usb_hs_phy {                                     402 &usb_hs_phy {
378         extcon = <&usb_id>;                       403         extcon = <&usb_id>;
379 };                                                404 };
380                                                   405 
381 &venus {                                       !! 406 &wcd_codec {
382         status = "okay";                       !! 407         clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;
383 };                                             !! 408         clock-names = "mclk";
384                                                !! 409         qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
385 &venus_mem {                                   !! 410         qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
386         status = "okay";                       << 
387 };                                             << 
388                                                << 
389 &wcnss {                                       << 
390         status = "okay";                       << 
391         firmware-name = "qcom/apq8016/wcnss.mb << 
392 };                                                411 };
393                                                   412 
394 &wcnss_ctrl {                                     413 &wcnss_ctrl {
395         firmware-name = "qcom/apq8016/WCNSS_qc    414         firmware-name = "qcom/apq8016/WCNSS_qcom_wlan_nv_sbc.bin";
396 };                                                415 };
397                                                   416 
398 &wcnss_iris {                                  << 
399         compatible = "qcom,wcn3620";           << 
400 };                                             << 
401                                                << 
402 &wcnss_mem {                                   << 
403         status = "okay";                       << 
404 };                                             << 
405                                                << 
406 /* Enable CoreSight */                            417 /* Enable CoreSight */
407 &cti0 { status = "okay"; };                       418 &cti0 { status = "okay"; };
408 &cti1 { status = "okay"; };                       419 &cti1 { status = "okay"; };
409 &cti12 { status = "okay"; };                      420 &cti12 { status = "okay"; };
410 &cti13 { status = "okay"; };                      421 &cti13 { status = "okay"; };
411 &cti14 { status = "okay"; };                      422 &cti14 { status = "okay"; };
412 &cti15 { status = "okay"; };                      423 &cti15 { status = "okay"; };
413 &debug0 { status = "okay"; };                     424 &debug0 { status = "okay"; };
414 &debug1 { status = "okay"; };                     425 &debug1 { status = "okay"; };
415 &debug2 { status = "okay"; };                     426 &debug2 { status = "okay"; };
416 &debug3 { status = "okay"; };                     427 &debug3 { status = "okay"; };
417 &etf { status = "okay"; };                        428 &etf { status = "okay"; };
418 &etm0 { status = "okay"; };                       429 &etm0 { status = "okay"; };
419 &etm1 { status = "okay"; };                       430 &etm1 { status = "okay"; };
420 &etm2 { status = "okay"; };                       431 &etm2 { status = "okay"; };
421 &etm3 { status = "okay"; };                       432 &etm3 { status = "okay"; };
422 &etr { status = "okay"; };                        433 &etr { status = "okay"; };
423 &funnel0 { status = "okay"; };                    434 &funnel0 { status = "okay"; };
424 &funnel1 { status = "okay"; };                    435 &funnel1 { status = "okay"; };
425 &replicator { status = "okay"; };                 436 &replicator { status = "okay"; };
426 &stm { status = "okay"; };                        437 &stm { status = "okay"; };
427 &tpiu { status = "okay"; };                       438 &tpiu { status = "okay"; };
428                                                   439 
                                                   >> 440 &smd_rpm_regulators {
                                                   >> 441         vdd_l1_l2_l3-supply = <&pm8916_s3>;
                                                   >> 442         vdd_l4_l5_l6-supply = <&pm8916_s4>;
                                                   >> 443         vdd_l7-supply = <&pm8916_s4>;
                                                   >> 444 
                                                   >> 445         s3 {
                                                   >> 446                 regulator-min-microvolt = <1250000>;
                                                   >> 447                 regulator-max-microvolt = <1350000>;
                                                   >> 448         };
                                                   >> 449 
                                                   >> 450         s4 {
                                                   >> 451                 regulator-min-microvolt = <1850000>;
                                                   >> 452                 regulator-max-microvolt = <2150000>;
                                                   >> 453 
                                                   >> 454                 regulator-always-on;
                                                   >> 455                 regulator-boot-on;
                                                   >> 456         };
                                                   >> 457 
                                                   >> 458         l1 {
                                                   >> 459                 regulator-min-microvolt = <1225000>;
                                                   >> 460                 regulator-max-microvolt = <1225000>;
                                                   >> 461         };
                                                   >> 462 
                                                   >> 463         l2 {
                                                   >> 464                 regulator-min-microvolt = <1200000>;
                                                   >> 465                 regulator-max-microvolt = <1200000>;
                                                   >> 466         };
                                                   >> 467 
                                                   >> 468         l4 {
                                                   >> 469                 regulator-min-microvolt = <2050000>;
                                                   >> 470                 regulator-max-microvolt = <2050000>;
                                                   >> 471         };
                                                   >> 472 
                                                   >> 473         l5 {
                                                   >> 474                 regulator-min-microvolt = <1800000>;
                                                   >> 475                 regulator-max-microvolt = <1800000>;
                                                   >> 476         };
                                                   >> 477 
                                                   >> 478         l6 {
                                                   >> 479                 regulator-min-microvolt = <1800000>;
                                                   >> 480                 regulator-max-microvolt = <1800000>;
                                                   >> 481         };
                                                   >> 482 
                                                   >> 483         l7 {
                                                   >> 484                 regulator-min-microvolt = <1800000>;
                                                   >> 485                 regulator-max-microvolt = <1800000>;
                                                   >> 486         };
                                                   >> 487 
                                                   >> 488         l8 {
                                                   >> 489                 regulator-min-microvolt = <2900000>;
                                                   >> 490                 regulator-max-microvolt = <2900000>;
                                                   >> 491         };
                                                   >> 492 
                                                   >> 493         l9 {
                                                   >> 494                 regulator-min-microvolt = <3300000>;
                                                   >> 495                 regulator-max-microvolt = <3300000>;
                                                   >> 496         };
                                                   >> 497 
                                                   >> 498         l10 {
                                                   >> 499                 regulator-min-microvolt = <2800000>;
                                                   >> 500                 regulator-max-microvolt = <2800000>;
                                                   >> 501         };
                                                   >> 502 
                                                   >> 503         l11 {
                                                   >> 504                 regulator-min-microvolt = <2950000>;
                                                   >> 505                 regulator-max-microvolt = <2950000>;
                                                   >> 506                 regulator-allow-set-load;
                                                   >> 507                 regulator-system-load = <200000>;
                                                   >> 508         };
                                                   >> 509 
                                                   >> 510         l12 {
                                                   >> 511                 regulator-min-microvolt = <1800000>;
                                                   >> 512                 regulator-max-microvolt = <2950000>;
                                                   >> 513         };
                                                   >> 514 
                                                   >> 515         l13 {
                                                   >> 516                 regulator-min-microvolt = <3075000>;
                                                   >> 517                 regulator-max-microvolt = <3075000>;
                                                   >> 518         };
                                                   >> 519 
                                                   >> 520         l14 {
                                                   >> 521                 regulator-min-microvolt = <1800000>;
                                                   >> 522                 regulator-max-microvolt = <3300000>;
                                                   >> 523         };
                                                   >> 524 
                                                   >> 525         /*
                                                   >> 526          * The 96Boards specification expects a 1.8V power rail on the low-speed
                                                   >> 527          * expansion connector that is able to provide at least 0.18W / 100 mA.
                                                   >> 528          * L15/L16 are connected in parallel to provide 55 mA each. A minimum load
                                                   >> 529          * must be specified to ensure the regulators are not put in LPM where they
                                                   >> 530          * would only provide 5 mA.
                                                   >> 531          */
                                                   >> 532         l15 {
                                                   >> 533                 regulator-min-microvolt = <1800000>;
                                                   >> 534                 regulator-max-microvolt = <1800000>;
                                                   >> 535                 regulator-system-load = <50000>;
                                                   >> 536                 regulator-allow-set-load;
                                                   >> 537                 regulator-always-on;
                                                   >> 538         };
                                                   >> 539 
                                                   >> 540         l16 {
                                                   >> 541                 regulator-min-microvolt = <1800000>;
                                                   >> 542                 regulator-max-microvolt = <1800000>;
                                                   >> 543                 regulator-system-load = <50000>;
                                                   >> 544                 regulator-allow-set-load;
                                                   >> 545                 regulator-always-on;
                                                   >> 546         };
                                                   >> 547 
                                                   >> 548         l17 {
                                                   >> 549                 regulator-min-microvolt = <3300000>;
                                                   >> 550                 regulator-max-microvolt = <3300000>;
                                                   >> 551         };
                                                   >> 552 
                                                   >> 553         l18 {
                                                   >> 554                 regulator-min-microvolt = <2700000>;
                                                   >> 555                 regulator-max-microvolt = <2700000>;
                                                   >> 556         };
                                                   >> 557 };
                                                   >> 558 
429 /*                                                559 /*
430  * 2mA drive strength is not enough when conne    560  * 2mA drive strength is not enough when connecting multiple
431  * I2C devices with different pull up resistor    561  * I2C devices with different pull up resistors.
432  */                                               562  */
433 &blsp_i2c2_default {                           !! 563 &i2c2_default {
434         drive-strength = <16>;                    564         drive-strength = <16>;
435 };                                                565 };
436                                                   566 
437 &blsp_i2c4_default {                           !! 567 &i2c4_default {
438         drive-strength = <16>;                    568         drive-strength = <16>;
439 };                                                569 };
440                                                   570 
441 &blsp_i2c6_default {                           !! 571 &i2c6_default {
442         drive-strength = <16>;                    572         drive-strength = <16>;
443 };                                                573 };
444                                                   574 
445 /*                                                575 /*
446  * GPIO name legend: proper name = the GPIO li    576  * GPIO name legend: proper name = the GPIO line is used as GPIO
447  *         NC = not connected (pin out but not    577  *         NC = not connected (pin out but not routed from the chip to
448  *              anything the board)               578  *              anything the board)
449  *         "[PER]" = pin is muxed for [periphe    579  *         "[PER]" = pin is muxed for [peripheral] (not GPIO)
450  *         LSEC = Low Speed External Connector    580  *         LSEC = Low Speed External Connector
451  *         HSEC = High Speed External Connecto    581  *         HSEC = High Speed External Connector
452  *                                                582  *
453  * Line names are taken from the schematic "Dr    583  * Line names are taken from the schematic "DragonBoard410c"
454  * dated monday, august 31, 2015. Page 5 in pa    584  * dated monday, august 31, 2015. Page 5 in particular.
455  *                                                585  *
456  * For the lines routed to the external connec    586  * For the lines routed to the external connectors the
457  * lines are named after the 96Boards CE Speci    587  * lines are named after the 96Boards CE Specification 1.0,
458  * Appendix "Expansion Connector Signal Descri    588  * Appendix "Expansion Connector Signal Description".
459  *                                                589  *
460  * When the 96Board naming of a line and the s    590  * When the 96Board naming of a line and the schematic name of
461  * the same line are in conflict, the 96Board     591  * the same line are in conflict, the 96Board specification
462  * takes precedence, which means that the exte    592  * takes precedence, which means that the external UART on the
463  * LSEC is named UART0 while the schematic and    593  * LSEC is named UART0 while the schematic and SoC names this
464  * UART3. This is only for the informational l    594  * UART3. This is only for the informational lines i.e. "[FOO]",
465  * the GPIO named lines "GPIO-A" thru "GPIO-L"    595  * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
466  * ones actually used for GPIO.                   596  * ones actually used for GPIO.
467  */                                               597  */
468                                                   598 
469 &tlmm {                                        !! 599 &msmgpio {
470         gpio-line-names =                         600         gpio-line-names =
471                 "[UART0_TX]", /* GPIO_0, LSEC     601                 "[UART0_TX]", /* GPIO_0, LSEC pin 5 */
472                 "[UART0_RX]", /* GPIO_1, LSEC     602                 "[UART0_RX]", /* GPIO_1, LSEC pin 7 */
473                 "[UART0_CTS_N]", /* GPIO_2, LS    603                 "[UART0_CTS_N]", /* GPIO_2, LSEC pin 3 */
474                 "[UART0_RTS_N]", /* GPIO_3, LS    604                 "[UART0_RTS_N]", /* GPIO_3, LSEC pin 9 */
475                 "[UART1_TX]", /* GPIO_4, LSEC     605                 "[UART1_TX]", /* GPIO_4, LSEC pin 11 */
476                 "[UART1_RX]", /* GPIO_5, LSEC     606                 "[UART1_RX]", /* GPIO_5, LSEC pin 13 */
477                 "[I2C0_SDA]", /* GPIO_8, LSEC     607                 "[I2C0_SDA]", /* GPIO_8, LSEC pin 17 */
478                 "[I2C0_SCL]", /* GPIO_7, LSEC     608                 "[I2C0_SCL]", /* GPIO_7, LSEC pin 15 */
479                 "[SPI1_DOUT]", /* SPI1_MOSI, H    609                 "[SPI1_DOUT]", /* SPI1_MOSI, HSEC pin 1 */
480                 "[SPI1_DIN]", /* SPI1_MISO, HS    610                 "[SPI1_DIN]", /* SPI1_MISO, HSEC pin 11 */
481                 "[SPI1_CS]", /* SPI1_CS_N, HSE    611                 "[SPI1_CS]", /* SPI1_CS_N, HSEC pin 7 */
482                 "[SPI1_SCLK]", /* SPI1_CLK, HS    612                 "[SPI1_SCLK]", /* SPI1_CLK, HSEC pin 9 */
483                 "GPIO-B", /* LS_EXP_GPIO_B, LS    613                 "GPIO-B", /* LS_EXP_GPIO_B, LSEC pin 24 */
484                 "GPIO-C", /* LS_EXP_GPIO_C, LS    614                 "GPIO-C", /* LS_EXP_GPIO_C, LSEC pin 25 */
485                 "[I2C3_SDA]", /* HSEC pin 38 *    615                 "[I2C3_SDA]", /* HSEC pin 38 */
486                 "[I2C3_SCL]", /* HSEC pin 36 *    616                 "[I2C3_SCL]", /* HSEC pin 36 */
487                 "[SPI0_MOSI]", /* LSEC pin 14     617                 "[SPI0_MOSI]", /* LSEC pin 14 */
488                 "[SPI0_MISO]", /* LSEC pin 10     618                 "[SPI0_MISO]", /* LSEC pin 10 */
489                 "[SPI0_CS_N]", /* LSEC pin 12     619                 "[SPI0_CS_N]", /* LSEC pin 12 */
490                 "[SPI0_CLK]", /* LSEC pin 8 */    620                 "[SPI0_CLK]", /* LSEC pin 8 */
491                 "HDMI_HPD_N", /* GPIO 20 */       621                 "HDMI_HPD_N", /* GPIO 20 */
492                 "USR_LED_1_CTRL",                 622                 "USR_LED_1_CTRL",
493                 "[I2C1_SDA]", /* GPIO_22, LSEC    623                 "[I2C1_SDA]", /* GPIO_22, LSEC pin 21 */
494                 "[I2C1_SCL]", /* GPIO_23, LSEC    624                 "[I2C1_SCL]", /* GPIO_23, LSEC pin 19 */
495                 "GPIO-G", /* LS_EXP_GPIO_G, LS    625                 "GPIO-G", /* LS_EXP_GPIO_G, LSEC pin 29 */
496                 "GPIO-H", /* LS_EXP_GPIO_H, LS    626                 "GPIO-H", /* LS_EXP_GPIO_H, LSEC pin 30 */
497                 "[CSI0_MCLK]", /* HSEC pin 15     627                 "[CSI0_MCLK]", /* HSEC pin 15 */
498                 "[CSI1_MCLK]", /* HSEC pin 17     628                 "[CSI1_MCLK]", /* HSEC pin 17 */
499                 "GPIO-K", /* LS_EXP_GPIO_K, LS    629                 "GPIO-K", /* LS_EXP_GPIO_K, LSEC pin 33 */
500                 "[I2C2_SDA]", /* HSEC pin 34 *    630                 "[I2C2_SDA]", /* HSEC pin 34 */
501                 "[I2C2_SCL]", /* HSEC pin 32 *    631                 "[I2C2_SCL]", /* HSEC pin 32 */
502                 "DSI2HDMI_INT_N",                 632                 "DSI2HDMI_INT_N",
503                 "DSI_SW_SEL_APQ",                 633                 "DSI_SW_SEL_APQ",
504                 "GPIO-L", /* LS_EXP_GPIO_L, LS    634                 "GPIO-L", /* LS_EXP_GPIO_L, LSEC pin 34 */
505                 "GPIO-J", /* LS_EXP_GPIO_J, LS    635                 "GPIO-J", /* LS_EXP_GPIO_J, LSEC pin 32 */
506                 "GPIO-I", /* LS_EXP_GPIO_I, LS    636                 "GPIO-I", /* LS_EXP_GPIO_I, LSEC pin 31 */
507                 "GPIO-A", /* LS_EXP_GPIO_A, LS    637                 "GPIO-A", /* LS_EXP_GPIO_A, LSEC pin 23 */
508                 "FORCED_USB_BOOT",                638                 "FORCED_USB_BOOT",
509                 "SD_CARD_DET_N",                  639                 "SD_CARD_DET_N",
510                 "[WCSS_BT_SSBI]",                 640                 "[WCSS_BT_SSBI]",
511                 "[WCSS_WLAN_DATA_2]", /* GPIO     641                 "[WCSS_WLAN_DATA_2]", /* GPIO 40 */
512                 "[WCSS_WLAN_DATA_1]",             642                 "[WCSS_WLAN_DATA_1]",
513                 "[WCSS_WLAN_DATA_0]",             643                 "[WCSS_WLAN_DATA_0]",
514                 "[WCSS_WLAN_SET]",                644                 "[WCSS_WLAN_SET]",
515                 "[WCSS_WLAN_CLK]",                645                 "[WCSS_WLAN_CLK]",
516                 "[WCSS_FM_SSBI]",                 646                 "[WCSS_FM_SSBI]",
517                 "[WCSS_FM_SDI]",                  647                 "[WCSS_FM_SDI]",
518                 "[WCSS_BT_DAT_CTL]",              648                 "[WCSS_BT_DAT_CTL]",
519                 "[WCSS_BT_DAT_STB]",              649                 "[WCSS_BT_DAT_STB]",
520                 "NC",                             650                 "NC",
521                 "NC", /* GPIO 50 */               651                 "NC", /* GPIO 50 */
522                 "NC",                             652                 "NC",
523                 "NC",                             653                 "NC",
524                 "NC",                             654                 "NC",
525                 "NC",                             655                 "NC",
526                 "NC",                             656                 "NC",
527                 "NC",                             657                 "NC",
528                 "NC",                             658                 "NC",
529                 "NC",                             659                 "NC",
530                 "NC",                             660                 "NC",
531                 "NC", /* GPIO 60 */               661                 "NC", /* GPIO 60 */
532                 "NC",                             662                 "NC",
533                 "NC",                             663                 "NC",
534                 "[CDC_PDM0_CLK]",                 664                 "[CDC_PDM0_CLK]",
535                 "[CDC_PDM0_SYNC]",                665                 "[CDC_PDM0_SYNC]",
536                 "[CDC_PDM0_TX0]",                 666                 "[CDC_PDM0_TX0]",
537                 "[CDC_PDM0_RX0]",                 667                 "[CDC_PDM0_RX0]",
538                 "[CDC_PDM0_RX1]",                 668                 "[CDC_PDM0_RX1]",
539                 "[CDC_PDM0_RX2]",                 669                 "[CDC_PDM0_RX2]",
540                 "GPIO-D", /* LS_EXP_GPIO_D, LS    670                 "GPIO-D", /* LS_EXP_GPIO_D, LSEC pin 26 */
541                 "NC", /* GPIO 70 */               671                 "NC", /* GPIO 70 */
542                 "NC",                             672                 "NC",
543                 "NC",                             673                 "NC",
544                 "NC",                             674                 "NC",
545                 "NC", /* GPIO 74 */               675                 "NC", /* GPIO 74 */
546                 "NC",                             676                 "NC",
547                 "NC",                             677                 "NC",
548                 "NC",                             678                 "NC",
549                 "NC",                             679                 "NC",
550                 "NC",                             680                 "NC",
551                 "BOOT_CONFIG_0", /* GPIO 80 */    681                 "BOOT_CONFIG_0", /* GPIO 80 */
552                 "BOOT_CONFIG_1",                  682                 "BOOT_CONFIG_1",
553                 "BOOT_CONFIG_2",                  683                 "BOOT_CONFIG_2",
554                 "BOOT_CONFIG_3",                  684                 "BOOT_CONFIG_3",
555                 "NC",                             685                 "NC",
556                 "NC",                             686                 "NC",
557                 "BOOT_CONFIG_5",                  687                 "BOOT_CONFIG_5",
558                 "NC",                             688                 "NC",
559                 "NC",                             689                 "NC",
560                 "NC",                             690                 "NC",
561                 "NC", /* GPIO 90 */               691                 "NC", /* GPIO 90 */
562                 "NC",                             692                 "NC",
563                 "NC",                             693                 "NC",
564                 "NC",                             694                 "NC",
565                 "NC",                             695                 "NC",
566                 "NC",                             696                 "NC",
567                 "NC",                             697                 "NC",
568                 "NC",                             698                 "NC",
569                 "NC",                             699                 "NC",
570                 "NC",                             700                 "NC",
571                 "NC", /* GPIO 100 */              701                 "NC", /* GPIO 100 */
572                 "NC",                             702                 "NC",
573                 "NC",                             703                 "NC",
574                 "NC",                             704                 "NC",
575                 "SSBI_GPS",                       705                 "SSBI_GPS",
576                 "NC",                             706                 "NC",
577                 "NC",                             707                 "NC",
578                 "KEY_VOLP_N",                     708                 "KEY_VOLP_N",
579                 "NC",                             709                 "NC",
580                 "NC",                             710                 "NC",
581                 "[LS_EXP_MI2S_WS]", /* GPIO 11    711                 "[LS_EXP_MI2S_WS]", /* GPIO 110 */
582                 "NC",                             712                 "NC",
583                 "NC",                             713                 "NC",
584                 "[LS_EXP_MI2S_SCK]",              714                 "[LS_EXP_MI2S_SCK]",
585                 "[LS_EXP_MI2S_DATA0]",            715                 "[LS_EXP_MI2S_DATA0]",
586                 "GPIO-E", /* LS_EXP_GPIO_E, LS    716                 "GPIO-E", /* LS_EXP_GPIO_E, LSEC pin 27 */
587                 "NC",                             717                 "NC",
588                 "[DSI2HDMI_MI2S_WS]",             718                 "[DSI2HDMI_MI2S_WS]",
589                 "[DSI2HDMI_MI2S_SCK]",            719                 "[DSI2HDMI_MI2S_SCK]",
590                 "[DSI2HDMI_MI2S_DATA0]",          720                 "[DSI2HDMI_MI2S_DATA0]",
591                 "USR_LED_2_CTRL", /* GPIO 120     721                 "USR_LED_2_CTRL", /* GPIO 120 */
592                 "SB_HS_ID";                       722                 "SB_HS_ID";
593                                                   723 
594         sdc2_cd_default: sdc2-cd-default-state !! 724         msmgpio_leds: msmgpio-leds {
595                 pins = "gpio38";               << 
596                 function = "gpio";             << 
597                 drive-strength = <2>;          << 
598                 bias-disable;                  << 
599         };                                     << 
600                                                << 
601         tlmm_leds: tlmm-leds-state {           << 
602                 pins = "gpio21", "gpio120";       725                 pins = "gpio21", "gpio120";
603                 function = "gpio";                726                 function = "gpio";
604                                                   727 
605                 output-low;                       728                 output-low;
606         };                                        729         };
607                                                   730 
608         usb_id_default: usb-id-default-state { !! 731         usb_id_default: usb-id-default {
609                 pins = "gpio121";                 732                 pins = "gpio121";
610                 function = "gpio";                733                 function = "gpio";
611                                                   734 
612                 drive-strength = <8>;             735                 drive-strength = <8>;
                                                   >> 736                 input-enable;
613                 bias-pull-up;                     737                 bias-pull-up;
614         };                                        738         };
615                                                   739 
616         adv7533_int_active: adv533-int-active- !! 740         adv7533_int_active: adv533-int-active {
617                 pins = "gpio31";                  741                 pins = "gpio31";
618                 function = "gpio";                742                 function = "gpio";
619                                                   743 
620                 drive-strength = <16>;            744                 drive-strength = <16>;
621                 bias-disable;                     745                 bias-disable;
622         };                                        746         };
623                                                   747 
624         adv7533_int_suspend: adv7533-int-suspe !! 748         adv7533_int_suspend: adv7533-int-suspend {
625                 pins = "gpio31";                  749                 pins = "gpio31";
626                 function = "gpio";                750                 function = "gpio";
627                                                   751 
628                 drive-strength = <2>;             752                 drive-strength = <2>;
629                 bias-disable;                     753                 bias-disable;
630         };                                        754         };
631                                                   755 
632         adv7533_switch_active: adv7533-switch- !! 756         adv7533_switch_active: adv7533-switch-active {
633                 pins = "gpio32";                  757                 pins = "gpio32";
634                 function = "gpio";                758                 function = "gpio";
635                                                   759 
636                 drive-strength = <16>;            760                 drive-strength = <16>;
637                 bias-disable;                     761                 bias-disable;
638         };                                        762         };
639                                                   763 
640         adv7533_switch_suspend: adv7533-switch !! 764         adv7533_switch_suspend: adv7533-switch-suspend {
641                 pins = "gpio32";                  765                 pins = "gpio32";
642                 function = "gpio";                766                 function = "gpio";
643                                                   767 
644                 drive-strength = <2>;             768                 drive-strength = <2>;
645                 bias-disable;                     769                 bias-disable;
646         };                                        770         };
647                                                   771 
648         msm_key_volp_n_default: msm-key-volp-n !! 772         msm_key_volp_n_default: msm-key-volp-n-default {
649                 pins = "gpio107";                 773                 pins = "gpio107";
650                 function = "gpio";                774                 function = "gpio";
651                                                   775 
652                 drive-strength = <8>;             776                 drive-strength = <8>;
                                                   >> 777                 input-enable;
653                 bias-pull-up;                     778                 bias-pull-up;
654         };                                        779         };
655 };                                                780 };
656                                                   781 
657 &pm8916_gpios {                                   782 &pm8916_gpios {
658         gpio-line-names =                         783         gpio-line-names =
659                 "USR_LED_3_CTRL",                 784                 "USR_LED_3_CTRL",
660                 "USR_LED_4_CTRL",                 785                 "USR_LED_4_CTRL",
661                 "USB_HUB_RESET_N_PM",             786                 "USB_HUB_RESET_N_PM",
662                 "USB_SW_SEL_PM";                  787                 "USB_SW_SEL_PM";
663                                                   788 
664         usb_hub_reset_pm: usb-hub-reset-pm-sta !! 789         usb_hub_reset_pm: usb-hub-reset-pm {
665                 pins = "gpio3";                   790                 pins = "gpio3";
666                 function = PMIC_GPIO_FUNC_NORM    791                 function = PMIC_GPIO_FUNC_NORMAL;
667                                                   792 
668                 input-disable;                    793                 input-disable;
669                 output-high;                      794                 output-high;
670         };                                        795         };
671                                                   796 
672         usb_hub_reset_pm_device: usb-hub-reset !! 797         usb_hub_reset_pm_device: usb-hub-reset-pm-device {
673                 pins = "gpio3";                   798                 pins = "gpio3";
674                 function = PMIC_GPIO_FUNC_NORM    799                 function = PMIC_GPIO_FUNC_NORMAL;
675                                                   800 
676                 output-low;                       801                 output-low;
677         };                                        802         };
678                                                   803 
679         usb_sw_sel_pm: usb-sw-sel-pm-state {   !! 804         usb_sw_sel_pm: usb-sw-sel-pm {
680                 pins = "gpio4";                   805                 pins = "gpio4";
681                 function = PMIC_GPIO_FUNC_NORM    806                 function = PMIC_GPIO_FUNC_NORMAL;
682                                                   807 
683                 power-source = <PM8916_GPIO_VP    808                 power-source = <PM8916_GPIO_VPH>;
684                 input-disable;                    809                 input-disable;
685                 output-high;                      810                 output-high;
686         };                                        811         };
687                                                   812 
688         usb_sw_sel_pm_device: usb-sw-sel-pm-de !! 813         usb_sw_sel_pm_device: usb-sw-sel-pm-device {
689                 pins = "gpio4";                   814                 pins = "gpio4";
690                 function = PMIC_GPIO_FUNC_NORM    815                 function = PMIC_GPIO_FUNC_NORMAL;
691                                                   816 
692                 power-source = <PM8916_GPIO_VP    817                 power-source = <PM8916_GPIO_VPH>;
693                 input-disable;                    818                 input-disable;
694                 output-low;                       819                 output-low;
695         };                                        820         };
696                                                   821 
697         pm8916_gpios_leds: pm8916-gpios-leds-s !! 822         pm8916_gpios_leds: pm8916-gpios-leds {
698                 pins = "gpio1", "gpio2";          823                 pins = "gpio1", "gpio2";
699                 function = PMIC_GPIO_FUNC_NORM    824                 function = PMIC_GPIO_FUNC_NORMAL;
700                                                   825 
701                 output-low;                       826                 output-low;
702         };                                        827         };
703 };                                                828 };
704                                                   829 
705 &pm8916_mpps {                                    830 &pm8916_mpps {
706         gpio-line-names =                         831         gpio-line-names =
707                 "VDD_PX_BIAS",                    832                 "VDD_PX_BIAS",
708                 "WLAN_LED_CTRL",                  833                 "WLAN_LED_CTRL",
709                 "BT_LED_CTRL",                    834                 "BT_LED_CTRL",
710                 "GPIO-F"; /* LS_EXP_GPIO_F, LS    835                 "GPIO-F"; /* LS_EXP_GPIO_F, LSEC pin 28 */
711                                                   836 
712         pinctrl-names = "default";                837         pinctrl-names = "default";
713         pinctrl-0 = <&ls_exp_gpio_f>;             838         pinctrl-0 = <&ls_exp_gpio_f>;
714                                                   839 
715         ls_exp_gpio_f: pm8916-mpp4-state {        840         ls_exp_gpio_f: pm8916-mpp4-state {
716                 pins = "mpp4";                    841                 pins = "mpp4";
717                 function = "digital";             842                 function = "digital";
718                                                   843 
719                 output-low;                       844                 output-low;
720                 power-source = <PM8916_MPP_L5> !! 845                 power-source = <PM8916_MPP_L5>; // 1.8V
721         };                                        846         };
722                                                   847 
723         pm8916_mpps_leds: pm8916-mpps-state {     848         pm8916_mpps_leds: pm8916-mpps-state {
724                 pins = "mpp2", "mpp3";            849                 pins = "mpp2", "mpp3";
725                 function = "digital";             850                 function = "digital";
726                                                   851 
727                 output-low;                       852                 output-low;
728         };                                        853         };
729 };                                                854 };
                                                      

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