1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 2 #include "qcom-msm8974pro.dtsi" 3 #include "pm8841.dtsi" 3 #include "pm8841.dtsi" 4 #include "pm8941.dtsi" 4 #include "pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 8 8 9 / { 9 / { 10 model = "Fairphone 2"; 10 model = "Fairphone 2"; 11 compatible = "fairphone,fp2", "qcom,ms 11 compatible = "fairphone,fp2", "qcom,msm8974pro", "qcom,msm8974"; 12 chassis-type = "handset"; 12 chassis-type = "handset"; 13 13 14 aliases { 14 aliases { 15 mmc0 = &sdhc_1; 15 mmc0 = &sdhc_1; 16 mmc1 = &sdhc_2; 16 mmc1 = &sdhc_2; 17 serial0 = &blsp1_uart2; 17 serial0 = &blsp1_uart2; 18 }; 18 }; 19 19 20 chosen { 20 chosen { 21 stdout-path = "serial0:115200n 21 stdout-path = "serial0:115200n8"; 22 }; 22 }; 23 23 24 gpio-keys { 24 gpio-keys { 25 compatible = "gpio-keys"; 25 compatible = "gpio-keys"; 26 26 27 pinctrl-names = "default"; 27 pinctrl-names = "default"; 28 pinctrl-0 = <&gpio_keys_pin_a> 28 pinctrl-0 = <&gpio_keys_pin_a>; 29 29 30 key-camera-snapshot { 30 key-camera-snapshot { 31 label = "camera_snapsh 31 label = "camera_snapshot"; 32 gpios = <&pm8941_gpios 32 gpios = <&pm8941_gpios 1 GPIO_ACTIVE_LOW>; 33 linux,code = <KEY_CAME 33 linux,code = <KEY_CAMERA>; 34 wakeup-source; 34 wakeup-source; 35 debounce-interval = <1 35 debounce-interval = <15>; 36 }; 36 }; 37 37 38 key-volume-down { 38 key-volume-down { 39 label = "volume_down"; 39 label = "volume_down"; 40 gpios = <&pm8941_gpios 40 gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>; 41 linux,code = <KEY_VOLU 41 linux,code = <KEY_VOLUMEDOWN>; 42 wakeup-source; 42 wakeup-source; 43 debounce-interval = <1 43 debounce-interval = <15>; 44 }; 44 }; 45 45 46 key-volume-up { 46 key-volume-up { 47 label = "volume_up"; 47 label = "volume_up"; 48 gpios = <&pm8941_gpios 48 gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>; 49 linux,code = <KEY_VOLU 49 linux,code = <KEY_VOLUMEUP>; 50 wakeup-source; 50 wakeup-source; 51 debounce-interval = <1 51 debounce-interval = <15>; 52 }; 52 }; 53 }; 53 }; 54 54 55 vibrator { 55 vibrator { 56 compatible = "gpio-vibrator"; 56 compatible = "gpio-vibrator"; 57 enable-gpios = <&tlmm 86 GPIO_ 57 enable-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>; 58 vcc-supply = <&pm8941_l18>; 58 vcc-supply = <&pm8941_l18>; 59 }; 59 }; 60 << 61 vreg_boost: vreg-boost { << 62 compatible = "regulator-fixed" << 63 << 64 regulator-name = "vreg-boost"; << 65 regulator-min-microvolt = <315 << 66 regulator-max-microvolt = <315 << 67 << 68 regulator-always-on; << 69 regulator-boot-on; << 70 << 71 gpio = <&pm8941_gpios 21 GPIO_ << 72 enable-active-high; << 73 << 74 pinctrl-names = "default"; << 75 pinctrl-0 = <&boost_bypass_n_p << 76 }; << 77 << 78 vreg_vph_pwr: vreg-vph-pwr { << 79 compatible = "regulator-fixed" << 80 regulator-name = "vph-pwr"; << 81 << 82 regulator-min-microvolt = <360 << 83 regulator-max-microvolt = <360 << 84 << 85 regulator-always-on; << 86 }; << 87 }; 60 }; 88 61 89 &blsp1_i2c2 { 62 &blsp1_i2c2 { 90 status = "okay"; 63 status = "okay"; 91 64 92 touchscreen@41 { 65 touchscreen@41 { 93 compatible = "ilitek,ili2120"; 66 compatible = "ilitek,ili2120"; 94 reg = <0x41>; 67 reg = <0x41>; 95 interrupt-parent = <&tlmm>; 68 interrupt-parent = <&tlmm>; 96 interrupts = <28 IRQ_TYPE_EDGE 69 interrupts = <28 IRQ_TYPE_EDGE_FALLING>; 97 reset-gpios = <&tlmm 55 GPIO_A 70 reset-gpios = <&tlmm 55 GPIO_ACTIVE_LOW>; 98 71 99 touchscreen-size-x = <1080>; 72 touchscreen-size-x = <1080>; 100 touchscreen-size-y = <1920>; 73 touchscreen-size-y = <1920>; 101 }; 74 }; 102 }; 75 }; 103 76 104 &blsp1_uart2 { 77 &blsp1_uart2 { 105 status = "okay"; 78 status = "okay"; 106 }; 79 }; 107 80 108 &imem { 81 &imem { 109 reboot-mode { 82 reboot-mode { 110 mode-normal = <0x77665501>; 83 mode-normal = <0x77665501>; 111 mode-bootloader = <0x77665500> 84 mode-bootloader = <0x77665500>; 112 mode-recovery = <0x77665502>; 85 mode-recovery = <0x77665502>; 113 }; 86 }; 114 }; 87 }; 115 88 116 &pm8941_gpios { 89 &pm8941_gpios { 117 gpio_keys_pin_a: gpio-keys-active-stat 90 gpio_keys_pin_a: gpio-keys-active-state { 118 pins = "gpio1", "gpio2", "gpio 91 pins = "gpio1", "gpio2", "gpio5"; 119 function = "normal"; 92 function = "normal"; 120 93 121 bias-pull-up; 94 bias-pull-up; 122 power-source = <PM8941_GPIO_S3 95 power-source = <PM8941_GPIO_S3>; 123 }; 96 }; 124 }; 97 }; 125 98 126 &pm8941_lpg { 99 &pm8941_lpg { 127 status = "okay"; 100 status = "okay"; 128 101 129 qcom,power-source = <1>; 102 qcom,power-source = <1>; 130 103 131 multi-led { 104 multi-led { 132 color = <LED_COLOR_ID_RGB>; 105 color = <LED_COLOR_ID_RGB>; 133 function = LED_FUNCTION_STATUS 106 function = LED_FUNCTION_STATUS; 134 107 135 #address-cells = <1>; 108 #address-cells = <1>; 136 #size-cells = <0>; 109 #size-cells = <0>; 137 110 138 led@7 { 111 led@7 { 139 reg = <7>; 112 reg = <7>; 140 color = <LED_COLOR_ID_ 113 color = <LED_COLOR_ID_RED>; 141 }; 114 }; 142 115 143 led@6 { 116 led@6 { 144 reg = <6>; 117 reg = <6>; 145 color = <LED_COLOR_ID_ 118 color = <LED_COLOR_ID_GREEN>; 146 }; 119 }; 147 120 148 led@5 { 121 led@5 { 149 reg = <5>; 122 reg = <5>; 150 color = <LED_COLOR_ID_ 123 color = <LED_COLOR_ID_BLUE>; 151 }; 124 }; 152 }; 125 }; 153 }; 126 }; 154 127 155 &pronto { 128 &pronto { 156 status = "okay"; 129 status = "okay"; 157 130 158 vddmx-supply = <&pm8841_s1>; 131 vddmx-supply = <&pm8841_s1>; 159 vddcx-supply = <&pm8841_s2>; 132 vddcx-supply = <&pm8841_s2>; 160 vddpx-supply = <&pm8941_s3>; 133 vddpx-supply = <&pm8941_s3>; 161 134 162 pinctrl-names = "default"; 135 pinctrl-names = "default"; 163 pinctrl-0 = <&wcnss_pin_a>; 136 pinctrl-0 = <&wcnss_pin_a>; 164 137 165 iris { 138 iris { 166 vddxo-supply = <&pm8941_l6>; 139 vddxo-supply = <&pm8941_l6>; 167 vddrfa-supply = <&pm8941_l11>; 140 vddrfa-supply = <&pm8941_l11>; 168 vddpa-supply = <&pm8941_l19>; 141 vddpa-supply = <&pm8941_l19>; 169 vdddig-supply = <&pm8941_s3>; 142 vdddig-supply = <&pm8941_s3>; 170 }; 143 }; 171 144 172 smd-edge { 145 smd-edge { 173 qcom,remote-pid = <4>; 146 qcom,remote-pid = <4>; 174 label = "pronto"; 147 label = "pronto"; 175 148 176 wcnss { 149 wcnss { 177 status = "okay"; 150 status = "okay"; 178 }; 151 }; 179 }; 152 }; 180 }; 153 }; 181 154 182 &remoteproc_adsp { 155 &remoteproc_adsp { 183 status = "okay"; 156 status = "okay"; 184 cx-supply = <&pm8841_s2>; 157 cx-supply = <&pm8841_s2>; 185 }; 158 }; 186 159 187 &remoteproc_mss { 160 &remoteproc_mss { 188 status = "okay"; 161 status = "okay"; 189 cx-supply = <&pm8841_s2>; 162 cx-supply = <&pm8841_s2>; 190 mss-supply = <&pm8841_s3>; 163 mss-supply = <&pm8841_s3>; 191 mx-supply = <&pm8841_s1>; 164 mx-supply = <&pm8841_s1>; 192 pll-supply = <&pm8941_l12>; 165 pll-supply = <&pm8941_l12>; 193 }; 166 }; 194 167 195 &rpm_requests { 168 &rpm_requests { 196 regulators-0 { 169 regulators-0 { 197 compatible = "qcom,rpm-pm8841- 170 compatible = "qcom,rpm-pm8841-regulators"; 198 171 199 pm8841_s1: s1 { 172 pm8841_s1: s1 { 200 regulator-min-microvol 173 regulator-min-microvolt = <675000>; 201 regulator-max-microvol 174 regulator-max-microvolt = <1050000>; 202 }; 175 }; 203 176 204 pm8841_s2: s2 { 177 pm8841_s2: s2 { 205 regulator-min-microvol 178 regulator-min-microvolt = <500000>; 206 regulator-max-microvol 179 regulator-max-microvolt = <1050000>; 207 }; 180 }; 208 181 209 pm8841_s3: s3 { 182 pm8841_s3: s3 { 210 regulator-min-microvol 183 regulator-min-microvolt = <1050000>; 211 regulator-max-microvol 184 regulator-max-microvolt = <1050000>; 212 }; 185 }; 213 }; 186 }; 214 187 215 regulators-1 { 188 regulators-1 { 216 compatible = "qcom,rpm-pm8941- 189 compatible = "qcom,rpm-pm8941-regulators"; 217 190 218 vdd_l1_l3-supply = <&pm8941_s1 191 vdd_l1_l3-supply = <&pm8941_s1>; 219 vdd_l2_lvs1_2_3-supply = <&pm8 192 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>; 220 vdd_l4_l11-supply = <&pm8941_s 193 vdd_l4_l11-supply = <&pm8941_s1>; 221 vdd_l5_l7-supply = <&pm8941_s2 194 vdd_l5_l7-supply = <&pm8941_s2>; 222 vdd_l6_l12_l14_l15-supply = <& 195 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>; 223 vdd_l9_l10_l17_l22-supply = <& 196 vdd_l9_l10_l17_l22-supply = <&vreg_boost>; 224 vdd_l13_l20_l23_l24-supply = < 197 vdd_l13_l20_l23_l24-supply = <&vreg_boost>; 225 vdd_l21-supply = <&vreg_boost> 198 vdd_l21-supply = <&vreg_boost>; 226 199 227 pm8941_s1: s1 { 200 pm8941_s1: s1 { 228 regulator-min-microvol 201 regulator-min-microvolt = <1300000>; 229 regulator-max-microvol 202 regulator-max-microvolt = <1300000>; 230 regulator-always-on; 203 regulator-always-on; 231 regulator-boot-on; 204 regulator-boot-on; 232 }; 205 }; 233 206 234 pm8941_s2: s2 { 207 pm8941_s2: s2 { 235 regulator-min-microvol 208 regulator-min-microvolt = <2150000>; 236 regulator-max-microvol 209 regulator-max-microvolt = <2150000>; 237 regulator-boot-on; 210 regulator-boot-on; 238 }; 211 }; 239 212 240 pm8941_s3: s3 { 213 pm8941_s3: s3 { 241 regulator-min-microvol 214 regulator-min-microvolt = <1800000>; 242 regulator-max-microvol 215 regulator-max-microvolt = <1800000>; 243 regulator-always-on; 216 regulator-always-on; 244 regulator-boot-on; 217 regulator-boot-on; 245 }; 218 }; 246 219 247 pm8941_l1: l1 { 220 pm8941_l1: l1 { 248 regulator-min-microvol 221 regulator-min-microvolt = <1225000>; 249 regulator-max-microvol 222 regulator-max-microvolt = <1225000>; 250 regulator-always-on; 223 regulator-always-on; 251 regulator-boot-on; 224 regulator-boot-on; 252 }; 225 }; 253 226 254 pm8941_l2: l2 { 227 pm8941_l2: l2 { 255 regulator-min-microvol 228 regulator-min-microvolt = <1200000>; 256 regulator-max-microvol 229 regulator-max-microvolt = <1200000>; 257 }; 230 }; 258 231 259 pm8941_l3: l3 { 232 pm8941_l3: l3 { 260 regulator-min-microvol 233 regulator-min-microvolt = <1225000>; 261 regulator-max-microvol 234 regulator-max-microvolt = <1225000>; 262 }; 235 }; 263 236 264 pm8941_l4: l4 { 237 pm8941_l4: l4 { 265 regulator-min-microvol 238 regulator-min-microvolt = <1225000>; 266 regulator-max-microvol 239 regulator-max-microvolt = <1225000>; 267 }; 240 }; 268 241 269 pm8941_l5: l5 { 242 pm8941_l5: l5 { 270 regulator-min-microvol 243 regulator-min-microvolt = <1800000>; 271 regulator-max-microvol 244 regulator-max-microvolt = <1800000>; 272 }; 245 }; 273 246 274 pm8941_l6: l6 { 247 pm8941_l6: l6 { 275 regulator-min-microvol 248 regulator-min-microvolt = <1800000>; 276 regulator-max-microvol 249 regulator-max-microvolt = <1800000>; 277 regulator-boot-on; 250 regulator-boot-on; 278 }; 251 }; 279 252 280 pm8941_l7: l7 { 253 pm8941_l7: l7 { 281 regulator-min-microvol 254 regulator-min-microvolt = <1800000>; 282 regulator-max-microvol 255 regulator-max-microvolt = <1800000>; 283 regulator-boot-on; 256 regulator-boot-on; 284 }; 257 }; 285 258 286 pm8941_l8: l8 { 259 pm8941_l8: l8 { 287 regulator-min-microvol 260 regulator-min-microvolt = <1800000>; 288 regulator-max-microvol 261 regulator-max-microvolt = <1800000>; 289 }; 262 }; 290 263 291 pm8941_l9: l9 { 264 pm8941_l9: l9 { 292 regulator-min-microvol 265 regulator-min-microvolt = <1800000>; 293 regulator-max-microvol 266 regulator-max-microvolt = <2950000>; 294 }; 267 }; 295 268 296 pm8941_l10: l10 { 269 pm8941_l10: l10 { 297 regulator-min-microvol 270 regulator-min-microvolt = <1800000>; 298 regulator-max-microvol 271 regulator-max-microvolt = <2950000>; 299 }; 272 }; 300 273 301 pm8941_l11: l11 { 274 pm8941_l11: l11 { 302 regulator-min-microvol 275 regulator-min-microvolt = <1225000>; 303 regulator-max-microvol 276 regulator-max-microvolt = <1350000>; 304 }; 277 }; 305 278 306 pm8941_l12: l12 { 279 pm8941_l12: l12 { 307 regulator-min-microvol 280 regulator-min-microvolt = <1800000>; 308 regulator-max-microvol 281 regulator-max-microvolt = <1800000>; 309 regulator-always-on; 282 regulator-always-on; 310 regulator-boot-on; 283 regulator-boot-on; 311 }; 284 }; 312 285 313 pm8941_l13: l13 { 286 pm8941_l13: l13 { 314 regulator-min-microvol 287 regulator-min-microvolt = <1800000>; 315 regulator-max-microvol 288 regulator-max-microvolt = <2950000>; 316 regulator-boot-on; 289 regulator-boot-on; 317 }; 290 }; 318 291 319 pm8941_l14: l14 { 292 pm8941_l14: l14 { 320 regulator-min-microvol 293 regulator-min-microvolt = <1800000>; 321 regulator-max-microvol 294 regulator-max-microvolt = <1800000>; 322 }; 295 }; 323 296 324 pm8941_l15: l15 { 297 pm8941_l15: l15 { 325 regulator-min-microvol 298 regulator-min-microvolt = <2050000>; 326 regulator-max-microvol 299 regulator-max-microvolt = <2050000>; 327 }; 300 }; 328 301 329 pm8941_l16: l16 { 302 pm8941_l16: l16 { 330 regulator-min-microvol 303 regulator-min-microvolt = <2700000>; 331 regulator-max-microvol 304 regulator-max-microvolt = <2700000>; 332 }; 305 }; 333 306 334 pm8941_l17: l17 { 307 pm8941_l17: l17 { 335 regulator-min-microvol 308 regulator-min-microvolt = <2850000>; 336 regulator-max-microvol 309 regulator-max-microvolt = <2850000>; 337 }; 310 }; 338 311 339 pm8941_l18: l18 { 312 pm8941_l18: l18 { 340 regulator-min-microvol 313 regulator-min-microvolt = <2850000>; 341 regulator-max-microvol 314 regulator-max-microvolt = <2850000>; 342 }; 315 }; 343 316 344 pm8941_l19: l19 { 317 pm8941_l19: l19 { 345 regulator-min-microvol 318 regulator-min-microvolt = <2900000>; 346 regulator-max-microvol 319 regulator-max-microvolt = <3350000>; 347 }; 320 }; 348 321 349 pm8941_l20: l20 { 322 pm8941_l20: l20 { 350 regulator-min-microvol 323 regulator-min-microvolt = <2950000>; 351 regulator-max-microvol 324 regulator-max-microvolt = <2950000>; 352 regulator-system-load 325 regulator-system-load = <200000>; 353 regulator-allow-set-lo 326 regulator-allow-set-load; 354 regulator-boot-on; 327 regulator-boot-on; 355 }; 328 }; 356 329 357 pm8941_l21: l21 { 330 pm8941_l21: l21 { 358 regulator-min-microvol 331 regulator-min-microvolt = <2950000>; 359 regulator-max-microvol 332 regulator-max-microvolt = <2950000>; 360 regulator-boot-on; 333 regulator-boot-on; 361 }; 334 }; 362 335 363 pm8941_l22: l22 { 336 pm8941_l22: l22 { 364 regulator-min-microvol 337 regulator-min-microvolt = <3000000>; 365 regulator-max-microvol 338 regulator-max-microvolt = <3300000>; 366 }; 339 }; 367 340 368 pm8941_l23: l23 { 341 pm8941_l23: l23 { 369 regulator-min-microvol 342 regulator-min-microvolt = <3000000>; 370 regulator-max-microvol 343 regulator-max-microvolt = <3000000>; 371 }; 344 }; 372 345 373 pm8941_l24: l24 { 346 pm8941_l24: l24 { 374 regulator-min-microvol 347 regulator-min-microvolt = <3075000>; 375 regulator-max-microvol 348 regulator-max-microvolt = <3075000>; 376 regulator-boot-on; 349 regulator-boot-on; 377 }; 350 }; 378 }; 351 }; 379 }; 352 }; 380 353 381 &sdhc_1 { 354 &sdhc_1 { 382 status = "okay"; 355 status = "okay"; 383 356 384 vmmc-supply = <&pm8941_l20>; 357 vmmc-supply = <&pm8941_l20>; 385 vqmmc-supply = <&pm8941_s3>; 358 vqmmc-supply = <&pm8941_s3>; 386 359 387 pinctrl-names = "default", "sleep"; 360 pinctrl-names = "default", "sleep"; 388 pinctrl-0 = <&sdc1_on>; 361 pinctrl-0 = <&sdc1_on>; 389 pinctrl-1 = <&sdc1_off>; 362 pinctrl-1 = <&sdc1_off>; 390 }; 363 }; 391 364 392 &sdhc_2 { 365 &sdhc_2 { 393 status = "okay"; 366 status = "okay"; 394 367 395 vmmc-supply = <&pm8941_l21>; 368 vmmc-supply = <&pm8941_l21>; 396 vqmmc-supply = <&pm8941_l13>; 369 vqmmc-supply = <&pm8941_l13>; 397 370 398 pinctrl-names = "default", "sleep"; 371 pinctrl-names = "default", "sleep"; 399 pinctrl-0 = <&sdc2_on>; 372 pinctrl-0 = <&sdc2_on>; 400 pinctrl-1 = <&sdc2_off>; 373 pinctrl-1 = <&sdc2_off>; 401 }; 374 }; 402 375 403 &smbb { 376 &smbb { 404 usb-charge-current-limit = <1500000>; 377 usb-charge-current-limit = <1500000>; 405 qcom,fast-charge-safe-current = <15000 378 qcom,fast-charge-safe-current = <1500000>; 406 qcom,fast-charge-current-limit = <1500 379 qcom,fast-charge-current-limit = <1500000>; 407 qcom,fast-charge-safe-voltage = <43800 380 qcom,fast-charge-safe-voltage = <4380000>; 408 qcom,fast-charge-high-threshold-voltag 381 qcom,fast-charge-high-threshold-voltage = <4350000>; 409 qcom,auto-recharge-threshold-voltage = 382 qcom,auto-recharge-threshold-voltage = <4240000>; 410 qcom,minimum-input-voltage = <4450000> 383 qcom,minimum-input-voltage = <4450000>; 411 << 412 status = "okay"; << 413 }; 384 }; 414 385 415 &tlmm { 386 &tlmm { 416 sdc1_on: sdc1-on-state { 387 sdc1_on: sdc1-on-state { 417 clk-pins { 388 clk-pins { 418 pins = "sdc1_clk"; 389 pins = "sdc1_clk"; 419 drive-strength = <16>; 390 drive-strength = <16>; 420 bias-disable; 391 bias-disable; 421 }; 392 }; 422 393 423 cmd-data-pins { 394 cmd-data-pins { 424 pins = "sdc1_cmd", "sd 395 pins = "sdc1_cmd", "sdc1_data"; 425 drive-strength = <10>; 396 drive-strength = <10>; 426 bias-pull-up; 397 bias-pull-up; 427 }; 398 }; 428 }; 399 }; 429 400 430 sdc2_on: sdc2-on-state { 401 sdc2_on: sdc2-on-state { 431 clk-pins { 402 clk-pins { 432 pins = "sdc2_clk"; 403 pins = "sdc2_clk"; 433 drive-strength = <10>; 404 drive-strength = <10>; 434 bias-disable; 405 bias-disable; 435 }; 406 }; 436 407 437 cmd-data-pins { 408 cmd-data-pins { 438 pins = "sdc2_cmd", "sd 409 pins = "sdc2_cmd", "sdc2_data"; 439 drive-strength = <6>; 410 drive-strength = <6>; 440 bias-pull-up; 411 bias-pull-up; 441 }; 412 }; 442 }; 413 }; 443 414 444 wcnss_pin_a: wcnss-pin-active-state { 415 wcnss_pin_a: wcnss-pin-active-state { 445 wlan-pins { 416 wlan-pins { 446 pins = "gpio36", "gpio 417 pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40"; 447 function = "wlan"; 418 function = "wlan"; 448 419 449 drive-strength = <6>; 420 drive-strength = <6>; 450 bias-pull-down; 421 bias-pull-down; 451 }; 422 }; 452 423 453 bt-pins { 424 bt-pins { 454 pins = "gpio35", "gpio 425 pins = "gpio35", "gpio43", "gpio44"; 455 function = "bt"; 426 function = "bt"; 456 427 457 drive-strength = <2>; 428 drive-strength = <2>; 458 bias-pull-down; 429 bias-pull-down; 459 }; 430 }; 460 431 461 fm-pins { 432 fm-pins { 462 pins = "gpio41", "gpio 433 pins = "gpio41", "gpio42"; 463 function = "fm"; 434 function = "fm"; 464 435 465 drive-strength = <2>; 436 drive-strength = <2>; 466 bias-pull-down; 437 bias-pull-down; 467 }; 438 }; 468 }; 439 }; 469 }; 440 }; 470 441 471 &usb { 442 &usb { 472 status = "okay"; 443 status = "okay"; 473 444 474 phys = <&usb_hs1_phy>; 445 phys = <&usb_hs1_phy>; 475 phy-select = <&tcsr 0xb000 0>; 446 phy-select = <&tcsr 0xb000 0>; 476 extcon = <&smbb>, <&usb_id>; 447 extcon = <&smbb>, <&usb_id>; 477 vbus-supply = <&chg_otg>; 448 vbus-supply = <&chg_otg>; 478 449 479 hnp-disable; 450 hnp-disable; 480 srp-disable; 451 srp-disable; 481 adp-disable; 452 adp-disable; 482 }; 453 }; 483 454 484 &usb_hs1_phy { 455 &usb_hs1_phy { 485 status = "okay"; 456 status = "okay"; 486 457 487 v1p8-supply = <&pm8941_l6>; 458 v1p8-supply = <&pm8941_l6>; 488 v3p3-supply = <&pm8941_l24>; 459 v3p3-supply = <&pm8941_l24>; 489 460 490 extcon = <&smbb>; 461 extcon = <&smbb>; 491 qcom,init-seq = /bits/ 8 <0x1 0x64>; 462 qcom,init-seq = /bits/ 8 <0x1 0x64>; 492 }; 463 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.