|
446 | 446 | reg = <0x38>; |
447 | 447 | #gpio-cells = <2>; |
448 | 448 | gpio-controller; |
| 449 | + #interrupt-cells = <2>; |
| 450 | + interrupt-controller; |
| 451 | + interrupts-extended = <&tlmm 56 IRQ_TYPE_LEVEL_LOW>; |
| 452 | + pinctrl-0 = <&expander0_int>; |
| 453 | + pinctrl-names = "default"; |
449 | 454 | }; |
450 | 455 |
|
451 | 456 | expander1: gpio@39 { |
452 | 457 | compatible = "ti,tca9538"; |
453 | 458 | reg = <0x39>; |
454 | 459 | #gpio-cells = <2>; |
455 | 460 | gpio-controller; |
| 461 | + #interrupt-cells = <2>; |
| 462 | + interrupt-controller; |
| 463 | + interrupts-extended = <&tlmm 16 IRQ_TYPE_LEVEL_LOW>; |
| 464 | + pinctrl-0 = <&expander1_int>; |
| 465 | + pinctrl-names = "default"; |
456 | 466 | }; |
457 | 467 |
|
458 | 468 | expander2: gpio@3a { |
459 | 469 | compatible = "ti,tca9538"; |
460 | 470 | reg = <0x3a>; |
461 | 471 | #gpio-cells = <2>; |
462 | 472 | gpio-controller; |
| 473 | + #interrupt-cells = <2>; |
| 474 | + interrupt-controller; |
| 475 | + interrupts-extended = <&tlmm 95 IRQ_TYPE_LEVEL_LOW>; |
| 476 | + pinctrl-0 = <&expander2_int>; |
| 477 | + pinctrl-names = "default"; |
463 | 478 | }; |
464 | 479 |
|
465 | 480 | expander3: gpio@3b { |
466 | 481 | compatible = "ti,tca9538"; |
467 | 482 | reg = <0x3b>; |
468 | 483 | #gpio-cells = <2>; |
469 | 484 | gpio-controller; |
| 485 | + #interrupt-cells = <2>; |
| 486 | + interrupt-controller; |
| 487 | + interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>; |
| 488 | + pinctrl-0 = <&expander3_int>; |
| 489 | + pinctrl-names = "default"; |
470 | 490 | }; |
471 | 491 |
|
472 | 492 | expander4: gpio@3c { |
473 | 493 | compatible = "ti,tca9538"; |
474 | 494 | reg = <0x3c>; |
475 | 495 | #gpio-cells = <2>; |
476 | 496 | gpio-controller; |
| 497 | + #interrupt-cells = <2>; |
| 498 | + interrupt-controller; |
| 499 | + interrupts-extended = <&tlmm 96 IRQ_TYPE_LEVEL_LOW>; |
| 500 | + pinctrl-0 = <&expander4_int>; |
| 501 | + pinctrl-names = "default"; |
477 | 502 | }; |
478 | 503 |
|
479 | 504 | expander5: gpio@3d { |
480 | 505 | compatible = "ti,tca9538"; |
481 | 506 | reg = <0x3d>; |
482 | 507 | #gpio-cells = <2>; |
483 | 508 | gpio-controller; |
| 509 | + #interrupt-cells = <2>; |
| 510 | + interrupt-controller; |
| 511 | + interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; |
| 512 | + pinctrl-0 = <&expander5_int>; |
| 513 | + pinctrl-names = "default"; |
484 | 514 | }; |
485 | 515 |
|
486 | 516 | expander6: gpio@3e { |
487 | 517 | compatible = "ti,tca9538"; |
488 | 518 | reg = <0x3e>; |
489 | 519 | #gpio-cells = <2>; |
490 | 520 | gpio-controller; |
| 521 | + #interrupt-cells = <2>; |
| 522 | + interrupt-controller; |
| 523 | + interrupts-extended = <&tlmm 52 IRQ_TYPE_LEVEL_LOW>; |
| 524 | + pinctrl-0 = <&expander6_int>; |
| 525 | + pinctrl-names = "default"; |
491 | 526 | }; |
492 | 527 | }; |
493 | 528 |
|
|
633 | 668 | }; |
634 | 669 | }; |
635 | 670 |
|
| 671 | + expander0_int: expander0-int-state { |
| 672 | + pins = "gpio56"; |
| 673 | + function = "gpio"; |
| 674 | + bias-pull-up; |
| 675 | + }; |
| 676 | + |
| 677 | + expander1_int: expander1-int-state { |
| 678 | + pins = "gpio16"; |
| 679 | + function = "gpio"; |
| 680 | + bias-pull-up; |
| 681 | + }; |
| 682 | + |
| 683 | + expander2_int: expander2-int-state { |
| 684 | + pins = "gpio95"; |
| 685 | + function = "gpio"; |
| 686 | + bias-pull-up; |
| 687 | + }; |
| 688 | + |
| 689 | + expander3_int: expander3-int-state { |
| 690 | + pins = "gpio24"; |
| 691 | + function = "gpio"; |
| 692 | + bias-pull-up; |
| 693 | + }; |
| 694 | + |
| 695 | + expander4_int: expander4-int-state { |
| 696 | + pins = "gpio96"; |
| 697 | + function = "gpio"; |
| 698 | + bias-pull-up; |
| 699 | + }; |
| 700 | + |
| 701 | + expander5_int: expander5-int-state { |
| 702 | + pins = "gpio3"; |
| 703 | + function = "gpio"; |
| 704 | + bias-pull-up; |
| 705 | + }; |
| 706 | + |
| 707 | + expander6_int: expander6-int-state { |
| 708 | + pins = "gpio52"; |
| 709 | + function = "gpio"; |
| 710 | + bias-pull-up; |
| 711 | + }; |
| 712 | + |
636 | 713 | pcie0_default_state: pcie0-default-state { |
637 | 714 | wake-pins { |
638 | 715 | pins = "gpio0"; |
|
0 commit comments