~ [ 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.17.15)


  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>;   << 
176                 dvdd-supply = <&pm8916_l6>;    << 
177                 pvdd-supply = <&pm8916_l6>;    << 
178                 v1p2-supply = <&pm8916_l6>;       193                 v1p2-supply = <&pm8916_l6>;
179                 v3p3-supply = <&pm8916_l17>;      194                 v3p3-supply = <&pm8916_l17>;
180                                                   195 
181                 pinctrl-names = "default","sle    196                 pinctrl-names = "default","sleep";
182                 pinctrl-0 = <&adv7533_int_acti    197                 pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
183                 pinctrl-1 = <&adv7533_int_susp    198                 pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
184                 #sound-dai-cells = <1>;           199                 #sound-dai-cells = <1>;
185                                                   200 
186                 ports {                           201                 ports {
187                         #address-cells = <1>;     202                         #address-cells = <1>;
188                         #size-cells = <0>;        203                         #size-cells = <0>;
189                                                   204 
190                         port@0 {                  205                         port@0 {
191                                 reg = <0>;        206                                 reg = <0>;
192                                 adv7533_in: en    207                                 adv7533_in: endpoint {
193                                         remote !! 208                                         remote-endpoint = <&dsi0_out>;
194                                 };                209                                 };
195                         };                        210                         };
196                                                   211 
197                         port@1 {                  212                         port@1 {
198                                 reg = <1>;        213                                 reg = <1>;
199                                 adv7533_out: e    214                                 adv7533_out: endpoint {
200                                         remote    215                                         remote-endpoint = <&hdmi_con>;
201                                 };                216                                 };
202                         };                        217                         };
203                 };                                218                 };
204         };                                        219         };
205 };                                                220 };
206                                                   221 
207 &blsp_i2c6 {                                      222 &blsp_i2c6 {
208         /* On Low speed expansion: LS-I2C1 */  !! 223         /* On Low speed expansion */
209         status = "okay";                          224         status = "okay";
                                                   >> 225         label = "LS-I2C1";
210 };                                                226 };
211                                                   227 
212 &blsp_spi3 {                                      228 &blsp_spi3 {
213         /* On High speed expansion: HS-SPI1 */ !! 229         /* On High speed expansion */
214         status = "okay";                          230         status = "okay";
                                                   >> 231         label = "HS-SPI1";
215 };                                                232 };
216                                                   233 
217 &blsp_spi5 {                                      234 &blsp_spi5 {
218         /* On Low speed expansion: LS-SPI0 */  !! 235         /* On Low speed expansion */
219         status = "okay";                          236         status = "okay";
                                                   >> 237         label = "LS-SPI0";
220 };                                                238 };
221                                                   239 
222 &blsp_uart1 {                                  !! 240 &blsp1_uart1 {
223         status = "okay";                          241         status = "okay";
224         label = "LS-UART0";                       242         label = "LS-UART0";
225 };                                                243 };
226                                                   244 
227 &blsp_uart2 {                                  !! 245 &blsp1_uart2 {
228         status = "okay";                          246         status = "okay";
229         label = "LS-UART1";                       247         label = "LS-UART1";
230 };                                                248 };
231                                                   249 
232 &camss {                                          250 &camss {
233         status = "okay";                          251         status = "okay";
                                                   >> 252         ports {
                                                   >> 253                 port@0 {
                                                   >> 254                         reg = <0>;
                                                   >> 255                         csiphy0_ep: endpoint {
                                                   >> 256                                 clock-lanes = <1>;
                                                   >> 257                                 data-lanes = <0 2>;
                                                   >> 258                                 remote-endpoint = <&ov5640_ep>;
                                                   >> 259                                 status = "okay";
                                                   >> 260                         };
                                                   >> 261                 };
                                                   >> 262         };
234 };                                                263 };
235                                                   264 
236 &gpu {                                         !! 265 &cci {
237         status = "okay";                          266         status = "okay";
238 };                                                267 };
239                                                   268 
240 &lpass {                                       !! 269 &cci_i2c0 {
241         status = "okay";                       !! 270         camera_rear@3b {
242 };                                             !! 271                 compatible = "ovti,ov5640";
                                                   >> 272                 reg = <0x3b>;
243                                                   273 
244 &lpass_codec {                                 !! 274                 enable-gpios = <&msmgpio 34 GPIO_ACTIVE_HIGH>;
245         status = "okay";                       !! 275                 reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
246 };                                             !! 276                 pinctrl-names = "default";
                                                   >> 277                 pinctrl-0 = <&camera_rear_default>;
247                                                   278 
248 &mba_mem {                                     !! 279                 clocks = <&gcc GCC_CAMSS_MCLK0_CLK>;
249         status = "okay";                       !! 280                 clock-names = "xclk";
250 };                                             !! 281                 clock-frequency = <23880000>;
                                                   >> 282 
                                                   >> 283                 vdddo-supply = <&camera_vdddo_1v8>;
                                                   >> 284                 vdda-supply = <&camera_vdda_2v8>;
                                                   >> 285                 vddd-supply = <&camera_vddd_1v5>;
251                                                   286 
252 &mdss {                                        !! 287                 /* No camera mezzanine by default */
253         status = "okay";                       !! 288                 status = "disabled";
                                                   >> 289 
                                                   >> 290                 port {
                                                   >> 291                         ov5640_ep: endpoint {
                                                   >> 292                                 clock-lanes = <1>;
                                                   >> 293                                 data-lanes = <0 2>;
                                                   >> 294                                 remote-endpoint = <&csiphy0_ep>;
                                                   >> 295                         };
                                                   >> 296                 };
                                                   >> 297         };
254 };                                                298 };
255                                                   299 
256 &mdss_dsi0_out {                               !! 300 &dsi0_out {
257         data-lanes = <0 1 2 3>;                   301         data-lanes = <0 1 2 3>;
258         remote-endpoint = <&adv7533_in>;          302         remote-endpoint = <&adv7533_in>;
259 };                                                303 };
260                                                   304 
261 &mpss {                                        !! 305 &lpass {
262         status = "okay";                          306         status = "okay";
263                                                << 
264         firmware-name = "qcom/apq8016/mba.mbn" << 
265 };                                                307 };
266                                                   308 
267 &mpss_mem {                                    !! 309 &mdss {
268         status = "okay";                          310         status = "okay";
269         reg = <0x0 0x86800000 0x0 0x2b00000>;  << 
270 };                                                311 };
271                                                   312 
272 &pm8916_codec {                                !! 313 &mpss {
273         status = "okay";                          314         status = "okay";
274         qcom,mbhc-vthreshold-low = <75 150 237 !! 315 
275         qcom,mbhc-vthreshold-high = <75 150 23 !! 316         firmware-name = "qcom/apq8016/mba.mbn", "qcom/apq8016/modem.mbn";
276 };                                                317 };
277                                                   318 
278 &pm8916_resin {                                   319 &pm8916_resin {
279         status = "okay";                          320         status = "okay";
280         linux,code = <KEY_VOLUMEDOWN>;            321         linux,code = <KEY_VOLUMEDOWN>;
281 };                                                322 };
282                                                   323 
283 &pm8916_rpm_regulators {                       !! 324 &pronto {
284         /*                                     !! 325         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                                                   326 
306         pm8916_l17: l17 {                      !! 327         firmware-name = "qcom/apq8016/wcnss.mbn";
307                 regulator-min-microvolt = <330 << 
308                 regulator-max-microvolt = <330 << 
309         };                                     << 
310 };                                                328 };
311                                                   329 
312 &sdhc_1 {                                         330 &sdhc_1 {
313         status = "okay";                          331         status = "okay";
                                                   >> 332 
                                                   >> 333         pinctrl-names = "default", "sleep";
                                                   >> 334         pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
                                                   >> 335         pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
314 };                                                336 };
315                                                   337 
316 &sdhc_2 {                                         338 &sdhc_2 {
317         status = "okay";                          339         status = "okay";
318                                                   340 
319         pinctrl-names = "default", "sleep";       341         pinctrl-names = "default", "sleep";
320         pinctrl-0 = <&sdc2_default &sdc2_cd_de !! 342         pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
321         pinctrl-1 = <&sdc2_sleep &sdc2_cd_defa !! 343         pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
322                                                   344 
323         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; !! 345         cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>;
324 };                                                346 };
325                                                   347 
326 &sound {                                          348 &sound {
327         status = "okay";                          349         status = "okay";
328                                                   350 
329         pinctrl-0 = <&cdc_pdm_default &sec_mi2 !! 351         pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>;
330         pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_ !! 352         pinctrl-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>;
331         pinctrl-names = "default", "sleep";       353         pinctrl-names = "default", "sleep";
332         model = "DB410c";                      !! 354         qcom,model = "DB410c";
333         audio-routing =                        !! 355         qcom,audio-routing =
334                 "AMIC2", "MIC BIAS Internal2",    356                 "AMIC2", "MIC BIAS Internal2",
335                 "AMIC3", "MIC BIAS External1";    357                 "AMIC3", "MIC BIAS External1";
336                                                   358 
337         quaternary-dai-link {                  !! 359         external-dai-link@0 {
338                 link-name = "ADV7533";            360                 link-name = "ADV7533";
339                 cpu {                             361                 cpu {
340                         sound-dai = <&lpass MI    362                         sound-dai = <&lpass MI2S_QUATERNARY>;
341                 };                                363                 };
342                 codec {                           364                 codec {
343                         sound-dai = <&adv_brid    365                         sound-dai = <&adv_bridge 0>;
344                 };                                366                 };
345         };                                        367         };
346                                                   368 
347         primary-dai-link {                     !! 369         internal-codec-playback-dai-link@0 {
348                 link-name = "WCD";                370                 link-name = "WCD";
349                 cpu {                             371                 cpu {
350                         sound-dai = <&lpass MI    372                         sound-dai = <&lpass MI2S_PRIMARY>;
351                 };                                373                 };
352                 codec {                           374                 codec {
353                         sound-dai = <&lpass_co !! 375                         sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
354                 };                                376                 };
355         };                                        377         };
356                                                   378 
357         tertiary-dai-link {                    !! 379         internal-codec-capture-dai-link@0 {
358                 link-name = "WCD-Capture";        380                 link-name = "WCD-Capture";
359                 cpu {                             381                 cpu {
360                         sound-dai = <&lpass MI    382                         sound-dai = <&lpass MI2S_TERTIARY>;
361                 };                                383                 };
362                 codec {                           384                 codec {
363                         sound-dai = <&lpass_co !! 385                         sound-dai = <&lpass_codec 1>, <&wcd_codec 1>;
364                 };                                386                 };
365         };                                        387         };
366 };                                                388 };
367                                                   389 
368 &usb {                                            390 &usb {
369         status = "okay";                          391         status = "okay";
370         extcon = <&usb_id>, <&usb_id>;            392         extcon = <&usb_id>, <&usb_id>;
371                                                   393 
372         pinctrl-names = "default", "device";      394         pinctrl-names = "default", "device";
373         pinctrl-0 = <&usb_sw_sel_pm &usb_hub_r    395         pinctrl-0 = <&usb_sw_sel_pm &usb_hub_reset_pm>;
374         pinctrl-1 = <&usb_sw_sel_pm_device &us    396         pinctrl-1 = <&usb_sw_sel_pm_device &usb_hub_reset_pm_device>;
375 };                                                397 };
376                                                   398 
377 &usb_hs_phy {                                     399 &usb_hs_phy {
378         extcon = <&usb_id>;                       400         extcon = <&usb_id>;
379 };                                                401 };
380                                                   402 
381 &venus {                                       !! 403 &wcd_codec {
382         status = "okay";                       !! 404         clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;
383 };                                             !! 405         clock-names = "mclk";
384                                                !! 406         qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
385 &venus_mem {                                   !! 407         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 };                                                408 };
393                                                   409 
394 &wcnss_ctrl {                                     410 &wcnss_ctrl {
395         firmware-name = "qcom/apq8016/WCNSS_qc    411         firmware-name = "qcom/apq8016/WCNSS_qcom_wlan_nv_sbc.bin";
396 };                                                412 };
397                                                   413 
398 &wcnss_iris {                                  << 
399         compatible = "qcom,wcn3620";           << 
400 };                                             << 
401                                                << 
402 &wcnss_mem {                                   << 
403         status = "okay";                       << 
404 };                                             << 
405                                                << 
406 /* Enable CoreSight */                            414 /* Enable CoreSight */
407 &cti0 { status = "okay"; };                       415 &cti0 { status = "okay"; };
408 &cti1 { status = "okay"; };                       416 &cti1 { status = "okay"; };
409 &cti12 { status = "okay"; };                      417 &cti12 { status = "okay"; };
410 &cti13 { status = "okay"; };                      418 &cti13 { status = "okay"; };
411 &cti14 { status = "okay"; };                      419 &cti14 { status = "okay"; };
412 &cti15 { status = "okay"; };                      420 &cti15 { status = "okay"; };
413 &debug0 { status = "okay"; };                     421 &debug0 { status = "okay"; };
414 &debug1 { status = "okay"; };                     422 &debug1 { status = "okay"; };
415 &debug2 { status = "okay"; };                     423 &debug2 { status = "okay"; };
416 &debug3 { status = "okay"; };                     424 &debug3 { status = "okay"; };
417 &etf { status = "okay"; };                        425 &etf { status = "okay"; };
418 &etm0 { status = "okay"; };                       426 &etm0 { status = "okay"; };
419 &etm1 { status = "okay"; };                       427 &etm1 { status = "okay"; };
420 &etm2 { status = "okay"; };                       428 &etm2 { status = "okay"; };
421 &etm3 { status = "okay"; };                       429 &etm3 { status = "okay"; };
422 &etr { status = "okay"; };                        430 &etr { status = "okay"; };
423 &funnel0 { status = "okay"; };                    431 &funnel0 { status = "okay"; };
424 &funnel1 { status = "okay"; };                    432 &funnel1 { status = "okay"; };
425 &replicator { status = "okay"; };                 433 &replicator { status = "okay"; };
426 &stm { status = "okay"; };                        434 &stm { status = "okay"; };
427 &tpiu { status = "okay"; };                       435 &tpiu { status = "okay"; };
428                                                   436 
                                                   >> 437 &smd_rpm_regulators {
                                                   >> 438         vdd_l1_l2_l3-supply = <&pm8916_s3>;
                                                   >> 439         vdd_l4_l5_l6-supply = <&pm8916_s4>;
                                                   >> 440         vdd_l7-supply = <&pm8916_s4>;
                                                   >> 441 
                                                   >> 442         s3 {
                                                   >> 443                 regulator-min-microvolt = <375000>;
                                                   >> 444                 regulator-max-microvolt = <1562000>;
                                                   >> 445         };
                                                   >> 446 
                                                   >> 447         s4 {
                                                   >> 448                 regulator-min-microvolt = <1800000>;
                                                   >> 449                 regulator-max-microvolt = <1800000>;
                                                   >> 450 
                                                   >> 451                 regulator-always-on;
                                                   >> 452                 regulator-boot-on;
                                                   >> 453         };
                                                   >> 454 
                                                   >> 455         l1 {
                                                   >> 456                 regulator-min-microvolt = <375000>;
                                                   >> 457                 regulator-max-microvolt = <1525000>;
                                                   >> 458         };
                                                   >> 459 
                                                   >> 460         l2 {
                                                   >> 461                 regulator-min-microvolt = <1200000>;
                                                   >> 462                 regulator-max-microvolt = <1200000>;
                                                   >> 463         };
                                                   >> 464 
                                                   >> 465         l4 {
                                                   >> 466                 regulator-min-microvolt = <1750000>;
                                                   >> 467                 regulator-max-microvolt = <3337000>;
                                                   >> 468         };
                                                   >> 469 
                                                   >> 470         l5 {
                                                   >> 471                 regulator-min-microvolt = <1750000>;
                                                   >> 472                 regulator-max-microvolt = <3337000>;
                                                   >> 473         };
                                                   >> 474 
                                                   >> 475         l6 {
                                                   >> 476                 regulator-min-microvolt = <1800000>;
                                                   >> 477                 regulator-max-microvolt = <1800000>;
                                                   >> 478         };
                                                   >> 479 
                                                   >> 480         l7 {
                                                   >> 481                 regulator-min-microvolt = <1750000>;
                                                   >> 482                 regulator-max-microvolt = <3337000>;
                                                   >> 483         };
                                                   >> 484 
                                                   >> 485         l8 {
                                                   >> 486                 regulator-min-microvolt = <1750000>;
                                                   >> 487                 regulator-max-microvolt = <3337000>;
                                                   >> 488         };
                                                   >> 489 
                                                   >> 490         l9 {
                                                   >> 491                 regulator-min-microvolt = <1750000>;
                                                   >> 492                 regulator-max-microvolt = <3337000>;
                                                   >> 493         };
                                                   >> 494 
                                                   >> 495         l10 {
                                                   >> 496                 regulator-min-microvolt = <1750000>;
                                                   >> 497                 regulator-max-microvolt = <3337000>;
                                                   >> 498         };
                                                   >> 499 
                                                   >> 500         l11 {
                                                   >> 501                 regulator-min-microvolt = <1750000>;
                                                   >> 502                 regulator-max-microvolt = <3337000>;
                                                   >> 503                 regulator-allow-set-load;
                                                   >> 504                 regulator-system-load = <200000>;
                                                   >> 505         };
                                                   >> 506 
                                                   >> 507         l12 {
                                                   >> 508                 regulator-min-microvolt = <1750000>;
                                                   >> 509                 regulator-max-microvolt = <3337000>;
                                                   >> 510         };
                                                   >> 511 
                                                   >> 512         l13 {
                                                   >> 513                 regulator-min-microvolt = <1750000>;
                                                   >> 514                 regulator-max-microvolt = <3337000>;
                                                   >> 515         };
                                                   >> 516 
                                                   >> 517         l14 {
                                                   >> 518                 regulator-min-microvolt = <1750000>;
                                                   >> 519                 regulator-max-microvolt = <3337000>;
                                                   >> 520         };
                                                   >> 521 
                                                   >> 522         /**
                                                   >> 523          * 1.8v required on LS expansion
                                                   >> 524          * for mezzanine boards
                                                   >> 525          */
                                                   >> 526         l15 {
                                                   >> 527                 regulator-min-microvolt = <1750000>;
                                                   >> 528                 regulator-max-microvolt = <3337000>;
                                                   >> 529                 regulator-always-on;
                                                   >> 530         };
                                                   >> 531 
                                                   >> 532         l16 {
                                                   >> 533                 regulator-min-microvolt = <1750000>;
                                                   >> 534                 regulator-max-microvolt = <3337000>;
                                                   >> 535         };
                                                   >> 536 
                                                   >> 537         l17 {
                                                   >> 538                 regulator-min-microvolt = <3300000>;
                                                   >> 539                 regulator-max-microvolt = <3300000>;
                                                   >> 540         };
                                                   >> 541 
                                                   >> 542         l18 {
                                                   >> 543                 regulator-min-microvolt = <1750000>;
                                                   >> 544                 regulator-max-microvolt = <3337000>;
                                                   >> 545         };
                                                   >> 546 };
                                                   >> 547 
429 /*                                                548 /*
430  * 2mA drive strength is not enough when conne    549  * 2mA drive strength is not enough when connecting multiple
431  * I2C devices with different pull up resistor    550  * I2C devices with different pull up resistors.
432  */                                               551  */
433 &blsp_i2c2_default {                           !! 552 &i2c2_default {
434         drive-strength = <16>;                    553         drive-strength = <16>;
435 };                                                554 };
436                                                   555 
437 &blsp_i2c4_default {                           !! 556 &i2c4_default {
438         drive-strength = <16>;                    557         drive-strength = <16>;
439 };                                                558 };
440                                                   559 
441 &blsp_i2c6_default {                           !! 560 &i2c6_default {
442         drive-strength = <16>;                    561         drive-strength = <16>;
443 };                                                562 };
444                                                   563 
445 /*                                                564 /*
446  * GPIO name legend: proper name = the GPIO li    565  * GPIO name legend: proper name = the GPIO line is used as GPIO
447  *         NC = not connected (pin out but not    566  *         NC = not connected (pin out but not routed from the chip to
448  *              anything the board)               567  *              anything the board)
449  *         "[PER]" = pin is muxed for [periphe    568  *         "[PER]" = pin is muxed for [peripheral] (not GPIO)
450  *         LSEC = Low Speed External Connector    569  *         LSEC = Low Speed External Connector
451  *         HSEC = High Speed External Connecto    570  *         HSEC = High Speed External Connector
452  *                                                571  *
453  * Line names are taken from the schematic "Dr    572  * Line names are taken from the schematic "DragonBoard410c"
454  * dated monday, august 31, 2015. Page 5 in pa    573  * dated monday, august 31, 2015. Page 5 in particular.
455  *                                                574  *
456  * For the lines routed to the external connec    575  * For the lines routed to the external connectors the
457  * lines are named after the 96Boards CE Speci    576  * lines are named after the 96Boards CE Specification 1.0,
458  * Appendix "Expansion Connector Signal Descri    577  * Appendix "Expansion Connector Signal Description".
459  *                                                578  *
460  * When the 96Board naming of a line and the s    579  * When the 96Board naming of a line and the schematic name of
461  * the same line are in conflict, the 96Board     580  * the same line are in conflict, the 96Board specification
462  * takes precedence, which means that the exte    581  * takes precedence, which means that the external UART on the
463  * LSEC is named UART0 while the schematic and    582  * LSEC is named UART0 while the schematic and SoC names this
464  * UART3. This is only for the informational l    583  * UART3. This is only for the informational lines i.e. "[FOO]",
465  * the GPIO named lines "GPIO-A" thru "GPIO-L"    584  * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
466  * ones actually used for GPIO.                   585  * ones actually used for GPIO.
467  */                                               586  */
468                                                   587 
469 &tlmm {                                        !! 588 &msmgpio {
470         gpio-line-names =                         589         gpio-line-names =
471                 "[UART0_TX]", /* GPIO_0, LSEC     590                 "[UART0_TX]", /* GPIO_0, LSEC pin 5 */
472                 "[UART0_RX]", /* GPIO_1, LSEC     591                 "[UART0_RX]", /* GPIO_1, LSEC pin 7 */
473                 "[UART0_CTS_N]", /* GPIO_2, LS    592                 "[UART0_CTS_N]", /* GPIO_2, LSEC pin 3 */
474                 "[UART0_RTS_N]", /* GPIO_3, LS    593                 "[UART0_RTS_N]", /* GPIO_3, LSEC pin 9 */
475                 "[UART1_TX]", /* GPIO_4, LSEC     594                 "[UART1_TX]", /* GPIO_4, LSEC pin 11 */
476                 "[UART1_RX]", /* GPIO_5, LSEC     595                 "[UART1_RX]", /* GPIO_5, LSEC pin 13 */
477                 "[I2C0_SDA]", /* GPIO_8, LSEC     596                 "[I2C0_SDA]", /* GPIO_8, LSEC pin 17 */
478                 "[I2C0_SCL]", /* GPIO_7, LSEC     597                 "[I2C0_SCL]", /* GPIO_7, LSEC pin 15 */
479                 "[SPI1_DOUT]", /* SPI1_MOSI, H    598                 "[SPI1_DOUT]", /* SPI1_MOSI, HSEC pin 1 */
480                 "[SPI1_DIN]", /* SPI1_MISO, HS    599                 "[SPI1_DIN]", /* SPI1_MISO, HSEC pin 11 */
481                 "[SPI1_CS]", /* SPI1_CS_N, HSE    600                 "[SPI1_CS]", /* SPI1_CS_N, HSEC pin 7 */
482                 "[SPI1_SCLK]", /* SPI1_CLK, HS    601                 "[SPI1_SCLK]", /* SPI1_CLK, HSEC pin 9 */
483                 "GPIO-B", /* LS_EXP_GPIO_B, LS    602                 "GPIO-B", /* LS_EXP_GPIO_B, LSEC pin 24 */
484                 "GPIO-C", /* LS_EXP_GPIO_C, LS    603                 "GPIO-C", /* LS_EXP_GPIO_C, LSEC pin 25 */
485                 "[I2C3_SDA]", /* HSEC pin 38 *    604                 "[I2C3_SDA]", /* HSEC pin 38 */
486                 "[I2C3_SCL]", /* HSEC pin 36 *    605                 "[I2C3_SCL]", /* HSEC pin 36 */
487                 "[SPI0_MOSI]", /* LSEC pin 14     606                 "[SPI0_MOSI]", /* LSEC pin 14 */
488                 "[SPI0_MISO]", /* LSEC pin 10     607                 "[SPI0_MISO]", /* LSEC pin 10 */
489                 "[SPI0_CS_N]", /* LSEC pin 12     608                 "[SPI0_CS_N]", /* LSEC pin 12 */
490                 "[SPI0_CLK]", /* LSEC pin 8 */    609                 "[SPI0_CLK]", /* LSEC pin 8 */
491                 "HDMI_HPD_N", /* GPIO 20 */       610                 "HDMI_HPD_N", /* GPIO 20 */
492                 "USR_LED_1_CTRL",                 611                 "USR_LED_1_CTRL",
493                 "[I2C1_SDA]", /* GPIO_22, LSEC    612                 "[I2C1_SDA]", /* GPIO_22, LSEC pin 21 */
494                 "[I2C1_SCL]", /* GPIO_23, LSEC    613                 "[I2C1_SCL]", /* GPIO_23, LSEC pin 19 */
495                 "GPIO-G", /* LS_EXP_GPIO_G, LS    614                 "GPIO-G", /* LS_EXP_GPIO_G, LSEC pin 29 */
496                 "GPIO-H", /* LS_EXP_GPIO_H, LS    615                 "GPIO-H", /* LS_EXP_GPIO_H, LSEC pin 30 */
497                 "[CSI0_MCLK]", /* HSEC pin 15     616                 "[CSI0_MCLK]", /* HSEC pin 15 */
498                 "[CSI1_MCLK]", /* HSEC pin 17     617                 "[CSI1_MCLK]", /* HSEC pin 17 */
499                 "GPIO-K", /* LS_EXP_GPIO_K, LS    618                 "GPIO-K", /* LS_EXP_GPIO_K, LSEC pin 33 */
500                 "[I2C2_SDA]", /* HSEC pin 34 *    619                 "[I2C2_SDA]", /* HSEC pin 34 */
501                 "[I2C2_SCL]", /* HSEC pin 32 *    620                 "[I2C2_SCL]", /* HSEC pin 32 */
502                 "DSI2HDMI_INT_N",                 621                 "DSI2HDMI_INT_N",
503                 "DSI_SW_SEL_APQ",                 622                 "DSI_SW_SEL_APQ",
504                 "GPIO-L", /* LS_EXP_GPIO_L, LS    623                 "GPIO-L", /* LS_EXP_GPIO_L, LSEC pin 34 */
505                 "GPIO-J", /* LS_EXP_GPIO_J, LS    624                 "GPIO-J", /* LS_EXP_GPIO_J, LSEC pin 32 */
506                 "GPIO-I", /* LS_EXP_GPIO_I, LS    625                 "GPIO-I", /* LS_EXP_GPIO_I, LSEC pin 31 */
507                 "GPIO-A", /* LS_EXP_GPIO_A, LS    626                 "GPIO-A", /* LS_EXP_GPIO_A, LSEC pin 23 */
508                 "FORCED_USB_BOOT",                627                 "FORCED_USB_BOOT",
509                 "SD_CARD_DET_N",                  628                 "SD_CARD_DET_N",
510                 "[WCSS_BT_SSBI]",                 629                 "[WCSS_BT_SSBI]",
511                 "[WCSS_WLAN_DATA_2]", /* GPIO     630                 "[WCSS_WLAN_DATA_2]", /* GPIO 40 */
512                 "[WCSS_WLAN_DATA_1]",             631                 "[WCSS_WLAN_DATA_1]",
513                 "[WCSS_WLAN_DATA_0]",             632                 "[WCSS_WLAN_DATA_0]",
514                 "[WCSS_WLAN_SET]",                633                 "[WCSS_WLAN_SET]",
515                 "[WCSS_WLAN_CLK]",                634                 "[WCSS_WLAN_CLK]",
516                 "[WCSS_FM_SSBI]",                 635                 "[WCSS_FM_SSBI]",
517                 "[WCSS_FM_SDI]",                  636                 "[WCSS_FM_SDI]",
518                 "[WCSS_BT_DAT_CTL]",              637                 "[WCSS_BT_DAT_CTL]",
519                 "[WCSS_BT_DAT_STB]",              638                 "[WCSS_BT_DAT_STB]",
520                 "NC",                             639                 "NC",
521                 "NC", /* GPIO 50 */               640                 "NC", /* GPIO 50 */
522                 "NC",                             641                 "NC",
523                 "NC",                             642                 "NC",
524                 "NC",                             643                 "NC",
525                 "NC",                             644                 "NC",
526                 "NC",                             645                 "NC",
527                 "NC",                             646                 "NC",
528                 "NC",                             647                 "NC",
529                 "NC",                             648                 "NC",
530                 "NC",                             649                 "NC",
531                 "NC", /* GPIO 60 */               650                 "NC", /* GPIO 60 */
532                 "NC",                             651                 "NC",
533                 "NC",                             652                 "NC",
534                 "[CDC_PDM0_CLK]",                 653                 "[CDC_PDM0_CLK]",
535                 "[CDC_PDM0_SYNC]",                654                 "[CDC_PDM0_SYNC]",
536                 "[CDC_PDM0_TX0]",                 655                 "[CDC_PDM0_TX0]",
537                 "[CDC_PDM0_RX0]",                 656                 "[CDC_PDM0_RX0]",
538                 "[CDC_PDM0_RX1]",                 657                 "[CDC_PDM0_RX1]",
539                 "[CDC_PDM0_RX2]",                 658                 "[CDC_PDM0_RX2]",
540                 "GPIO-D", /* LS_EXP_GPIO_D, LS    659                 "GPIO-D", /* LS_EXP_GPIO_D, LSEC pin 26 */
541                 "NC", /* GPIO 70 */               660                 "NC", /* GPIO 70 */
542                 "NC",                             661                 "NC",
543                 "NC",                             662                 "NC",
544                 "NC",                             663                 "NC",
545                 "NC", /* GPIO 74 */               664                 "NC", /* GPIO 74 */
546                 "NC",                             665                 "NC",
547                 "NC",                             666                 "NC",
548                 "NC",                             667                 "NC",
549                 "NC",                             668                 "NC",
550                 "NC",                             669                 "NC",
551                 "BOOT_CONFIG_0", /* GPIO 80 */    670                 "BOOT_CONFIG_0", /* GPIO 80 */
552                 "BOOT_CONFIG_1",                  671                 "BOOT_CONFIG_1",
553                 "BOOT_CONFIG_2",                  672                 "BOOT_CONFIG_2",
554                 "BOOT_CONFIG_3",                  673                 "BOOT_CONFIG_3",
555                 "NC",                             674                 "NC",
556                 "NC",                             675                 "NC",
557                 "BOOT_CONFIG_5",                  676                 "BOOT_CONFIG_5",
558                 "NC",                             677                 "NC",
559                 "NC",                             678                 "NC",
560                 "NC",                             679                 "NC",
561                 "NC", /* GPIO 90 */               680                 "NC", /* GPIO 90 */
562                 "NC",                             681                 "NC",
563                 "NC",                             682                 "NC",
564                 "NC",                             683                 "NC",
565                 "NC",                             684                 "NC",
566                 "NC",                             685                 "NC",
567                 "NC",                             686                 "NC",
568                 "NC",                             687                 "NC",
569                 "NC",                             688                 "NC",
570                 "NC",                             689                 "NC",
571                 "NC", /* GPIO 100 */              690                 "NC", /* GPIO 100 */
572                 "NC",                             691                 "NC",
573                 "NC",                             692                 "NC",
574                 "NC",                             693                 "NC",
575                 "SSBI_GPS",                       694                 "SSBI_GPS",
576                 "NC",                             695                 "NC",
577                 "NC",                             696                 "NC",
578                 "KEY_VOLP_N",                     697                 "KEY_VOLP_N",
579                 "NC",                             698                 "NC",
580                 "NC",                             699                 "NC",
581                 "[LS_EXP_MI2S_WS]", /* GPIO 11    700                 "[LS_EXP_MI2S_WS]", /* GPIO 110 */
582                 "NC",                             701                 "NC",
583                 "NC",                             702                 "NC",
584                 "[LS_EXP_MI2S_SCK]",              703                 "[LS_EXP_MI2S_SCK]",
585                 "[LS_EXP_MI2S_DATA0]",            704                 "[LS_EXP_MI2S_DATA0]",
586                 "GPIO-E", /* LS_EXP_GPIO_E, LS    705                 "GPIO-E", /* LS_EXP_GPIO_E, LSEC pin 27 */
587                 "NC",                             706                 "NC",
588                 "[DSI2HDMI_MI2S_WS]",             707                 "[DSI2HDMI_MI2S_WS]",
589                 "[DSI2HDMI_MI2S_SCK]",            708                 "[DSI2HDMI_MI2S_SCK]",
590                 "[DSI2HDMI_MI2S_DATA0]",          709                 "[DSI2HDMI_MI2S_DATA0]",
591                 "USR_LED_2_CTRL", /* GPIO 120     710                 "USR_LED_2_CTRL", /* GPIO 120 */
592                 "SB_HS_ID";                       711                 "SB_HS_ID";
593                                                   712 
594         sdc2_cd_default: sdc2-cd-default-state !! 713         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";       714                 pins = "gpio21", "gpio120";
603                 function = "gpio";                715                 function = "gpio";
604                                                   716 
605                 output-low;                       717                 output-low;
606         };                                        718         };
607                                                   719 
608         usb_id_default: usb-id-default-state { !! 720         usb_id_default: usb-id-default {
609                 pins = "gpio121";                 721                 pins = "gpio121";
610                 function = "gpio";                722                 function = "gpio";
611                                                   723 
612                 drive-strength = <8>;             724                 drive-strength = <8>;
                                                   >> 725                 input-enable;
613                 bias-pull-up;                     726                 bias-pull-up;
614         };                                        727         };
615                                                   728 
616         adv7533_int_active: adv533-int-active- !! 729         adv7533_int_active: adv533-int-active {
617                 pins = "gpio31";                  730                 pins = "gpio31";
618                 function = "gpio";                731                 function = "gpio";
619                                                   732 
620                 drive-strength = <16>;            733                 drive-strength = <16>;
621                 bias-disable;                     734                 bias-disable;
622         };                                        735         };
623                                                   736 
624         adv7533_int_suspend: adv7533-int-suspe !! 737         adv7533_int_suspend: adv7533-int-suspend {
625                 pins = "gpio31";                  738                 pins = "gpio31";
626                 function = "gpio";                739                 function = "gpio";
627                                                   740 
628                 drive-strength = <2>;             741                 drive-strength = <2>;
629                 bias-disable;                     742                 bias-disable;
630         };                                        743         };
631                                                   744 
632         adv7533_switch_active: adv7533-switch- !! 745         adv7533_switch_active: adv7533-switch-active {
633                 pins = "gpio32";                  746                 pins = "gpio32";
634                 function = "gpio";                747                 function = "gpio";
635                                                   748 
636                 drive-strength = <16>;            749                 drive-strength = <16>;
637                 bias-disable;                     750                 bias-disable;
638         };                                        751         };
639                                                   752 
640         adv7533_switch_suspend: adv7533-switch !! 753         adv7533_switch_suspend: adv7533-switch-suspend {
641                 pins = "gpio32";                  754                 pins = "gpio32";
642                 function = "gpio";                755                 function = "gpio";
643                                                   756 
644                 drive-strength = <2>;             757                 drive-strength = <2>;
645                 bias-disable;                     758                 bias-disable;
646         };                                        759         };
647                                                   760 
648         msm_key_volp_n_default: msm-key-volp-n !! 761         msm_key_volp_n_default: msm-key-volp-n-default {
649                 pins = "gpio107";                 762                 pins = "gpio107";
650                 function = "gpio";                763                 function = "gpio";
651                                                   764 
652                 drive-strength = <8>;             765                 drive-strength = <8>;
                                                   >> 766                 input-enable;
653                 bias-pull-up;                     767                 bias-pull-up;
654         };                                        768         };
655 };                                                769 };
656                                                   770 
657 &pm8916_gpios {                                   771 &pm8916_gpios {
658         gpio-line-names =                         772         gpio-line-names =
659                 "USR_LED_3_CTRL",                 773                 "USR_LED_3_CTRL",
660                 "USR_LED_4_CTRL",                 774                 "USR_LED_4_CTRL",
661                 "USB_HUB_RESET_N_PM",             775                 "USB_HUB_RESET_N_PM",
662                 "USB_SW_SEL_PM";                  776                 "USB_SW_SEL_PM";
663                                                   777 
664         usb_hub_reset_pm: usb-hub-reset-pm-sta !! 778         usb_hub_reset_pm: usb-hub-reset-pm {
665                 pins = "gpio3";                   779                 pins = "gpio3";
666                 function = PMIC_GPIO_FUNC_NORM    780                 function = PMIC_GPIO_FUNC_NORMAL;
667                                                   781 
668                 input-disable;                    782                 input-disable;
669                 output-high;                      783                 output-high;
670         };                                        784         };
671                                                   785 
672         usb_hub_reset_pm_device: usb-hub-reset !! 786         usb_hub_reset_pm_device: usb-hub-reset-pm-device {
673                 pins = "gpio3";                   787                 pins = "gpio3";
674                 function = PMIC_GPIO_FUNC_NORM    788                 function = PMIC_GPIO_FUNC_NORMAL;
675                                                   789 
676                 output-low;                       790                 output-low;
677         };                                        791         };
678                                                   792 
679         usb_sw_sel_pm: usb-sw-sel-pm-state {   !! 793         usb_sw_sel_pm: usb-sw-sel-pm {
680                 pins = "gpio4";                   794                 pins = "gpio4";
681                 function = PMIC_GPIO_FUNC_NORM    795                 function = PMIC_GPIO_FUNC_NORMAL;
682                                                   796 
683                 power-source = <PM8916_GPIO_VP    797                 power-source = <PM8916_GPIO_VPH>;
684                 input-disable;                    798                 input-disable;
685                 output-high;                      799                 output-high;
686         };                                        800         };
687                                                   801 
688         usb_sw_sel_pm_device: usb-sw-sel-pm-de !! 802         usb_sw_sel_pm_device: usb-sw-sel-pm-device {
689                 pins = "gpio4";                   803                 pins = "gpio4";
690                 function = PMIC_GPIO_FUNC_NORM    804                 function = PMIC_GPIO_FUNC_NORMAL;
691                                                   805 
692                 power-source = <PM8916_GPIO_VP    806                 power-source = <PM8916_GPIO_VPH>;
693                 input-disable;                    807                 input-disable;
694                 output-low;                       808                 output-low;
695         };                                        809         };
696                                                   810 
697         pm8916_gpios_leds: pm8916-gpios-leds-s !! 811         pm8916_gpios_leds: pm8916-gpios-leds {
698                 pins = "gpio1", "gpio2";          812                 pins = "gpio1", "gpio2";
699                 function = PMIC_GPIO_FUNC_NORM    813                 function = PMIC_GPIO_FUNC_NORMAL;
700                                                   814 
701                 output-low;                       815                 output-low;
702         };                                        816         };
703 };                                                817 };
704                                                   818 
705 &pm8916_mpps {                                    819 &pm8916_mpps {
706         gpio-line-names =                         820         gpio-line-names =
707                 "VDD_PX_BIAS",                    821                 "VDD_PX_BIAS",
708                 "WLAN_LED_CTRL",                  822                 "WLAN_LED_CTRL",
709                 "BT_LED_CTRL",                    823                 "BT_LED_CTRL",
710                 "GPIO-F"; /* LS_EXP_GPIO_F, LS    824                 "GPIO-F"; /* LS_EXP_GPIO_F, LSEC pin 28 */
711                                                   825 
712         pinctrl-names = "default";                826         pinctrl-names = "default";
713         pinctrl-0 = <&ls_exp_gpio_f>;             827         pinctrl-0 = <&ls_exp_gpio_f>;
714                                                   828 
715         ls_exp_gpio_f: pm8916-mpp4-state {        829         ls_exp_gpio_f: pm8916-mpp4-state {
716                 pins = "mpp4";                    830                 pins = "mpp4";
717                 function = "digital";             831                 function = "digital";
718                                                   832 
719                 output-low;                       833                 output-low;
720                 power-source = <PM8916_MPP_L5> !! 834                 power-source = <PM8916_MPP_L5>; // 1.8V
721         };                                        835         };
722                                                   836 
723         pm8916_mpps_leds: pm8916-mpps-state {     837         pm8916_mpps_leds: pm8916-mpps-state {
724                 pins = "mpp2", "mpp3";            838                 pins = "mpp2", "mpp3";
725                 function = "digital";             839                 function = "digital";
726                                                   840 
727                 output-low;                       841                 output-low;
728         };                                        842         };
729 };                                                843 };
                                                      

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