1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/gpio/gpio.h> 2 #include <dt-bindings/gpio/gpio.h> 3 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/leds/common.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include "qcom-msm8974.dtsi" 6 #include "qcom-msm8974.dtsi" 7 #include "pm8841.dtsi" 7 #include "pm8841.dtsi" 8 #include "pm8941.dtsi" 8 #include "pm8941.dtsi" 9 9 10 /delete-node/ &mpss_region; 10 /delete-node/ &mpss_region; 11 11 12 / { 12 / { 13 model = "Qualcomm APQ8074 Dragonboard" 13 model = "Qualcomm APQ8074 Dragonboard"; 14 compatible = "qcom,apq8074-dragonboard 14 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; 15 15 16 aliases { 16 aliases { 17 serial0 = &blsp1_uart2; 17 serial0 = &blsp1_uart2; 18 usid0 = &pm8941_0; 18 usid0 = &pm8941_0; 19 usid4 = &pm8841_0; 19 usid4 = &pm8841_0; 20 }; 20 }; 21 21 22 chosen { 22 chosen { 23 stdout-path = "serial0:115200n 23 stdout-path = "serial0:115200n8"; 24 }; 24 }; 25 25 26 gpio-keys { 26 gpio-keys { 27 compatible = "gpio-keys"; 27 compatible = "gpio-keys"; 28 autorepeat; 28 autorepeat; 29 29 30 pinctrl-0 = <&msm_keys_default 30 pinctrl-0 = <&msm_keys_default>; 31 pinctrl-names = "default"; 31 pinctrl-names = "default"; 32 32 33 button-volup { 33 button-volup { 34 label = "Volume Up"; 34 label = "Volume Up"; 35 linux,code = <KEY_VOLU 35 linux,code = <KEY_VOLUMEUP>; 36 gpios = <&pm8941_gpios 36 gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>; 37 }; 37 }; 38 38 39 button-general { 39 button-general { 40 label = "General"; 40 label = "General"; 41 linux,code = <KEY_PROG 41 linux,code = <KEY_PROG1>; 42 gpios = <&pm8941_gpios 42 gpios = <&pm8941_gpios 23 GPIO_ACTIVE_LOW>; 43 }; 43 }; 44 }; 44 }; 45 45 46 reserved-memory { 46 reserved-memory { 47 mpss_region: mpss@ac00000 { 47 mpss_region: mpss@ac00000 { 48 reg = <0x0ac00000 0x25 48 reg = <0x0ac00000 0x2500000>; 49 no-map; 49 no-map; 50 }; 50 }; 51 }; 51 }; 52 52 53 vreg_boost: vreg-boost { 53 vreg_boost: vreg-boost { 54 compatible = "regulator-fixed" 54 compatible = "regulator-fixed"; 55 55 56 regulator-name = "vreg-boost"; 56 regulator-name = "vreg-boost"; 57 regulator-min-microvolt = <315 57 regulator-min-microvolt = <3150000>; 58 regulator-max-microvolt = <315 58 regulator-max-microvolt = <3150000>; 59 59 60 regulator-always-on; 60 regulator-always-on; 61 regulator-boot-on; 61 regulator-boot-on; 62 62 63 gpio = <&pm8941_gpios 21 GPIO_ 63 gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>; 64 enable-active-high; 64 enable-active-high; 65 65 66 pinctrl-names = "default"; 66 pinctrl-names = "default"; 67 pinctrl-0 = <&boost_bypass_n_p 67 pinctrl-0 = <&boost_bypass_n_pin>; 68 }; 68 }; 69 69 70 vreg_vph_pwr: vreg-vph-pwr { 70 vreg_vph_pwr: vreg-vph-pwr { 71 compatible = "regulator-fixed" 71 compatible = "regulator-fixed"; 72 regulator-name = "vph-pwr"; 72 regulator-name = "vph-pwr"; 73 73 74 regulator-min-microvolt = <360 74 regulator-min-microvolt = <3600000>; 75 regulator-max-microvolt = <360 75 regulator-max-microvolt = <3600000>; 76 76 77 regulator-always-on; 77 regulator-always-on; 78 }; 78 }; 79 }; 79 }; 80 80 81 &blsp1_uart2 { 81 &blsp1_uart2 { 82 status = "okay"; 82 status = "okay"; 83 }; 83 }; 84 84 85 &blsp2_dma { 85 &blsp2_dma { 86 qcom,controlled-remotely; 86 qcom,controlled-remotely; 87 }; 87 }; 88 88 89 &blsp2_i2c5 { 89 &blsp2_i2c5 { 90 status = "okay"; 90 status = "okay"; 91 clock-frequency = <200000>; 91 clock-frequency = <200000>; 92 92 93 eeprom: eeprom@52 { 93 eeprom: eeprom@52 { 94 compatible = "atmel,24c128"; 94 compatible = "atmel,24c128"; 95 reg = <0x52>; 95 reg = <0x52>; 96 pagesize = <32>; 96 pagesize = <32>; 97 read-only; 97 read-only; 98 }; 98 }; 99 }; 99 }; 100 100 101 &gpu { 101 &gpu { 102 status = "okay"; 102 status = "okay"; 103 }; 103 }; 104 104 105 &mdss { 105 &mdss { 106 status = "okay"; 106 status = "okay"; 107 }; 107 }; 108 108 109 &mdss_dsi0 { 109 &mdss_dsi0 { 110 vdda-supply = <&pm8941_l2>; 110 vdda-supply = <&pm8941_l2>; 111 vdd-supply = <&pm8941_l22>; 111 vdd-supply = <&pm8941_l22>; 112 vddio-supply = <&pm8941_l12>; 112 vddio-supply = <&pm8941_l12>; 113 113 114 status = "okay"; 114 status = "okay"; 115 115 116 panel: panel@0 { 116 panel: panel@0 { 117 compatible = "sharp,ls043t1le0 117 compatible = "sharp,ls043t1le01-qhd"; 118 reg = <0>; 118 reg = <0>; 119 119 120 avdd-supply = <&pm8941_l22>; 120 avdd-supply = <&pm8941_l22>; 121 backlight = <&pm8941_wled>; 121 backlight = <&pm8941_wled>; 122 reset-gpios = <&pm8941_gpios 1 122 reset-gpios = <&pm8941_gpios 19 GPIO_ACTIVE_HIGH>; 123 123 124 port { 124 port { 125 panel_in: endpoint { 125 panel_in: endpoint { 126 remote-endpoin 126 remote-endpoint = <&mdss_dsi0_out>; 127 }; 127 }; 128 }; 128 }; 129 }; 129 }; 130 }; 130 }; 131 131 132 &mdss_dsi0_out { 132 &mdss_dsi0_out { 133 remote-endpoint = <&panel_in>; 133 remote-endpoint = <&panel_in>; 134 data-lanes = <0 1 2 3>; 134 data-lanes = <0 1 2 3>; 135 }; 135 }; 136 136 137 &mdss_dsi0_phy { 137 &mdss_dsi0_phy { 138 status = "okay"; 138 status = "okay"; 139 139 140 vddio-supply = <&pm8941_l12>; 140 vddio-supply = <&pm8941_l12>; 141 }; 141 }; 142 142 143 &gpu { 143 &gpu { 144 status = "okay"; 144 status = "okay"; 145 }; 145 }; 146 146 147 &mdss { 147 &mdss { 148 status = "okay"; 148 status = "okay"; 149 }; 149 }; 150 150 151 &pm8941_gpios { 151 &pm8941_gpios { 152 msm_keys_default: pm8941-gpio-keys-sta 152 msm_keys_default: pm8941-gpio-keys-state { 153 pins = "gpio5", "gpio23"; 153 pins = "gpio5", "gpio23"; 154 function = "normal"; 154 function = "normal"; 155 input-enable; 155 input-enable; 156 drive-push-pull; 156 drive-push-pull; 157 bias-pull-up; 157 bias-pull-up; 158 qcom,drive-strength = <PMIC_GP 158 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; 159 power-source = <PM8941_GPIO_S3 159 power-source = <PM8941_GPIO_S3>; /* 1.8V */ 160 }; 160 }; 161 }; 161 }; 162 162 163 &pm8941_lpg { 163 &pm8941_lpg { 164 qcom,power-source = <1>; 164 qcom,power-source = <1>; 165 status = "okay"; 165 status = "okay"; 166 166 167 led@5 { 167 led@5 { 168 reg = <5>; 168 reg = <5>; 169 color = <LED_COLOR_ID_BLUE>; 169 color = <LED_COLOR_ID_BLUE>; 170 function = LED_FUNCTION_INDICA 170 function = LED_FUNCTION_INDICATOR; 171 }; 171 }; 172 172 173 led@6 { 173 led@6 { 174 reg = <6>; 174 reg = <6>; 175 color = <LED_COLOR_ID_GREEN>; 175 color = <LED_COLOR_ID_GREEN>; 176 function = LED_FUNCTION_INDICA 176 function = LED_FUNCTION_INDICATOR; 177 }; 177 }; 178 178 179 led@7 { 179 led@7 { 180 reg = <7>; 180 reg = <7>; 181 color = <LED_COLOR_ID_RED>; 181 color = <LED_COLOR_ID_RED>; 182 function = LED_FUNCTION_INDICA 182 function = LED_FUNCTION_INDICATOR; 183 }; 183 }; 184 }; 184 }; 185 185 186 &pm8941_resin { 186 &pm8941_resin { 187 linux,code = <KEY_VOLUMEDOWN>; 187 linux,code = <KEY_VOLUMEDOWN>; 188 status = "okay"; 188 status = "okay"; 189 }; 189 }; 190 190 191 &pm8941_wled { 191 &pm8941_wled { 192 qcom,cs-out; 192 qcom,cs-out; 193 qcom,switching-freq = <3200>; 193 qcom,switching-freq = <3200>; 194 qcom,ovp = <32>; 194 qcom,ovp = <32>; 195 qcom,num-strings = <1>; 195 qcom,num-strings = <1>; 196 196 197 status = "okay"; 197 status = "okay"; 198 }; 198 }; 199 199 200 &remoteproc_adsp { 200 &remoteproc_adsp { 201 cx-supply = <&pm8841_s2>; 201 cx-supply = <&pm8841_s2>; 202 202 203 firmware-name = "qcom/apq8074/adsp.mbn 203 firmware-name = "qcom/apq8074/adsp.mbn"; 204 204 205 status = "okay"; 205 status = "okay"; 206 }; 206 }; 207 207 208 &remoteproc_mss { 208 &remoteproc_mss { 209 cx-supply = <&pm8841_s2>; 209 cx-supply = <&pm8841_s2>; 210 mss-supply = <&pm8841_s3>; 210 mss-supply = <&pm8841_s3>; 211 mx-supply = <&pm8841_s1>; 211 mx-supply = <&pm8841_s1>; 212 pll-supply = <&pm8941_l12>; 212 pll-supply = <&pm8941_l12>; 213 213 214 firmware-name = "qcom/apq8074/mba.mbn" 214 firmware-name = "qcom/apq8074/mba.mbn", "qcom/apq8074/modem.mbn"; 215 215 216 status = "okay"; 216 status = "okay"; 217 }; 217 }; 218 218 219 &rpm_requests { 219 &rpm_requests { 220 regulators-0 { 220 regulators-0 { 221 compatible = "qcom,rpm-pm8841- 221 compatible = "qcom,rpm-pm8841-regulators"; 222 222 223 pm8841_s1: s1 { 223 pm8841_s1: s1 { 224 regulator-min-microvol 224 regulator-min-microvolt = <675000>; 225 regulator-max-microvol 225 regulator-max-microvolt = <1050000>; 226 }; 226 }; 227 227 228 pm8841_s2: s2 { 228 pm8841_s2: s2 { 229 regulator-min-microvol 229 regulator-min-microvolt = <500000>; 230 regulator-max-microvol 230 regulator-max-microvolt = <1050000>; 231 }; 231 }; 232 232 233 pm8841_s3: s3 { 233 pm8841_s3: s3 { 234 regulator-min-microvol 234 regulator-min-microvolt = <500000>; 235 regulator-max-microvol 235 regulator-max-microvolt = <1050000>; 236 }; 236 }; 237 237 238 pm8841_s4: s4 { 238 pm8841_s4: s4 { 239 regulator-min-microvol 239 regulator-min-microvolt = <500000>; 240 regulator-max-microvol 240 regulator-max-microvolt = <1050000>; 241 }; 241 }; 242 }; 242 }; 243 243 244 regulators-1 { 244 regulators-1 { 245 compatible = "qcom,rpm-pm8941- 245 compatible = "qcom,rpm-pm8941-regulators"; 246 246 247 vdd_l1_l3-supply = <&pm8941_s1 247 vdd_l1_l3-supply = <&pm8941_s1>; 248 vdd_l2_lvs1_2_3-supply = <&pm8 248 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>; 249 vdd_l4_l11-supply = <&pm8941_s 249 vdd_l4_l11-supply = <&pm8941_s1>; 250 vdd_l5_l7-supply = <&pm8941_s2 250 vdd_l5_l7-supply = <&pm8941_s2>; 251 vdd_l6_l12_l14_l15-supply = <& 251 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>; 252 vin_5vs-supply = <&pm8941_5v>; 252 vin_5vs-supply = <&pm8941_5v>; 253 253 254 pm8941_s1: s1 { 254 pm8941_s1: s1 { 255 regulator-min-microvol 255 regulator-min-microvolt = <1300000>; 256 regulator-max-microvol 256 regulator-max-microvolt = <1300000>; 257 regulator-always-on; 257 regulator-always-on; 258 regulator-boot-on; 258 regulator-boot-on; 259 }; 259 }; 260 260 261 pm8941_s2: s2 { 261 pm8941_s2: s2 { 262 regulator-min-microvol 262 regulator-min-microvolt = <2150000>; 263 regulator-max-microvol 263 regulator-max-microvolt = <2150000>; 264 regulator-boot-on; 264 regulator-boot-on; 265 }; 265 }; 266 266 267 pm8941_s3: s3 { 267 pm8941_s3: s3 { 268 regulator-min-microvol 268 regulator-min-microvolt = <1800000>; 269 regulator-max-microvol 269 regulator-max-microvolt = <1800000>; 270 regulator-always-on; 270 regulator-always-on; 271 regulator-boot-on; 271 regulator-boot-on; 272 }; 272 }; 273 273 274 pm8941_l1: l1 { 274 pm8941_l1: l1 { 275 regulator-min-microvol 275 regulator-min-microvolt = <1225000>; 276 regulator-max-microvol 276 regulator-max-microvolt = <1225000>; 277 regulator-always-on; 277 regulator-always-on; 278 regulator-boot-on; 278 regulator-boot-on; 279 }; 279 }; 280 280 281 pm8941_l2: l2 { 281 pm8941_l2: l2 { 282 regulator-min-microvol 282 regulator-min-microvolt = <1200000>; 283 regulator-max-microvol 283 regulator-max-microvolt = <1200000>; 284 }; 284 }; 285 285 286 pm8941_l3: l3 { 286 pm8941_l3: l3 { 287 regulator-min-microvol 287 regulator-min-microvolt = <1225000>; 288 regulator-max-microvol 288 regulator-max-microvolt = <1225000>; 289 }; 289 }; 290 290 291 pm8941_l4: l4 { 291 pm8941_l4: l4 { 292 regulator-min-microvol 292 regulator-min-microvolt = <1225000>; 293 regulator-max-microvol 293 regulator-max-microvolt = <1225000>; 294 }; 294 }; 295 295 296 pm8941_l5: l5 { 296 pm8941_l5: l5 { 297 regulator-min-microvol 297 regulator-min-microvolt = <1800000>; 298 regulator-max-microvol 298 regulator-max-microvolt = <1800000>; 299 }; 299 }; 300 300 301 pm8941_l6: l6 { 301 pm8941_l6: l6 { 302 regulator-min-microvol 302 regulator-min-microvolt = <1800000>; 303 regulator-max-microvol 303 regulator-max-microvolt = <1800000>; 304 regulator-boot-on; 304 regulator-boot-on; 305 }; 305 }; 306 306 307 pm8941_l7: l7 { 307 pm8941_l7: l7 { 308 regulator-min-microvol 308 regulator-min-microvolt = <1800000>; 309 regulator-max-microvol 309 regulator-max-microvolt = <1800000>; 310 regulator-boot-on; 310 regulator-boot-on; 311 }; 311 }; 312 312 313 pm8941_l8: l8 { 313 pm8941_l8: l8 { 314 regulator-min-microvol 314 regulator-min-microvolt = <1800000>; 315 regulator-max-microvol 315 regulator-max-microvolt = <1800000>; 316 }; 316 }; 317 317 318 pm8941_l9: l9 { 318 pm8941_l9: l9 { 319 regulator-min-microvol 319 regulator-min-microvolt = <1800000>; 320 regulator-max-microvol 320 regulator-max-microvolt = <2950000>; 321 }; 321 }; 322 322 323 pm8941_l10: l10 { 323 pm8941_l10: l10 { 324 regulator-min-microvol 324 regulator-min-microvolt = <1800000>; 325 regulator-max-microvol 325 regulator-max-microvolt = <1800000>; 326 regulator-always-on; 326 regulator-always-on; 327 }; 327 }; 328 328 329 pm8941_l11: l11 { 329 pm8941_l11: l11 { 330 regulator-min-microvol 330 regulator-min-microvolt = <1300000>; 331 regulator-max-microvol 331 regulator-max-microvolt = <1300000>; 332 }; 332 }; 333 333 334 pm8941_l12: l12 { 334 pm8941_l12: l12 { 335 regulator-min-microvol 335 regulator-min-microvolt = <1800000>; 336 regulator-max-microvol 336 regulator-max-microvolt = <1800000>; 337 regulator-always-on; 337 regulator-always-on; 338 regulator-boot-on; 338 regulator-boot-on; 339 }; 339 }; 340 340 341 pm8941_l13: l13 { 341 pm8941_l13: l13 { 342 regulator-min-microvol 342 regulator-min-microvolt = <1800000>; 343 regulator-max-microvol 343 regulator-max-microvolt = <2950000>; 344 regulator-boot-on; 344 regulator-boot-on; 345 }; 345 }; 346 346 347 pm8941_l14: l14 { 347 pm8941_l14: l14 { 348 regulator-min-microvol 348 regulator-min-microvolt = <1800000>; 349 regulator-max-microvol 349 regulator-max-microvolt = <1800000>; 350 }; 350 }; 351 351 352 pm8941_l15: l15 { 352 pm8941_l15: l15 { 353 regulator-min-microvol 353 regulator-min-microvolt = <2050000>; 354 regulator-max-microvol 354 regulator-max-microvolt = <2050000>; 355 }; 355 }; 356 356 357 pm8941_l16: l16 { 357 pm8941_l16: l16 { 358 regulator-min-microvol 358 regulator-min-microvolt = <2700000>; 359 regulator-max-microvol 359 regulator-max-microvolt = <2700000>; 360 }; 360 }; 361 361 362 pm8941_l17: l17 { 362 pm8941_l17: l17 { 363 regulator-min-microvol 363 regulator-min-microvolt = <2700000>; 364 regulator-max-microvol 364 regulator-max-microvolt = <2700000>; 365 }; 365 }; 366 366 367 pm8941_l18: l18 { 367 pm8941_l18: l18 { 368 regulator-min-microvol 368 regulator-min-microvolt = <2850000>; 369 regulator-max-microvol 369 regulator-max-microvolt = <2850000>; 370 }; 370 }; 371 371 372 pm8941_l19: l19 { 372 pm8941_l19: l19 { 373 regulator-min-microvol 373 regulator-min-microvolt = <3300000>; 374 regulator-max-microvol 374 regulator-max-microvolt = <3300000>; 375 regulator-always-on; 375 regulator-always-on; 376 }; 376 }; 377 377 378 pm8941_l20: l20 { 378 pm8941_l20: l20 { 379 regulator-min-microvol 379 regulator-min-microvolt = <2950000>; 380 regulator-max-microvol 380 regulator-max-microvolt = <2950000>; 381 regulator-system-load 381 regulator-system-load = <200000>; 382 regulator-allow-set-lo 382 regulator-allow-set-load; 383 regulator-boot-on; 383 regulator-boot-on; 384 }; 384 }; 385 385 386 pm8941_l21: l21 { 386 pm8941_l21: l21 { 387 regulator-min-microvol 387 regulator-min-microvolt = <2950000>; 388 regulator-max-microvol 388 regulator-max-microvolt = <2950000>; 389 regulator-boot-on; 389 regulator-boot-on; 390 }; 390 }; 391 391 392 pm8941_l22: l22 { 392 pm8941_l22: l22 { 393 regulator-min-microvol 393 regulator-min-microvolt = <3000000>; 394 regulator-max-microvol 394 regulator-max-microvolt = <3000000>; 395 }; 395 }; 396 396 397 pm8941_l23: l23 { 397 pm8941_l23: l23 { 398 regulator-min-microvol 398 regulator-min-microvolt = <3000000>; 399 regulator-max-microvol 399 regulator-max-microvolt = <3000000>; 400 }; 400 }; 401 401 402 pm8941_l24: l24 { 402 pm8941_l24: l24 { 403 regulator-min-microvol 403 regulator-min-microvolt = <3075000>; 404 regulator-max-microvol 404 regulator-max-microvolt = <3075000>; 405 regulator-boot-on; 405 regulator-boot-on; 406 }; 406 }; 407 }; 407 }; 408 }; 408 }; 409 409 410 &sdhc_1 { 410 &sdhc_1 { 411 status = "okay"; 411 status = "okay"; 412 412 413 vmmc-supply = <&pm8941_l20>; 413 vmmc-supply = <&pm8941_l20>; 414 vqmmc-supply = <&pm8941_s3>; 414 vqmmc-supply = <&pm8941_s3>; 415 415 416 pinctrl-names = "default", "sleep"; 416 pinctrl-names = "default", "sleep"; 417 pinctrl-0 = <&sdc1_on>; 417 pinctrl-0 = <&sdc1_on>; 418 pinctrl-1 = <&sdc1_off>; 418 pinctrl-1 = <&sdc1_off>; 419 }; 419 }; 420 420 421 &sdhc_2 { 421 &sdhc_2 { 422 status = "okay"; 422 status = "okay"; 423 423 424 cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; 424 cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; 425 vmmc-supply = <&pm8941_l21>; 425 vmmc-supply = <&pm8941_l21>; 426 vqmmc-supply = <&pm8941_l13>; 426 vqmmc-supply = <&pm8941_l13>; 427 427 428 pinctrl-names = "default", "sleep"; 428 pinctrl-names = "default", "sleep"; 429 pinctrl-0 = <&sdc2_on>; 429 pinctrl-0 = <&sdc2_on>; 430 pinctrl-1 = <&sdc2_off>; 430 pinctrl-1 = <&sdc2_off>; 431 }; 431 }; 432 432 433 &smbb { 433 &smbb { 434 status = "okay"; 434 status = "okay"; 435 }; 435 }; 436 436 437 &tlmm { 437 &tlmm { 438 sdc1_on: sdc1-on-state { 438 sdc1_on: sdc1-on-state { 439 clk-pins { 439 clk-pins { 440 pins = "sdc1_clk"; 440 pins = "sdc1_clk"; 441 drive-strength = <16>; 441 drive-strength = <16>; 442 bias-disable; 442 bias-disable; 443 }; 443 }; 444 444 445 cmd-data-pins { 445 cmd-data-pins { 446 pins = "sdc1_cmd", "sd 446 pins = "sdc1_cmd", "sdc1_data"; 447 drive-strength = <10>; 447 drive-strength = <10>; 448 bias-pull-up; 448 bias-pull-up; 449 }; 449 }; 450 }; 450 }; 451 451 452 sdc2_on: sdc2-on-state { 452 sdc2_on: sdc2-on-state { 453 clk-pins { 453 clk-pins { 454 pins = "sdc2_clk"; 454 pins = "sdc2_clk"; 455 drive-strength = <10>; 455 drive-strength = <10>; 456 bias-disable; 456 bias-disable; 457 }; 457 }; 458 458 459 cmd-data-pins { 459 cmd-data-pins { 460 pins = "sdc2_cmd", "sd 460 pins = "sdc2_cmd", "sdc2_data"; 461 drive-strength = <6>; 461 drive-strength = <6>; 462 bias-pull-up; 462 bias-pull-up; 463 }; 463 }; 464 464 465 cd-pins { 465 cd-pins { 466 pins = "gpio62"; 466 pins = "gpio62"; 467 function = "gpio"; 467 function = "gpio"; 468 drive-strength = <2>; 468 drive-strength = <2>; 469 bias-disable; 469 bias-disable; 470 }; 470 }; 471 }; 471 }; 472 }; 472 }; 473 473 474 &usb { 474 &usb { 475 status = "okay"; 475 status = "okay"; 476 476 477 phys = <&usb_hs2_phy>; 477 phys = <&usb_hs2_phy>; 478 phy-select = <&tcsr 0xb000 1>; 478 phy-select = <&tcsr 0xb000 1>; 479 extcon = <&smbb>, <&usb_id>; 479 extcon = <&smbb>, <&usb_id>; 480 vbus-supply = <&chg_otg>; 480 vbus-supply = <&chg_otg>; 481 hnp-disable; 481 hnp-disable; 482 srp-disable; 482 srp-disable; 483 adp-disable; 483 adp-disable; 484 }; 484 }; 485 485 486 &usb_hs2_phy { 486 &usb_hs2_phy { 487 status = "okay"; 487 status = "okay"; 488 v3p3-supply = <&pm8941_l24>; 488 v3p3-supply = <&pm8941_l24>; 489 v1p8-supply = <&pm8941_l6>; 489 v1p8-supply = <&pm8941_l6>; 490 extcon = <&smbb>; 490 extcon = <&smbb>; 491 qcom,init-seq = /bits/ 8 <0x1 0x63>; 491 qcom,init-seq = /bits/ 8 <0x1 0x63>; 492 }; 492 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.