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


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

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