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