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