.. | .. |
---|
93 | 93 | vdd-supply = <&pm8058_l14>; // 2.85V |
---|
94 | 94 | aset-gpios = <&pm8058_gpio 35 GPIO_ACTIVE_LOW>; |
---|
95 | 95 | capella,aset-resistance-ohms = <100000>; |
---|
96 | | - /* GPIO34 has interrupt 225 on the PM8058 */ |
---|
97 | 96 | /* Trig on both edges - getting close or far away */ |
---|
98 | | - interrupts-extended = <&pm8058 225 IRQ_TYPE_EDGE_BOTH>; |
---|
| 97 | + interrupts-extended = <&pm8058_gpio 34 IRQ_TYPE_EDGE_BOTH>; |
---|
99 | 98 | /* MPP05 analog input to the XOADC */ |
---|
100 | 99 | io-channels = <&xoadc 0x00 0x05>; |
---|
101 | 100 | io-channel-names = "aout"; |
---|
.. | .. |
---|
515 | 514 | ak8975@c { |
---|
516 | 515 | compatible = "asahi-kasei,ak8975"; |
---|
517 | 516 | reg = <0x0c>; |
---|
518 | | - /* FIXME: GPIO33 has interrupt 224 on the PM8058 */ |
---|
519 | | - interrupt-parent = <&pm8058>; |
---|
520 | | - interrupts = <224 IRQ_TYPE_EDGE_RISING>; |
---|
| 517 | + interrupt-parent = <&pm8058_gpio>; |
---|
| 518 | + interrupts = <33 IRQ_TYPE_EDGE_RISING>; |
---|
521 | 519 | pinctrl-names = "default"; |
---|
522 | 520 | pinctrl-0 = <&dragon_ak8975_gpios>; |
---|
523 | 521 | vid-supply = <&pm8058_lvs0>; // 1.8V |
---|
.. | .. |
---|
526 | 524 | bmp085@77 { |
---|
527 | 525 | compatible = "bosch,bmp085"; |
---|
528 | 526 | reg = <0x77>; |
---|
529 | | - /* FIXME: GPIO16 has interrupt 207 on the PM8058 */ |
---|
530 | | - interrupt-parent = <&pm8058>; |
---|
531 | | - interrupts = <207 IRQ_TYPE_EDGE_RISING>; |
---|
| 527 | + interrupt-parent = <&pm8058_gpio>; |
---|
| 528 | + interrupts = <16 IRQ_TYPE_EDGE_RISING>; |
---|
532 | 529 | reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>; |
---|
533 | 530 | pinctrl-names = "default"; |
---|
534 | 531 | pinctrl-0 = <&dragon_bmp085_gpios>; |
---|
.. | .. |
---|
539 | 536 | compatible = "invensense,mpu3050"; |
---|
540 | 537 | reg = <0x68>; |
---|
541 | 538 | /* |
---|
542 | | - * GPIO17 has interrupt 208 on the |
---|
543 | | - * PM8058, it is pulled high by a 10k |
---|
| 539 | + * GPIO17 is pulled high by a 10k |
---|
544 | 540 | * resistor to VLOGIC so needs to be |
---|
545 | 541 | * active low/falling edge. |
---|
546 | 542 | */ |
---|
547 | | - interrupts-extended = <&pm8058 208 IRQ_TYPE_EDGE_FALLING>; |
---|
| 543 | + interrupts-extended = <&pm8058_gpio 17 IRQ_TYPE_EDGE_FALLING>; |
---|
548 | 544 | pinctrl-names = "default"; |
---|
549 | 545 | pinctrl-0 = <&dragon_mpu3050_gpios>; |
---|
550 | 546 | vlogic-supply = <&pm8058_lvs0>; // 1.8V |
---|
.. | .. |
---|
589 | 585 | compatible = "smsc,lan9221", "smsc,lan9115"; |
---|
590 | 586 | reg = <2 0x0 0x100>; |
---|
591 | 587 | /* |
---|
592 | | - * GPIO7 has interrupt 198 on the PM8058 |
---|
593 | 588 | * The second interrupt is the PME interrupt |
---|
594 | 589 | * for network wakeup, connected to the TLMM. |
---|
595 | 590 | */ |
---|
596 | | - interrupts-extended = <&pm8058 198 IRQ_TYPE_EDGE_FALLING>, |
---|
| 591 | + interrupts-extended = <&pm8058_gpio 7 IRQ_TYPE_EDGE_FALLING>, |
---|
597 | 592 | <&tlmm 29 IRQ_TYPE_EDGE_RISING>; |
---|
598 | 593 | reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>; |
---|
599 | 594 | vdd33a-supply = <&dragon_veth>; |
---|