Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.3-rc2 674 lines 13 kB view raw
1// SPDX-License-Identifier: GPL-2.0 2#include "qcom-msm8974pro.dtsi" 3#include "qcom-pm8841.dtsi" 4#include "qcom-pm8941.dtsi" 5#include <dt-bindings/input/input.h> 6#include <dt-bindings/leds/common.h> 7#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 8 9/ { 10 model = "Sony Xperia Z2 Tablet"; 11 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974"; 12 chassis-type = "tablet"; 13 14 aliases { 15 serial0 = &blsp1_uart2; 16 serial1 = &blsp2_uart1; 17 }; 18 19 chosen { 20 stdout-path = "serial0:115200n8"; 21 }; 22 23 gpio-keys { 24 compatible = "gpio-keys"; 25 26 pinctrl-names = "default"; 27 pinctrl-0 = <&gpio_keys_pin_a>; 28 29 key-volume-down { 30 label = "volume_down"; 31 gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>; 32 linux,input-type = <1>; 33 linux,code = <KEY_VOLUMEDOWN>; 34 }; 35 36 key-camera-snapshot { 37 label = "camera_snapshot"; 38 gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>; 39 linux,input-type = <1>; 40 linux,code = <KEY_CAMERA>; 41 }; 42 43 key-camera-focus { 44 label = "camera_focus"; 45 gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>; 46 linux,input-type = <1>; 47 linux,code = <KEY_CAMERA_FOCUS>; 48 }; 49 50 key-volume-up { 51 label = "volume_up"; 52 gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>; 53 linux,input-type = <1>; 54 linux,code = <KEY_VOLUMEUP>; 55 }; 56 }; 57 58 vreg_bl_vddio: lcd-backlight-vddio { 59 compatible = "regulator-fixed"; 60 regulator-name = "vreg_bl_vddio"; 61 regulator-min-microvolt = <3150000>; 62 regulator-max-microvolt = <3150000>; 63 64 gpio = <&tlmm 69 0>; 65 enable-active-high; 66 67 vin-supply = <&pm8941_s3>; 68 startup-delay-us = <70000>; 69 70 pinctrl-names = "default"; 71 pinctrl-0 = <&lcd_backlight_en_pin_a>; 72 }; 73 74 vreg_vsp: lcd-dcdc-regulator { 75 compatible = "regulator-fixed"; 76 regulator-name = "vreg_vsp"; 77 regulator-min-microvolt = <5600000>; 78 regulator-max-microvolt = <5600000>; 79 80 gpio = <&pm8941_gpios 20 GPIO_ACTIVE_HIGH>; 81 enable-active-high; 82 83 pinctrl-names = "default"; 84 pinctrl-0 = <&lcd_dcdc_en_pin_a>; 85 }; 86 87 vreg_wlan: wlan-regulator { 88 compatible = "regulator-fixed"; 89 90 regulator-name = "wl-reg"; 91 regulator-min-microvolt = <3300000>; 92 regulator-max-microvolt = <3300000>; 93 94 gpio = <&pm8941_gpios 18 GPIO_ACTIVE_HIGH>; 95 enable-active-high; 96 97 pinctrl-names = "default"; 98 pinctrl-0 = <&wlan_regulator_pin>; 99 }; 100}; 101 102&blsp1_uart2 { 103 status = "okay"; 104}; 105 106&blsp2_i2c2 { 107 status = "okay"; 108 clock-frequency = <355000>; 109 110 synaptics@2c { 111 compatible = "syna,rmi4-i2c"; 112 reg = <0x2c>; 113 114 interrupt-parent = <&tlmm>; 115 interrupts = <86 IRQ_TYPE_EDGE_FALLING>; 116 117 #address-cells = <1>; 118 #size-cells = <0>; 119 120 vdd-supply = <&pm8941_l22>; 121 vio-supply = <&pm8941_lvs3>; 122 123 pinctrl-names = "default"; 124 pinctrl-0 = <&ts_int_pin>; 125 126 syna,startup-delay-ms = <100>; 127 128 rmi-f01@1 { 129 reg = <0x1>; 130 syna,nosleep = <1>; 131 }; 132 133 rmi-f11@11 { 134 reg = <0x11>; 135 syna,f11-flip-x = <1>; 136 syna,sensor-type = <1>; 137 }; 138 }; 139}; 140 141&blsp2_i2c5 { 142 status = "okay"; 143 clock-frequency = <355000>; 144 145 lp8566_wled: backlight@2c { 146 compatible = "ti,lp8556"; 147 reg = <0x2c>; 148 power-supply = <&vreg_bl_vddio>; 149 150 bl-name = "backlight"; 151 dev-ctrl = /bits/ 8 <0x05>; 152 init-brt = /bits/ 8 <0x3f>; 153 rom_a0h { 154 rom-addr = /bits/ 8 <0xa0>; 155 rom-val = /bits/ 8 <0xff>; 156 }; 157 rom_a1h { 158 rom-addr = /bits/ 8 <0xa1>; 159 rom-val = /bits/ 8 <0x3f>; 160 }; 161 rom_a2h { 162 rom-addr = /bits/ 8 <0xa2>; 163 rom-val = /bits/ 8 <0x20>; 164 }; 165 rom_a3h { 166 rom-addr = /bits/ 8 <0xa3>; 167 rom-val = /bits/ 8 <0x5e>; 168 }; 169 rom_a4h { 170 rom-addr = /bits/ 8 <0xa4>; 171 rom-val = /bits/ 8 <0x02>; 172 }; 173 rom_a5h { 174 rom-addr = /bits/ 8 <0xa5>; 175 rom-val = /bits/ 8 <0x04>; 176 }; 177 rom_a6h { 178 rom-addr = /bits/ 8 <0xa6>; 179 rom-val = /bits/ 8 <0x80>; 180 }; 181 rom_a7h { 182 rom-addr = /bits/ 8 <0xa7>; 183 rom-val = /bits/ 8 <0xf7>; 184 }; 185 rom_a9h { 186 rom-addr = /bits/ 8 <0xa9>; 187 rom-val = /bits/ 8 <0x80>; 188 }; 189 rom_aah { 190 rom-addr = /bits/ 8 <0xaa>; 191 rom-val = /bits/ 8 <0x0f>; 192 }; 193 rom_aeh { 194 rom-addr = /bits/ 8 <0xae>; 195 rom-val = /bits/ 8 <0x0f>; 196 }; 197 }; 198}; 199 200&blsp2_uart1 { 201 status = "okay"; 202 203 bluetooth { 204 compatible = "brcm,bcm43438-bt"; 205 max-speed = <3000000>; 206 207 pinctrl-names = "default"; 208 pinctrl-0 = <&bt_host_wake_pin>, <&bt_dev_wake_pin>, <&bt_reg_on_pin>; 209 210 host-wakeup-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; 211 device-wakeup-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 212 shutdown-gpios = <&pm8941_gpios 16 GPIO_ACTIVE_HIGH>; 213 }; 214}; 215 216&pm8941_coincell { 217 status = "okay"; 218 219 qcom,rset-ohms = <2100>; 220 qcom,vset-millivolts = <3000>; 221}; 222 223&pm8941_gpios { 224 gpio_keys_pin_a: gpio-keys-active-state { 225 pins = "gpio2", "gpio5"; 226 function = "normal"; 227 228 bias-pull-up; 229 power-source = <PM8941_GPIO_S3>; 230 }; 231 232 bt_reg_on_pin: bt-reg-on-state { 233 pins = "gpio16"; 234 function = "normal"; 235 236 output-low; 237 power-source = <PM8941_GPIO_S3>; 238 }; 239 240 wlan_sleep_clk_pin: wl-sleep-clk-state { 241 pins = "gpio17"; 242 function = "func2"; 243 244 output-high; 245 power-source = <PM8941_GPIO_S3>; 246 }; 247 248 wlan_regulator_pin: wl-reg-active-state { 249 pins = "gpio18"; 250 function = "normal"; 251 252 bias-disable; 253 power-source = <PM8941_GPIO_S3>; 254 }; 255 256 lcd_dcdc_en_pin_a: lcd-dcdc-en-active-state { 257 pins = "gpio20"; 258 function = "normal"; 259 260 bias-disable; 261 power-source = <PM8941_GPIO_S3>; 262 input-disable; 263 output-low; 264 }; 265 266}; 267 268&pm8941_lpg { 269 status = "okay"; 270 271 qcom,power-source = <1>; 272 273 multi-led { 274 color = <LED_COLOR_ID_RGB>; 275 function = LED_FUNCTION_STATUS; 276 277 #address-cells = <1>; 278 #size-cells = <0>; 279 280 led@5 { 281 reg = <5>; 282 color = <LED_COLOR_ID_BLUE>; 283 }; 284 285 led@6 { 286 reg = <6>; 287 color = <LED_COLOR_ID_GREEN>; 288 }; 289 290 led@7 { 291 reg = <7>; 292 color = <LED_COLOR_ID_RED>; 293 }; 294 }; 295}; 296 297&remoteproc_adsp { 298 cx-supply = <&pm8841_s2>; 299}; 300 301&remoteproc_mss { 302 cx-supply = <&pm8841_s2>; 303 mss-supply = <&pm8841_s3>; 304 mx-supply = <&pm8841_s1>; 305 pll-supply = <&pm8941_l12>; 306}; 307 308&rpm_requests { 309 regulators-0 { 310 compatible = "qcom,rpm-pm8841-regulators"; 311 312 pm8841_s1: s1 { 313 regulator-min-microvolt = <675000>; 314 regulator-max-microvolt = <1050000>; 315 }; 316 317 pm8841_s2: s2 { 318 regulator-min-microvolt = <500000>; 319 regulator-max-microvolt = <1050000>; 320 }; 321 322 pm8841_s3: s3 { 323 regulator-min-microvolt = <500000>; 324 regulator-max-microvolt = <1050000>; 325 }; 326 327 pm8841_s4: s4 { 328 regulator-min-microvolt = <500000>; 329 regulator-max-microvolt = <1050000>; 330 }; 331 }; 332 333 regulators-1 { 334 compatible = "qcom,rpm-pm8941-regulators"; 335 336 vdd_l1_l3-supply = <&pm8941_s1>; 337 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>; 338 vdd_l4_l11-supply = <&pm8941_s1>; 339 vdd_l5_l7-supply = <&pm8941_s2>; 340 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>; 341 vdd_l9_l10_l17_l22-supply = <&vreg_boost>; 342 vdd_l13_l20_l23_l24-supply = <&vreg_boost>; 343 vdd_l21-supply = <&vreg_boost>; 344 345 pm8941_s1: s1 { 346 regulator-min-microvolt = <1300000>; 347 regulator-max-microvolt = <1300000>; 348 regulator-always-on; 349 regulator-boot-on; 350 }; 351 352 pm8941_s2: s2 { 353 regulator-min-microvolt = <2150000>; 354 regulator-max-microvolt = <2150000>; 355 regulator-boot-on; 356 }; 357 358 pm8941_s3: s3 { 359 regulator-min-microvolt = <1800000>; 360 regulator-max-microvolt = <1800000>; 361 regulator-system-load = <154000>; 362 regulator-always-on; 363 regulator-boot-on; 364 }; 365 366 pm8941_s4: s4 { 367 regulator-min-microvolt = <5000000>; 368 regulator-max-microvolt = <5000000>; 369 }; 370 371 pm8941_l1: l1 { 372 regulator-min-microvolt = <1225000>; 373 regulator-max-microvolt = <1225000>; 374 regulator-always-on; 375 regulator-boot-on; 376 }; 377 378 pm8941_l2: l2 { 379 regulator-min-microvolt = <1200000>; 380 regulator-max-microvolt = <1200000>; 381 }; 382 383 pm8941_l3: l3 { 384 regulator-min-microvolt = <1200000>; 385 regulator-max-microvolt = <1200000>; 386 }; 387 388 pm8941_l4: l4 { 389 regulator-min-microvolt = <1225000>; 390 regulator-max-microvolt = <1225000>; 391 }; 392 393 pm8941_l5: l5 { 394 regulator-min-microvolt = <1800000>; 395 regulator-max-microvolt = <1800000>; 396 }; 397 398 pm8941_l6: l6 { 399 regulator-min-microvolt = <1800000>; 400 regulator-max-microvolt = <1800000>; 401 regulator-boot-on; 402 }; 403 404 pm8941_l7: l7 { 405 regulator-min-microvolt = <1800000>; 406 regulator-max-microvolt = <1800000>; 407 regulator-boot-on; 408 }; 409 410 pm8941_l8: l8 { 411 regulator-min-microvolt = <1800000>; 412 regulator-max-microvolt = <1800000>; 413 }; 414 415 pm8941_l9: l9 { 416 regulator-min-microvolt = <1800000>; 417 regulator-max-microvolt = <2950000>; 418 }; 419 420 pm8941_l11: l11 { 421 regulator-min-microvolt = <1300000>; 422 regulator-max-microvolt = <1350000>; 423 }; 424 425 pm8941_l12: l12 { 426 regulator-min-microvolt = <1800000>; 427 regulator-max-microvolt = <1800000>; 428 regulator-always-on; 429 regulator-boot-on; 430 }; 431 432 pm8941_l13: l13 { 433 regulator-min-microvolt = <1800000>; 434 regulator-max-microvolt = <2950000>; 435 regulator-boot-on; 436 }; 437 438 pm8941_l14: l14 { 439 regulator-min-microvolt = <1800000>; 440 regulator-max-microvolt = <1800000>; 441 }; 442 443 pm8941_l15: l15 { 444 regulator-min-microvolt = <2050000>; 445 regulator-max-microvolt = <2050000>; 446 }; 447 448 pm8941_l16: l16 { 449 regulator-min-microvolt = <2700000>; 450 regulator-max-microvolt = <2700000>; 451 }; 452 453 pm8941_l17: l17 { 454 regulator-min-microvolt = <2700000>; 455 regulator-max-microvolt = <2700000>; 456 }; 457 458 pm8941_l18: l18 { 459 regulator-min-microvolt = <2850000>; 460 regulator-max-microvolt = <2850000>; 461 }; 462 463 pm8941_l19: l19 { 464 regulator-min-microvolt = <2850000>; 465 regulator-max-microvolt = <2850000>; 466 }; 467 468 pm8941_l20: l20 { 469 regulator-min-microvolt = <2950000>; 470 regulator-max-microvolt = <2950000>; 471 regulator-system-load = <500000>; 472 regulator-allow-set-load; 473 regulator-boot-on; 474 }; 475 476 pm8941_l21: l21 { 477 regulator-min-microvolt = <2950000>; 478 regulator-max-microvolt = <2950000>; 479 regulator-boot-on; 480 }; 481 482 pm8941_l22: l22 { 483 regulator-min-microvolt = <3000000>; 484 regulator-max-microvolt = <3000000>; 485 }; 486 487 pm8941_l23: l23 { 488 regulator-min-microvolt = <2800000>; 489 regulator-max-microvolt = <2800000>; 490 }; 491 492 pm8941_l24: l24 { 493 regulator-min-microvolt = <3075000>; 494 regulator-max-microvolt = <3075000>; 495 regulator-boot-on; 496 }; 497 498 pm8941_lvs3: lvs3 {}; 499 }; 500}; 501 502&sdhc_1 { 503 status = "okay"; 504 505 vmmc-supply = <&pm8941_l20>; 506 vqmmc-supply = <&pm8941_s3>; 507 508 pinctrl-names = "default", "sleep"; 509 pinctrl-0 = <&sdc1_on>; 510 pinctrl-1 = <&sdc1_off>; 511}; 512 513&sdhc_2 { 514 status = "okay"; 515 516 vmmc-supply = <&pm8941_l21>; 517 vqmmc-supply = <&pm8941_l13>; 518 519 cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; 520 521 pinctrl-names = "default", "sleep"; 522 pinctrl-0 = <&sdc2_on>; 523 pinctrl-1 = <&sdc2_off>; 524}; 525 526&sdhc_3 { 527 status = "okay"; 528 529 max-frequency = <100000000>; 530 vmmc-supply = <&vreg_wlan>; 531 non-removable; 532 533 pinctrl-names = "default"; 534 pinctrl-0 = <&sdc3_on>; 535 536 #address-cells = <1>; 537 #size-cells = <0>; 538 539 bcrmf@1 { 540 compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac"; 541 reg = <1>; 542 543 brcm,drive-strength = <10>; 544 545 pinctrl-names = "default"; 546 pinctrl-0 = <&wlan_sleep_clk_pin>; 547 }; 548}; 549 550&smbb { 551 qcom,fast-charge-safe-current = <1500000>; 552 qcom,fast-charge-current-limit = <1500000>; 553 qcom,dc-current-limit = <1800000>; 554 usb-charge-current-limit = <1800000>; 555 qcom,fast-charge-safe-voltage = <4400000>; 556 qcom,fast-charge-high-threshold-voltage = <4350000>; 557 qcom,fast-charge-low-threshold-voltage = <3400000>; 558 qcom,auto-recharge-threshold-voltage = <4200000>; 559 qcom,minimum-input-voltage = <4300000>; 560}; 561 562&tlmm { 563 lcd_backlight_en_pin_a: lcd-backlight-vddio-state { 564 pins = "gpio69"; 565 function = "gpio"; 566 drive-strength = <10>; 567 output-low; 568 bias-disable; 569 }; 570 571 sdc1_on: sdc1-on-state { 572 clk-pins { 573 pins = "sdc1_clk"; 574 drive-strength = <16>; 575 bias-disable; 576 }; 577 578 cmd-data-pins { 579 pins = "sdc1_cmd", "sdc1_data"; 580 drive-strength = <10>; 581 bias-pull-up; 582 }; 583 }; 584 585 sdc2_on: sdc2-on-state { 586 clk-pins { 587 pins = "sdc2_clk"; 588 drive-strength = <6>; 589 bias-disable; 590 }; 591 592 cmd-data-pins { 593 pins = "sdc2_cmd", "sdc2_data"; 594 drive-strength = <6>; 595 bias-pull-up; 596 }; 597 598 cd-pins { 599 pins = "gpio62"; 600 function = "gpio"; 601 drive-strength = <2>; 602 bias-disable; 603 }; 604 }; 605 606 sdc3_on: sdc3-on-state { 607 clk-pins { 608 pins = "gpio40"; 609 function = "sdc3"; 610 drive-strength = <10>; 611 bias-disable; 612 }; 613 614 cmd-pins { 615 pins = "gpio39"; 616 function = "sdc3"; 617 drive-strength = <10>; 618 bias-pull-up; 619 }; 620 621 data-pins { 622 pins = "gpio35", "gpio36", "gpio37", "gpio38"; 623 function = "sdc3"; 624 drive-strength = <10>; 625 bias-pull-up; 626 }; 627 }; 628 629 ts_int_pin: ts-int-pin-state { 630 pins = "gpio86"; 631 function = "gpio"; 632 drive-strength = <2>; 633 bias-disable; 634 input-enable; 635 }; 636 637 bt_host_wake_pin: bt-host-wake-state { 638 pins = "gpio95"; 639 function = "gpio"; 640 drive-strength = <2>; 641 bias-disable; 642 output-low; 643 }; 644 645 bt_dev_wake_pin: bt-dev-wake-state { 646 pins = "gpio96"; 647 function = "gpio"; 648 drive-strength = <2>; 649 bias-disable; 650 }; 651}; 652 653&usb { 654 status = "okay"; 655 656 phys = <&usb_hs1_phy>; 657 phy-select = <&tcsr 0xb000 0>; 658 extcon = <&smbb>, <&usb_id>; 659 vbus-supply = <&chg_otg>; 660 661 hnp-disable; 662 srp-disable; 663 adp-disable; 664}; 665 666&usb_hs1_phy { 667 status = "okay"; 668 669 v1p8-supply = <&pm8941_l6>; 670 v3p3-supply = <&pm8941_l24>; 671 672 extcon = <&smbb>; 673 qcom,init-seq = /bits/ 8 <0x1 0x64>; 674};